Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
921a92e
Fix publish docs runs-on config (#50280) (#50283)
gopidesupavan May 7, 2025
de3d682
[v3-0-test] Fixing indent while setting finalize tests action (#50289…
github-actions[bot] May 7, 2025
57adf00
[v3-0-test] Bump minor and patch package json dependencies (#50282) (…
github-actions[bot] May 7, 2025
3d10328
[v3-0-test] Add a link to the Airflow logo in Nav (#50304) (#50307)
github-actions[bot] May 7, 2025
1865877
[v3-0-test] Bump Pyspark to even higher version (#50308) (#50311)
github-actions[bot] May 7, 2025
c3a990d
[v3-0-test] Updating operator extra links doc for AF3 (#50197) (#50293)
github-actions[bot] May 8, 2025
05cf27c
[v3-0-test] Split release image into per-python independent matrix of…
github-actions[bot] May 8, 2025
55a3676
[v3-0-test] Move map index column (#50302) (#50347)
github-actions[bot] May 8, 2025
87de9ff
[v3-0-test] Fixes DagProcessor stats log | process durations now use …
github-actions[bot] May 8, 2025
9df1e6c
[v3-0-test] Fix callbacks docs (#50377) (#50381)
github-actions[bot] May 9, 2025
0d4644b
[v3-0-test] Adding backcompat shim for BaseNotifier (#50340) (#50384)
github-actions[bot] May 9, 2025
96c6a6b
[v3-0-test] Add user-defined macros warning to Plugins doc page (#503…
github-actions[bot] May 9, 2025
9f8fa59
[v3-0-test] Limit click to < 8.2.0 for breeze (#50452) (#50460)
potiuk May 11, 2025
4d9bbd4
[v3-0-test] Install sphinx-airflow-theme package from GitHub release …
potiuk May 11, 2025
6e17eee
Docs: Add Airflow Version in Page Title (#50358)
kaxil May 8, 2025
ed240de
Replace DagBag from global app state to with FastAPI dependency (#50372)
kaxil May 9, 2025
79630c7
Use latest bundle version when clearing / re-running dag (#50040)
dstandish May 9, 2025
9fcba71
Port `dag.test` to Task SDK (#50300)
kaxil May 9, 2025
623ce9b
Fix bug with in-process request handling for `dag.test` (#50419)
kaxil May 10, 2025
e9fb9ad
Ensure singleton use of `DagBag` across all API requests (#50447)
kaxil May 12, 2025
30335b9
CLI: Exclude example dags when a bundle is passed (#50401)
kaxil May 9, 2025
0b6bc9a
Support running `airflow dags test` from local files (#50420)
kaxil May 10, 2025
a6bd4c4
Bring back support for local dagbag based list/list-import-errors (#4…
dheerajturaga Apr 20, 2025
6222a4d
Fix typo in fundamentals.rst (#50402)
AzisK May 11, 2025
6a5682f
Fixes border overlaps in events page (#50453)
aritra24 May 11, 2025
2174e45
fix cli clear command (#49631)
vatsrahul1001 Apr 25, 2025
e02088a
[v3-0-test] Fix link to container images in README (#50484) (#50486)
github-actions[bot] May 12, 2025
b941b39
[v3-0-test] Actually, that should be linked to contributing guide (#5…
github-actions[bot] May 12, 2025
1f654e8
[v3-0-test] Fix index to sort by last parsing duration (#50388) (#50493)
github-actions[bot] May 12, 2025
59f5224
[v3-0-test] Better structure of extras documentation (#50495) (#50508)
github-actions[bot] May 12, 2025
4c90d7f
[v3-0-test] Raise exception if downgrade can't proceed due to no `ab_…
github-actions[bot] May 12, 2025
b5db146
[v3-0-test] Add bundle root to sys.path in dag processor (#50385) (#5…
github-actions[bot] May 12, 2025
aed6913
Fix main - Generate FAB assets (#50546)
vincbeck May 13, 2025
30ffc36
Clean-up /mnt disk in case it is not empty (#50549)
potiuk May 13, 2025
1f6d02f
Bump version to 3.0.2
kaxil May 13, 2025
1ac1d90
[v3-0-test] Fix memory leak in dag-processor (#50558) (#50559)
github-actions[bot] May 14, 2025
df94ab9
More diagnostics and more logical name for cleaning up the runner (#5…
potiuk May 13, 2025
d391d02
Another place where we double clean the /mnt drive (#50565)
potiuk May 14, 2025
e1937f0
[v3-0-test] Fix patch_task_instance endpoint (#50550) (#50591)
pierrejeambrun May 14, 2025
f036ca9
[v3-0-test] Move access_denied_message webserver config to fab (#5020…
pierrejeambrun May 14, 2025
d0077d5
[v3-0-test] Fix default_args application in operator partial (#50525)…
github-actions[bot] May 14, 2025
1f08ae3
feat: Add owner_links field to DAGDetailsResponse (#50557) (#50604)
pierrejeambrun May 14, 2025
91d5fd3
Backport 3e03435 v3 0 test (#50608)
potiuk May 14, 2025
d983adf
[v3-0-test] Pre-release distributions documentation links use `staged…
potiuk May 14, 2025
35f4091
[v3-0-test] More diagnostics and more logical name for cleaning up th…
potiuk May 14, 2025
3a07871
[v3-0-test] Add --owerwrite when publishing documentation to S3 (#505…
potiuk May 14, 2025
b665548
[v3-0-test] Move preparing breeze/cleaning before cloning airflow-sit…
potiuk May 14, 2025
ff061cd
[v3-0-test] Remove special tests from finalize's dependency (#49972) …
potiuk May 14, 2025
aaab233
[v3-0-test] Skip provider tests when tests are skipped in general (#4…
potiuk May 14, 2025
6c73ad1
[v3-0-test] Fix basic-tests duplication in dependends in ci.amd (#50615)
potiuk May 14, 2025
f01ae27
[v3-0-test] Move prepare-breeze to the begining of job in publish-doc…
github-actions[bot] May 14, 2025
1680170
Move webserver expose_hostname config to fab (#50269) (#50605)
pierrejeambrun May 14, 2025
4e3f16f
[v3-0-test] Fix permission check on the ui config endpoint (#50564) (…
github-actions[bot] May 15, 2025
800a97a
[v3-0-test] Update upgrading_to_airflow3.rst (#50632) (#50635)
github-actions[bot] May 15, 2025
ef6220f
[v3-0-test] Update default sort for connections and dags (#50600) (#5…
github-actions[bot] May 15, 2025
13d7332
Rename operation IDs for task instance endpoints to include map index…
abhishekbhakat Apr 24, 2025
28cc58f
[v3-0-test] Fixing fab assets generation (#50664) (#50723)
potiuk May 17, 2025
b9934a0
[v3-0-test] Use GitHub API to download constraint files and avoid rat…
github-actions[bot] May 17, 2025
add7789
[v3-0-test] Better description why excluding distributions for PyPI c…
github-actions[bot] May 17, 2025
22f18f5
[v3-0-test] Use Github API to fetch K8S schemas to fix rate limiting …
github-actions[bot] May 17, 2025
3c99668
Fix Airflow Python client generation for 3.0.0 (#50704)
kaxil May 16, 2025
4e84838
Add Pydantic as dep for the Python Client (#50765)
kaxil May 19, 2025
1acc402
[v3-0-test] Fix selective checks failing on breeze dependabot upgrade…
potiuk May 19, 2025
eb92fcd
Update chart dependencies to fix CI on main (#50748) (#50797)
potiuk May 19, 2025
7103513
[v3-0-test] Fetch only the most recent dagrun value used in header. (…
github-actions[bot] May 20, 2025
1985a1a
Fix Python client release steps (#50770)
kaxil May 19, 2025
e6bd4b5
[v3-0-test] Don't auto activate assets in activation tests (#50478) (…
github-actions[bot] May 20, 2025
2e2cffe
[v3-0-test] Upgrade to latest versions of installers and pre-commit (…
github-actions[bot] May 20, 2025
bd74dee
[v3-0-test] Fix Pydantic ``ForwardRef`` error by reordering discrimin…
github-actions[bot] May 20, 2025
765dc50
[v3-0-test] Correctly render dag tags when there are `MAX_TAGS` + 1 t…
amoghrajesh May 20, 2025
15aa1ce
[v3-0-test] Fix dropdowns in accordion and error text colors (#50845)…
github-actions[bot] May 20, 2025
ce9e6b3
[v3-0-test] Update useTableURLState hook for sticky table sort (#5072…
github-actions[bot] May 21, 2025
d77ed10
[v3-0-test] Do not flood worker logs with secrets backend loading log…
github-actions[bot] May 21, 2025
6f4b0b4
[v3-0-test] Fix SQLite Lock error in TestTaskInstancesLog setup (#507…
github-actions[bot] May 21, 2025
78fd347
[v3-0-test] Cadwyn migration for backcompat of `/run` endpoint (#5052…
github-actions[bot] May 21, 2025
86ef17b
[v3-0-test] Fix XCom deserialization for mapped tasks with custom bac…
github-actions[bot] May 21, 2025
ad923b3
[v3-0-test] Support macros defined via plugins in Airflow 3 (#50642) …
amoghrajesh May 21, 2025
c82c4ec
[v3-0-test] Remove doc warning for macros defined via plugins (#50810…
github-actions[bot] May 21, 2025
2eb79f5
Remove unecessary breaking flag in config command (#50781) (#50842)
pierrejeambrun May 21, 2025
cedadc4
[v3-0-test] Generated yaml files should not have licence added (#5083…
github-actions[bot] May 21, 2025
7bdbb4d
Fix fab assets (#50878)
pierrejeambrun May 21, 2025
8148345
[v3-0-test] Do not run FAB pre-commits in release branches (#50875) (…
potiuk May 21, 2025
0f7a15d
[v3-0-test] Fix reading number of dags from direct system providers p…
github-actions[bot] May 21, 2025
1137aac
fix: resolve 404 log error for non-latest task tries in multi-host wo…
jason810496 May 21, 2025
ac8c87f
[v3-0-test] make dag_run nullable in Details page (#50719) (#50817)
github-actions[bot] May 21, 2025
e67537d
Move webserver config to fab provider (#50774) (#50848)
pierrejeambrun May 21, 2025
543aad3
[v3-0-test] Deserialize should work while retrieving variables with s…
github-actions[bot] May 21, 2025
a69e727
[v3-0-test] Stabilize FAB asset compilation (#50829) (#50901)
potiuk May 21, 2025
fad5fb5
Move secret_key config to api section (#50839) (#50894)
pierrejeambrun May 21, 2025
986a2df
[v3-0-test] Always create serdag in dagmaker fixture (#50359) (#50900)
github-actions[bot] May 21, 2025
ce7cc5f
[v3-0-test] Mask variable values in task logs only if the variable ke…
github-actions[bot] May 22, 2025
710aff5
[v3-0-test] Update Airflow 3 migration guide with step about custom o…
github-actions[bot] May 22, 2025
66d4532
[v3-0-test] Make test_dagbag test work locally, not only in Breeze (#…
github-actions[bot] May 22, 2025
ec2f7c9
[v3-0-test] Update config endpoint to use the get interface (#50902) …
pierrejeambrun May 22, 2025
de4ea80
[v3-0-test] Bugfix: Logical date isn't populated in Context vars: (#5…
github-actions[bot] May 22, 2025
4d23d5b
[v3-0-test] Make is_stdout work when sys.stdout does not have a fd (#…
github-actions[bot] May 22, 2025
5402697
[v3-0-test] Isolate celery tests to separate container (#50952) (#50959)
potiuk May 22, 2025
86296fd
[v3-0-test] API handle slashes in variable keys (#50841) (#50874)
github-actions[bot] May 22, 2025
1cd65ea
Move enable_swagger_ui config to api (#50896) (#50946)
pierrejeambrun May 22, 2025
da6a391
[v3-0-test] Move macros to task SDK execution_time module (#50940) (#…
github-actions[bot] May 22, 2025
eaea14f
Fixing failing upgrade checks on main (#50936) (#50974)
amoghrajesh May 22, 2025
ada57b8
[v3-0-test] Increase timeouts for unit tests (#50973) (#50979)
potiuk May 22, 2025
0ac7bf8
Further prune release notes (#50860)
kaxil May 21, 2025
6fc6c25
Port `task.test` to Task SDK (#50827)
kaxil May 20, 2025
1e58743
Port ``ti.run`` to Task SDK execution path (#50141) (#50980)
kaxil May 22, 2025
0d2444c
[v3-0-test] Fix wrong import for PythonOperator in tutorial dag (#509…
github-actions[bot] May 22, 2025
b76ad66
[v3-0-test] Always show backfill button but enable it only on dags wi…
github-actions[bot] May 22, 2025
b2280f9
[v3-0-test] Do not use outdated schedule_interval in tutorial dags (#…
github-actions[bot] May 22, 2025
05ef0f0
[v3-0-test] Bump `uv` to 0.7.7 (#50985) (#50989)
github-actions[bot] May 22, 2025
1bede35
[v3-0-test] Mask secrets when retrieving variables from secrets backe…
github-actions[bot] May 23, 2025
047889e
[v3-0-test] Fetch only the most recent dagrun value for list display.…
github-actions[bot] May 23, 2025
38b2b9c
Restore `short` traceback for pytest failures (#51001)
kaxil May 23, 2025
7364d5e
[v3-0-test] Run image verification in isolated environments (#51029) …
github-actions[bot] May 24, 2025
cb78846
[v3-0-test] Docs `assets.rst`: use `AssetAlias` for alias in `Metadat…
github-actions[bot] May 24, 2025
b088fb5
[v3-0-test] Fix CI status badge (#51032) (#51033)
github-actions[bot] May 24, 2025
da269fc
Notify scheduled run failures on slack for v3-0-test branch (#50996)
amoghrajesh May 25, 2025
15fc1b7
[v3-0-test] Bugfix/fix latest pypi version check (#51039) (#51044)
jscheffl May 25, 2025
6851721
[v3-0-test] Bump UV to 0.7.8 (#51040) (#51046)
github-actions[bot] May 25, 2025
039d1d2
[v3-0-test] Bugfix Breeze BetterChoice with newer click versions (#51…
github-actions[bot] May 25, 2025
c7cb173
[v3-0-test] fix(task_instances): handle upstream_mapped_index when xc…
github-actions[bot] May 26, 2025
fdd3b02
[v3-0-test] Update BulkVariableService to support JSON serialization …
github-actions[bot] May 27, 2025
24d9631
Fix bulk action annotation (#50852) (#51116)
pierrejeambrun May 27, 2025
5c0a908
Revert "fix: resolve 404 log error for non-latest task tries in multi…
pierrejeambrun May 28, 2025
d377664
Fix config templates type (#50792) (#51147)
pierrejeambrun May 28, 2025
68c87d8
[v3-0-test] Link to latest dagrun in Dag header. (#51119) (#51148)
github-actions[bot] May 28, 2025
021106c
[v3-0-test] Fix get dags query to not have join explosion (#50984) (#…
github-actions[bot] May 28, 2025
a2a5d8e
[v3-0-test] Execution api versioning docs (#51186)
amoghrajesh May 29, 2025
7382e5d
[v3-0-test] Mark test_mapped_task_upstream_removed_with_all_failed_..…
github-actions[bot] May 29, 2025
2e493a7
[v3-0-test] Fix deferred task resumption in ``dag.test()`` (#51182) (…
github-actions[bot] May 29, 2025
6150cbe
[v3-0-test] Bring back "standard" example dags to the airflow-core pa…
github-actions[bot] May 29, 2025
d2adc19
[v3-0-test] Significantly speed up Pytest bootstrapping on MacOS in B…
github-actions[bot] May 30, 2025
667e779
[v3-0-test] Faster note on grid endpoint (#51247) (#51251)
github-actions[bot] May 30, 2025
9e85374
[v3-0-test] Handle SIGSEGV signals during DAG file imports (#51171) (…
github-actions[bot] May 30, 2025
f5aa34d
[v3-0-test] Move example_dags in standard provider to example_dags in…
potiuk Jun 1, 2025
804feac
[v3-0-test] Backport gh docs publish breeze workflows (#51286)
gopidesupavan Jun 2, 2025
12c9adb
[v3-0-test] Fix building PROD images with uv (#51277) (#51289)
github-actions[bot] Jun 2, 2025
18a2992
[v3-0-test] Exclude libcst 1.8.0 (no wheels <3.12) (#51120) (#51126)
github-actions[bot] Jun 2, 2025
003525e
[v3-0-test] Add backcompat shim and deprecation warning for EmailOper…
github-actions[bot] Jun 2, 2025
464d6b5
[v3-0-test] Make test_scheduler_job work locally after moving example…
github-actions[bot] Jun 2, 2025
c6049ad
[v3-0-test] Log fallback to None when no XCom value is found (#51285)…
github-actions[bot] Jun 2, 2025
51c2a95
[v3-0-test] Refresh Dag details page on new run (#51173) (#51204)
github-actions[bot] Jun 2, 2025
3fb6183
[v3-0-test] Fix widget error for core hooks (#51168) (#51300)
github-actions[bot] Jun 2, 2025
9d7fcf4
[v3-0-test] Add section to collapse cadwyn migrations during release …
github-actions[bot] Jun 2, 2025
47e0434
[v3-0-test] Prevent CPU spike in task supervisor when heartbeat timeo…
github-actions[bot] Jun 2, 2025
41eeca1
[v3-0-test] Remove PytestReturnNotNoneWarning (#51327) (#51332)
github-actions[bot] Jun 2, 2025
885cb8b
[v3-0-test] Restrict typing-extensions 4.14.0 to fix CI temporarily (…
amoghrajesh Jun 3, 2025
0a74201
[v3-0-test] Add bundle path to sys.path in task runner (#51318) (#51341)
github-actions[bot] Jun 3, 2025
0e2e243
Ensure that both public and ui dags endpoints map to DagService (#512…
pierrejeambrun Jun 3, 2025
c318ef1
[v3-0-test] Add link to cadwyn issue created (#51354) (#51355)
github-actions[bot] Jun 3, 2025
3f241a3
Add "disappearing DAGs" section on FAQ doc (#49987)
rtrindvg Jun 2, 2025
3053fa1
Fix doubel quote mtime in airflow-core/docs/faq.rst (#51293)
gopidesupavan Jun 2, 2025
ea128fb
Remove filtering by last dag run state in patch dags endpoint (#51176…
pierrejeambrun Jun 3, 2025
88451f9
Add basic json check to variable value (#50277)
bbovenzi May 6, 2025
f9fe597
Always Show Trendcount in Dag Overview (#50183)
dominic-lcw May 6, 2025
45ff349
update recommendation for airflow 3 (#50318)
eladkal May 7, 2025
1aeb13d
Fix next asset schedule and dag card UX (#50271)
bbovenzi May 6, 2025
0af64bf
Filter query to update the dag_run table with backfill details, using…
vatsrahul1001 May 14, 2025
16089f9
UI: Implement navigation on bar click (#50416)
RoyLee1224 May 12, 2025
61f3247
Fix timezone selection and dashboard layout (#50463)
guan404ming May 12, 2025
acb116b
Minor typo-fix in doc (#50290)
dheerajturaga May 7, 2025
70a7d5d
Fix the docstring for airflow.sdk.execution_time.superviseor.supervis…
XD-DENG May 20, 2025
a56ab96
Increase max zoom (#50772)
bbovenzi May 19, 2025
4aae982
EmptyOperator raises InvalidURL for non-existing logs (#50325)
zachliu May 21, 2025
9201d55
Fix execution API server URL handling for relative paths in KE (#51183)
kaxil May 29, 2025
8612207
Implement slice on LazyXComSequence (#50117)
uranusjr Jun 2, 2025
c1b000e
Add back invalid inlet and outlet check before running tasks (#50773)
Lee-W Jun 3, 2025
792d8e6
Add Apache Airflow setup instructions for Apple Silicon (#50179)
praneeth552 May 15, 2025
4f17668
Update docs with Airflow 2.11.0 info (#50832)
kaxil May 20, 2025
665b714
Add dates for Limited Maintenance & EOL for Airflow 2.x (#50794)
kaxil May 22, 2025
0794a70
[v3-0-test] Separate configurations for colorized and json logs in Ta…
github-actions[bot] Jun 3, 2025
37fc12c
Fix OpenAPI schema for `get_log` API (#50547) (#51357)
pierrejeambrun Jun 3, 2025
6beae57
[v3-0-test] Update `TaskLogContent` to support virtualized rendering …
github-actions[bot] Jun 3, 2025
7f21c25
[v3-0-test] Allow test migration to pytest 8.4.0 (#51349) (#51359)
potiuk Jun 3, 2025
064fef8
Bump Task SDK to 1.0.2
kaxil Jun 3, 2025
ae68a9d
[v3-0-test] Bump structlog min to 25.4.0 and handle tests accordingly…
github-actions[bot] Jun 3, 2025
9822307
Add Release notes for 3.0.2
kaxil Jun 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/airflow_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ body:
the latest release or main to see if the issue is fixed before reporting it.
multiple: false
options:
- "2.10.5"
- "3.0.0"
- "3.0.1"
- "2.11.0"
- "main (development)"
- "Other Airflow 2 version (please specify below)"
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-pre-commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
default: "3.9"
uv-version:
description: 'uv version to use'
default: "0.7.2" # Keep this comment to allow automatic replacement of uv version
default: "0.7.8" # Keep this comment to allow automatic replacement of uv version
pre-commit-version:
description: 'pre-commit version to use'
default: "4.2.0" # Keep this comment to allow automatic replacement of pre-commit version
Expand Down
25 changes: 15 additions & 10 deletions .github/actions/migration_tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ runs:
- name: "Test migration file 2 to 3 migration: ${{env.BACKEND}}"
shell: bash
run: |
breeze shell "${{ env.AIRFLOW_2_CMD }}" --use-airflow-version 2.10.5 --answer y &&
breeze shell "${{ env.AIRFLOW_3_CMD }}" --no-db-cleanup
breeze shell "${{ env.AIRFLOW_2_CMD }}" --use-airflow-version 2.11.0 --answer y &&
breeze shell "export AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS=${{env.DB_MANGERS}}
${{ env.AIRFLOW_3_CMD }}" --no-db-cleanup
env:
COMPOSE_PROJECT_NAME: "docker-compose"
AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
DB_RESET: "false"
DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
AIRFLOW_2_CMD: >-
airflow db reset --skip-init -y &&
airflow db migrate --to-revision heads
Expand All @@ -46,12 +47,13 @@ runs:
- name: "Test ORM migration 2 to 3: ${{env.BACKEND}}"
shell: bash
run: >
breeze shell "${{ env.AIRFLOW_2_CMD }}" --use-airflow-version 2.10.5 --answer y &&
breeze shell "${{ env.AIRFLOW_3_CMD }}" --no-db-cleanup
breeze shell "${{ env.AIRFLOW_2_CMD }}" --use-airflow-version 2.11.0 --answer y &&
breeze shell "export AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS=${{env.DB_MANGERS}}
${{ env.AIRFLOW_3_CMD }}" --no-db-cleanup
env:
COMPOSE_PROJECT_NAME: "docker-compose"
AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
DB_RESET: "false"
DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
AIRFLOW_2_CMD: >-
airflow db reset -y
AIRFLOW_3_CMD: >-
Expand All @@ -67,13 +69,14 @@ runs:
- name: "Test ORM migration ${{env.BACKEND}}"
shell: bash
run: >
breeze shell "airflow db reset -y &&
breeze shell "export AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS=${{env.DB_MANAGERS}} &&
airflow db reset -y &&
airflow db migrate --to-revision heads &&
airflow db downgrade -n 2.7.0 -y &&
airflow db migrate"
env:
COMPOSE_PROJECT_NAME: "docker-compose"
AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
- name: "Bring compose down again"
shell: bash
run: breeze down
Expand All @@ -82,12 +85,14 @@ runs:
- name: "Test offline migration ${{env.BACKEND}}"
shell: bash
run: >
breeze shell "airflow db reset -y &&
breeze shell
"export AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS=${{env.DB_MANAGERS}} &&
airflow db reset -y &&
airflow db downgrade -n 2.7.0 -y &&
airflow db migrate -s"
env:
COMPOSE_PROJECT_NAME: "docker-compose"
AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
DB_MANAGERS: "airflow.providers.fab.auth_manager.models.db.FABDBManager"
if: env.BACKEND != 'sqlite'
- name: "Bring any containers left down"
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/post_tests_success/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
mkdir ./files/coverage-reports
mv ./files/coverage*.xml ./files/coverage-reports/ || true
- name: "Upload all coverage reports to codecov"
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
env:
CODECOV_TOKEN: ${{ inputs.codecov-token }}
if: env.ENABLE_COVERAGE == 'true' && env.TEST_TYPES != 'Helm' && inputs.python-version != '3.12'
Expand Down
9 changes: 7 additions & 2 deletions .github/actions/prepare_breeze_and_image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,19 @@ outputs:
runs:
using: "composite"
steps:
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
shell: bash
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
use-uv: ${{ inputs.use-uv }}
id: breeze
- name: "Check free space"
shell: bash
run: |
echo "Checking free space!"
df -H
- name: "Restore ${{ inputs.image-type }} docker image ${{ inputs.platform }}:${{ inputs.python }}"
uses: apache/infrastructure-actions/stash/restore@1c35b5ccf8fba5d4c3fdf25a045ca91aa0cbc468
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/additional-ci-image-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/additional-prod-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
python-versions: "[ '${{ inputs.default-python-version }}' ]"
default-python-version: ${{ inputs.default-python-version }}
branch: ${{ inputs.default-branch }}
use-uv: "false"
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
Expand All @@ -88,7 +87,6 @@ jobs:
python-versions: "[ '${{ inputs.default-python-version }}' ]"
default-python-version: ${{ inputs.default-python-version }}
branch: ${{ inputs.default-branch }}
use-uv: "false"
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
Expand All @@ -113,8 +111,6 @@ jobs:
with:
fetch-depth: 2
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare breeze & PROD image: ${{ inputs.default-python-version }}"
uses: ./.github/actions/prepare_breeze_and_image
with:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
# Need to fetch all history for selective checks tests
fetch-depth: 0
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
Expand All @@ -97,8 +97,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
Expand Down Expand Up @@ -194,8 +194,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
Expand Down Expand Up @@ -249,8 +249,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
Expand Down Expand Up @@ -322,8 +322,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/ci-amd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: Fetch incoming commit ${{ github.sha }} with its parent
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -291,7 +291,8 @@ jobs:
packages: read
if: >
needs.build-info.outputs.skip-providers-tests != 'true' &&
needs.build-info.outputs.latest-versions-only != 'true'
needs.build-info.outputs.latest-versions-only != 'true' &&
needs.build-info.outputs.run-tests == 'true'
with:
runners: ${{ needs.build-info.outputs.amd-runners }}
platform: "linux/amd64"
Expand Down Expand Up @@ -789,10 +790,9 @@ jobs:
- additional-prod-image-tests
- basic-tests
- build-info
- basic-tests
- generate-constraints
- build-prod-images
- ci-image-checks
- generate-constraints
- providers
- tests-helm
- tests-integration-system
Expand All @@ -803,7 +803,7 @@ jobs:
- tests-non-db-providers
- tests-postgres-core
- tests-postgres-providers
- tests-special
# - tests-special
- tests-sqlite-core
- tests-sqlite-providers
- tests-task-sdk
Expand All @@ -829,8 +829,6 @@ jobs:

notify-slack-failure:
name: "Notify Slack on Failure"
needs:
- finalize-tests
if: github.event_name == 'schedule' && failure() && github.run_attempt == 1
runs-on: ["ubuntu-22.04"]
steps:
Expand All @@ -843,12 +841,12 @@ jobs:
# yamllint disable rule:line-length
payload: |
channel: "internal-airflow-ci-cd"
text: "🚨🕒 Scheduled CI Failure Alert (AMD) 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
blocks:
- type: "section"
text:
type: "mrkdwn"
text: "🚨🕒 Scheduled CI Failure Alert (AMD) 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
# yamllint enable rule:line-length

summarize-warnings:
Expand All @@ -864,8 +862,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Free up disk space"
shell: bash
run: ./scripts/tools/free_up_disk_space.sh
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/ci-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: Fetch incoming commit ${{ github.sha }} with its parent
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -549,8 +549,6 @@ jobs:

notify-slack-failure:
name: "Notify Slack on Failure"
needs:
- finalize-tests
if: github.event_name == 'schedule' && failure() && github.run_attempt == 1
runs-on: ["ubuntu-22.04"]
steps:
Expand All @@ -563,10 +561,10 @@ jobs:
# yamllint disable rule:line-length
payload: |
channel: "internal-airflow-ci-cd"
text: "🚨🕒 Scheduled CI Failure Alert (ARM) 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
blocks:
- type: "section"
text:
type: "mrkdwn"
text: "🚨🕒 Scheduled CI Failure Alert (ARM) 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
# yamllint enable rule:line-length
4 changes: 2 additions & 2 deletions .github/workflows/ci-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare and cleanup runner"
run: ./scripts/ci/prepare_and_cleanup_runner.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
with:
Expand Down
22 changes: 9 additions & 13 deletions .github/workflows/ci-image-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ jobs:
id-token: write
contents: read
needs: build-docs
runs-on: ${{ fromJSON(inputs.runs-on-as-json-docs-build) }}
runs-on: ${{ fromJSON(inputs.runners) }}
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -331,35 +331,33 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Prepare breeze & CI image: ${{ inputs.default-python-version }}"
uses: ./.github/actions/prepare_breeze_and_image
with:
platform: ${{ inputs.platform }}
python: ${{ inputs.default-python-version }}
use-uv: ${{ inputs.use-uv }}
- name: "Download docs prepared as artifacts"
uses: actions/download-artifact@v4
with:
name: airflow-docs
path: './generated/_build'
- name: Check disk space available
run: df -h
run: df -H
- name: Create /mnt/airflow-site directory
run: sudo mkdir -p /mnt/airflow-site && sudo chown -R "${USER}" /mnt/airflow-site
- name: "Clone airflow-site"
run: >
git clone https://github.com/apache/airflow-site.git /mnt/airflow-site/airflow-site &&
echo "AIRFLOW_SITE_DIRECTORY=/mnt/airflow-site/airflow-site" >> "$GITHUB_ENV"
- name: "Prepare breeze & CI image: ${{ inputs.default-python-version }}"
uses: ./.github/actions/prepare_breeze_and_image
with:
platform: ${{ inputs.platform }}
python: ${{ inputs.default-python-version }}
use-uv: ${{ inputs.use-uv }}
- name: "Publish docs"
env:
DOCS_LIST_AS_STRING: ${{ inputs.docs-list-as-string }}
run: >
breeze release-management publish-docs --override-versioned --run-in-parallel
${DOCS_LIST_AS_STRING}
- name: Check disk space available
run: df -h
run: df -H
- name: "Generate back references for providers"
run: breeze release-management add-back-references all-providers
- name: "Generate back references for apache-airflow"
Expand Down Expand Up @@ -409,8 +407,6 @@ jobs:
with:
fetch-depth: 2
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
Expand Down
Loading
Loading