Skip to content

Commit 1c69759

Browse files
committed
Merge branch 'main' into ramitkataria/deadlines/async-notifiers
2 parents 90901aa + 4842f05 commit 1c69759

File tree

429 files changed

+13045
-6217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+13045
-6217
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ airflow-core/src/airflow/ui/public/i18n/locales/pl/ @potiuk @mobuchowski # + @ka
4848
airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/ @Lee-W @jason810496 # + @RoyLee1224 @guan404ming
4949
airflow-core/src/airflow/ui/public/i18n/locales/fr/ @pierrejeambrun @vincbeck
5050
airflow-core/src/airflow/ui/public/i18n/locales/tr/ @bugraoz93 # +@hasancatalgol
51+
airflow-core/src/airflow/ui/public/i18n/locales/hi/ @vatsrahul1001
5152

5253
# Security/Permissions
5354
/airflow-core/src/airflow/security/permissions.py @vincbeck

.github/actions/install-prek/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ inputs:
2424
default: "3.10"
2525
uv-version:
2626
description: 'uv version to use'
27-
default: "0.8.12" # Keep this comment to allow automatic replacement of uv version
27+
default: "0.8.13" # Keep this comment to allow automatic replacement of uv version
2828
prek-version:
2929
description: 'prek version to use'
30-
default: "0.1.1" # Keep this comment to allow automatic replacement of prek version
30+
default: "0.1.3" # Keep this comment to allow automatic replacement of prek version
3131
skip-prek-hooks:
3232
description: "Skip some prek hooks from installation"
3333
default: ""
@@ -37,14 +37,14 @@ inputs:
3737
runs:
3838
using: "composite"
3939
steps:
40-
- name: Install prek and uv
40+
- name: Install uv and prek
4141
shell: bash
4242
env:
4343
UV_VERSION: ${{inputs.uv-version}}
4444
PREK_VERSION: ${{inputs.prek-version}}
4545
SKIP: ${{ inputs.skip-prek-hooks }}
4646
run: |
47-
pip install uv==${UV_VERSION} || true
47+
curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
4848
uv tool install prek==${PREK_VERSION} --with uv==${UV_VERSION}
4949
working-directory: ${{ github.workspace }}
5050
# We need to use tar file with archive to restore all the permissions and symlinks

.github/boring-cyborg.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ labelPRBasedOnFilePath:
357357
- providers/**/docs/**/*
358358
- providers-summary-docs/**/*
359359
- docker-stack-docs/**/*
360+
- airflow-ctl/docs/**/*
360361

361362
area:helm-chart:
362363
- chart/**/*
@@ -386,6 +387,9 @@ labelPRBasedOnFilePath:
386387
translation:he:
387388
- airflow-core/src/airflow/ui/public/i18n/locales/he/*
388389

390+
translation:hi:
391+
- airflow-core/src/airflow/ui/public/i18n/locales/hi/*
392+
389393
translation:ko:
390394
- airflow-core/src/airflow/ui/public/i18n/locales/ko/*
391395

.github/workflows/basic-tests.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ on: # yamllint disable-line rule:truthy
4848
description: "Which version of python should be used by default"
4949
required: true
5050
type: string
51+
shared-distributions-as-json:
52+
description: "Json array of shared distributions to run tests for"
53+
required: true
54+
type: string
5155
canary-run:
5256
description: "Whether to run canary tests (true/false)"
5357
required: true
@@ -60,6 +64,10 @@ on: # yamllint disable-line rule:truthy
6064
description: "Whether to use uv in the image"
6165
required: true
6266
type: string
67+
uv-version:
68+
description: 'uv version to use'
69+
default: "0.8.13" # Keep this comment to allow automatic replacement of uv version
70+
type: string
6371
platform:
6472
description: 'Platform for the build - linux/amd64 or linux/arm64'
6573
required: true
@@ -86,6 +94,27 @@ jobs:
8694
uses: ./.github/actions/breeze
8795
- run: uv tool run --from apache-airflow-breeze pytest -n auto --color=yes
8896
working-directory: ./dev/breeze/
97+
tests-shared-distributions:
98+
timeout-minutes: 10
99+
name: Shared ${{ matrix.shared-distribution }} tests
100+
strategy:
101+
fail-fast: false
102+
matrix:
103+
shared-distribution: ${{ fromJSON(inputs.shared-distributions-as-json) }}
104+
runs-on: ${{ fromJSON(inputs.runners) }}
105+
env:
106+
UV_VERSION: ${{inputs.uv-version}}
107+
steps:
108+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
109+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110+
with:
111+
fetch-depth: 1
112+
persist-credentials: false
113+
- name: "Install uv"
114+
run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
115+
- name: "Run shared secrets masker tests"
116+
run: uv run --group dev pytest --color=yes -n auto
117+
working-directory: shared/${{ matrix.shared-distribution }}
89118
tests-ui:
90119
timeout-minutes: 15
91120
name: React UI tests
@@ -228,7 +257,7 @@ jobs:
228257
test-git-clone-on-windows:
229258
timeout-minutes: 5
230259
name: "Test git clone on Windows"
231-
runs-on: ["windows-latest"]
260+
runs-on: ["windows-2025"]
232261
steps:
233262
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
234263
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/ci-amd.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
run-www-tests: ${{ steps.selective-checks.outputs.run-www-tests }}
122122
selected-providers-list-as-string: >-
123123
${{ steps.selective-checks.outputs.selected-providers-list-as-string }}
124+
shared-distributions-as-json: ${{ steps.selective-checks.outputs.shared-distributions-as-json }}
124125
skip-prek-hooks: ${{ steps.selective-checks.outputs.skip-prek-hooks }}
125126
skip-providers-tests: ${{ steps.selective-checks.outputs.skip-providers-tests }}
126127
source-head-repo: ${{ steps.source-run-info.outputs.head-repo }}
@@ -176,19 +177,13 @@ jobs:
176177
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
177178
with:
178179
persist-credentials: false
179-
- name: "Install Python 3.11 as 3.11+ is needed by pin-versions"
180-
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
180+
- name: "Install prek"
181+
uses: ./.github/actions/install-prek
182+
id: prek
181183
with:
182-
python-version: 3.11
183-
cache: "pip"
184-
- name: Install prek, uv
185-
shell: bash
186-
env:
187-
UV_VERSION: "0.8.12" # Keep this comment to allow automatic replacement of uv version
188-
PREK_VERSION: "0.1.1" # Keep this comment to allow automatic replacement of prek version
189-
run: |
190-
pip install uv==${UV_VERSION} || true
191-
uv tool install prek==${PREK_VERSION} --with uv==${UV_VERSION}
184+
# octopin needs python 3.11
185+
python-version: "3.11"
186+
platform: "linux/amd64"
192187
- name: "Run pin-versions"
193188
run: >
194189
prek -c .github/.pre-commit-config.yaml --all-files --verbose --hook-stage manual
@@ -212,6 +207,7 @@ jobs:
212207
latest-versions-only: ${{needs.build-info.outputs.latest-versions-only}}
213208
use-uv: ${{needs.build-info.outputs.use-uv}}
214209
platform: "linux/amd64"
210+
shared-distributions-as-json: ${{needs.build-info.outputs.shared-distributions-as-json}}
215211

216212
build-ci-images:
217213
name: Build CI images

.github/workflows/ci-arm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
run-www-tests: ${{ steps.selective-checks.outputs.run-www-tests }}
115115
selected-providers-list-as-string: >-
116116
${{ steps.selective-checks.outputs.selected-providers-list-as-string }}
117+
shared-distributions-as-json: ${{ steps.selective-checks.outputs.shared-distributions-as-json }}
117118
skip-prek-hooks: ${{ steps.selective-checks.outputs.skip-prek-hooks }}
118119
skip-providers-tests: ${{ steps.selective-checks.outputs.skip-providers-tests }}
119120
source-head-repo: ${{ steps.source-run-info.outputs.source-head-repo }}
@@ -175,6 +176,7 @@ jobs:
175176
latest-versions-only: ${{needs.build-info.outputs.latest-versions-only}}
176177
use-uv: ${{needs.build-info.outputs.use-uv}}
177178
platform: "linux/arm64"
179+
shared-distributions-as-json: ${{needs.build-info.outputs.shared-distributions-as-json}}
178180

179181
build-ci-images:
180182
name: Build CI images

.github/workflows/ci-image-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ jobs:
373373
run: breeze release-management add-back-references docker-stack
374374
- name: "Generate back references for helm-chart"
375375
run: breeze release-management add-back-references helm-chart
376+
- name: "Generate back references for apache-airflow-ctl"
377+
run: breeze release-management add-back-references apache-airflow-ctl
376378
- name: "Validate published doc versions"
377379
id: validate-docs-versions
378380
run: cd ./dev/breeze && uv run ./src/airflow_breeze/utils/docs_version_validation.py

.github/workflows/publish-docs-to-s3.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ jobs:
101101
"kaxil",
102102
"pierrejeambrun",
103103
"potiuk",
104-
"utkarsharma2"
104+
"utkarsharma2",
105+
"bugraoz93"
105106
]'), github.event.sender.login)
106107
steps:
107108
- name: "Input parameters summary"

.github/workflows/release_dockerhub_image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
AIRFLOW_VERSION: ${{ github.event.inputs.airflowVersion }}
5959
AMD_ONLY: ${{ github.event.inputs.amdOnly }}
6060
LIMIT_PYTHON_VERSIONS: ${{ github.event.inputs.limitPythonVersions }}
61+
UV_VERSION: "0.8.13" # Keep this comment to allow automatic replacement of uv version
6162
if: contains(fromJSON('[
6263
"ashb",
6364
"eladkal",
@@ -89,7 +90,7 @@ jobs:
8990
- name: "Prepare and cleanup runner"
9091
run: ./scripts/ci/prepare_and_cleanup_runner.sh
9192
- name: "Install uv"
92-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
93+
run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
9394
- name: "Check airflow version"
9495
id: check-airflow-version
9596
shell: bash

0 commit comments

Comments
 (0)