164 Commits

Author SHA1 Message Date
Wei Lee
526768d721 [main] Upgrade important CI environment (#64239) 2026-03-26 17:50:21 +08:00
Kaxil Naik
39e01a2d3a Bump Node.js to 24 and upgrade actions to Node.js 24 runtimes (#64021) 2026-03-21 09:31:53 +01:00
dependabot[bot]
79c5ca3807 chore(deps): bump the github-actions-updates group with 4 updates (#64007)
Bumps the github-actions-updates group with 4 updates: [pnpm/action-setup](https://github.com/pnpm/action-setup), [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action), [actions/download-artifact](https://github.com/actions/download-artifact) and [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).


Updates `pnpm/action-setup` from 4.2.0 to 5.0.0
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](41ff726559...fc06bc1257)

Updates `slackapi/slack-github-action` from 2.1.1 to 3.0.1
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](91efab103c...af78098f53)

Updates `actions/download-artifact` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](70fc10c6e5...3e5f45b2cf)

Updates `astral-sh/setup-uv` from 7.4.0 to 7.6.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](6ee6290f1c...37802adc94)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions-updates
- dependency-name: slackapi/slack-github-action
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions-updates
- dependency-name: actions/download-artifact
  dependency-version: 8.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-updates
- dependency-name: astral-sh/setup-uv
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-20 22:41:31 +01:00
Aaron Chen
124990c21c CI: Upgrade important CI environment (#63953) 2026-03-20 09:04:32 +01:00
Jarek Potiuk
e49d6c0994 Add cooldown period to upgrade-important-versions check (#63606)
When UPGRADE_COOLDOWN_DAYS is set, the upgrade check will not fail
if there was a recent "Upgrade important" commit within the cooldown
period. This prevents noisy CI failures when versions were recently
addressed. The CI workflow sets a 4-day cooldown matching the existing
prek autoupdate cooldown.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 18:19:11 +01:00
Jarek Potiuk
4395fe9477 Add tests for scripts and remove redundant sys.path.insert calls (#63598)
* Add tests for scripts and remove redundant sys.path.insert calls

- Remove 85 redundant `sys.path.insert(0, str(Path(__file__).parent.resolve()))`
  calls from scripts in ci/prek/, cov/, and in_container/. Python already
  adds the script's directory to sys.path when running a file directly,
  making these calls unnecessary.
- Keep 6 cross-directory sys.path.insert calls that are genuinely needed
  (AIRFLOW_CORE_SOURCES_PATH, AIRFLOW_ROOT, etc.).
- Add __init__.py files to scripts/ci/ and scripts/ci/prek/ to make them
  proper Python packages.
- Add scripts/pyproject.toml with package discovery and pytest config.
- Add 176 tests covering: common_prek_utils (insert_documentation,
  check_list_sorted, get_provider_id_from_path, ConsoleDiff, etc.),
  new_session_in_provide_session, check_deprecations, unittest_testcase,
  changelog_duplicates, newsfragments, checkout_no_credentials, and
  check_order_dockerfile_extras.
- Add scripts tests to CI: new SCRIPTS_FILES file group in selective
  checks, run-scripts-tests output, and tests-scripts job in
  basic-tests.yml.
- Document scripts as a workspace distribution in CLAUDE.md.

* Add pytest as dev dependency for scripts distribution

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Use devel-common instead of pytest for scripts dev dependencies

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix xdist test collection order for newsfragment tests

Sort the VALID_CHANGE_TYPES set when passing to parametrize to ensure
deterministic test ordering across xdist workers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update scripts/ci/prek/changelog_duplicates.py

Co-authored-by: Dev-iL <6509619+Dev-iL@users.noreply.github.com>

* Refactor scripts tests: convert setup methods to fixtures and extract constants

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Dev-iL <6509619+Dev-iL@users.noreply.github.com>
2026-03-14 17:22:46 +01:00
Jarek Potiuk
0d2f4cf9df CI: Upgrade important CI environment (#63593) 2026-03-14 14:09:33 +01:00
Henry Chen
1fd89e0e3a CI: Upgrade important CI environment (#63169) 2026-03-09 10:23:39 +01:00
Jarek Potiuk
8ee322e6a7 Add breeze pr auto-triage command (#62682)
Add a new Breeze CLI command that helps maintainers efficiently triage
open PRs from non-collaborators that don't meet minimum quality criteria.

The command fetches open PRs via GitHub GraphQL API with optimized chunked
queries, runs deterministic CI checks (failures, merge conflicts, missing
test workflows), optionally runs LLM-based quality assessment, and presents
flagged PRs interactively for maintainer review with author profiles and
contribution history.

Key features:
- Optimized GraphQL queries with chunking to avoid GitHub timeout errors
- Deterministic CI failure detection with categorized fix instructions
- LLM assessment via `claude` or `codex` CLI for content quality
- Interactive review with Rich panels, clickable links, and author context
- "maintainer-accepted" label to skip PRs on future runs
- Workflow approval support for first-time contributor PRs awaiting CI runs
- Merge conflict and commits-behind detection with rebase guidance



Update dev/breeze/src/airflow_breeze/commands/pr_commands.py



Update dev/breeze/src/airflow_breeze/utils/llm_utils.py



Update contributing-docs/05_pull_requests.rst

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-08 20:35:58 +01:00
dependabot[bot]
02d0cfddcf chore(deps): bump actions/checkout from 4.2.2 to 6.0.2 (#63121)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...de0fac2e45)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 19:10:37 +01:00
dependabot[bot]
7cb4b153c3 chore(deps): bump actions/setup-node from 4.4.0 to 6.3.0 (#63131)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.4.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](49933ea528...53b83947a5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 19:02:52 +01:00
dependabot[bot]
db2e1505d6 chore(deps): bump actions/setup-java from 4.7.1 to 5.2.0 (#63095)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.7.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](c5195efecf...be666c2fcd)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 15:31:10 +01:00
dependabot[bot]
68d4c220ab chore(deps): bump pnpm/action-setup from 4.0.0 to 4.2.0 (#63066)
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4.0.0 to 4.2.0.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](fe02b34f77...41ff726559)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 15:22:16 +01:00
Jarek Potiuk
fdddc18137 Vendor K8s JSON schemas for helm tests and add multi-version validation (#62820)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:51:02 +01:00
Jarek Potiuk
85a5a61844 CI: Replace curl-based uv installation with pip install from PyPI (#62619)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 14:39:44 +01:00
Jarek Potiuk
0699930e26 CI: Upgrade important CI environment (#62610) 2026-02-28 08:51:07 +01:00
Jarek Potiuk
94e189618a Fix all build-system/requires including transitive dependencies (#62570)
* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with https://github.com/pypa/hatch/issues/2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 21:05:52 +01:00
Henry Chen
f64097f18c CI: Upgrade important CI environment (#62531) 2026-02-26 21:37:22 +01:00
Wei Lee
fca919a148 CI: Upgrade important CI environment (#62394) 2026-02-24 22:56:00 +09:00
Bugra Ozturk
4c2cb7caa8 CI: Upgrade important CI environment (#62191) 2026-02-19 22:53:28 +01:00
GPK
3060cea117 Fix breeze ui check-translation-completeness verification in ci (#61885) 2026-02-13 22:42:02 +00:00
Jarek Potiuk
ef4941fe16 CI: Upgrade important CI environment (#61748) 2026-02-10 23:57:40 +01:00
Jarek Potiuk
5953b82440 Skip SVN operations in CI environment (#61660)
The release candidate commands were failing in CI because SVN operations
require credentials and network access to the ASF SVN repository.

This change detects when running in CI (via CI environment variable) and
simulates SVN operations instead of executing them:
- svn checkout: creates empty directory structure
- svn mkdir: uses regular mkdir
- svn add/commit/rm: prints simulation messages

This allows the release candidate workflow to be validated in CI without
requiring SVN access, while preserving full functionality in production.
2026-02-09 09:51:01 +01:00
Dev-iL
bfaf4ffc48 Remove flaky "Download GPG keys" step from CI (#61652)
The run-breeze-integration-tests job in .github/workflows/basic-tests.yml (line 122-125) downloads GPG keys from https://dist.apache.org/repos/dist/release/airflow/KEYS via wget. This network call frequently fails when the Apache SVN infrastructure is under high load, causing the CI step to fail (the || true only covers gpg --import, not wget itself).

The only consumer of these imported GPG keys is one integration test class: TestValidateSignaturesIntegration in dev/breeze/tests/test_airflow_release_validator_integration.py:199-217. This test already handles missing keys gracefully — when gpg --verify fails due to missing public keys, the test asserts that the failure details contain hints about downloading keys, and the test passes either way.
2026-02-08 22:44:55 +01:00
Elad Kalif
5e87514c4e Bump uv to 0.10.0 (#61586) 2026-02-07 12:01:11 +01:00
Pratiksha
1d006c6484 [main] Upgrade important CI environment (#61482) 2026-02-05 17:16:07 +05:30
Jens Scheffler
8d9ba565fa CI: Upgrade important CI environment (#61417)
* CI: Upgrade important CI environment

* Exclude ASYNC240 rule
2026-02-04 00:10:02 +01:00
Amogh Desai
7fd9304213 [main] Upgrade important CI environment (#61276) 2026-01-31 13:36:56 +05:30
Rahul Vats
7790482e7a update version for release command (#61260) 2026-01-30 21:09:36 +05:30
Shahar Epstein
2411babea8 Improve PMC RC verification automation for airflow distribution (#60993)
Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>
2026-01-30 10:39:57 +02:00
Bugra Ozturk
720c041a8b CI: Upgrade important CI environment (#60613) 2026-01-16 00:02:31 +01:00
Bugra Ozturk
e943d588e7 CI: Upgrade important CI environment (#60552) 2026-01-14 23:11:33 +01:00
Jarek Potiuk
f94039b365 Get rid of the bleeding edge of our prek-hooks (#60452)
Finally the Lucas-C pre-commit hook and octopin repo got released with changes
we need so we can get rid of bleeding-edge.
2026-01-14 16:17:25 +01:00
Jarek Potiuk
9479de9802 CI: Upgrade important CI environment (#60365) 2026-01-10 10:59:40 +01:00
Rahul Vats
e57340baec update version for release test command + allowing svn checkout even for dry run (#60309) 2026-01-09 11:22:36 +05:30
Bugra Ozturk
e7fa55dcb3 Update version of Test Release command (#60289) 2026-01-08 22:07:09 +01:00
Jarek Potiuk
898045f11e Add missing "^" in --from-ref of basic static checks (#60202)
When we switched to prek in #54258, we accidentally missed the
`^` after from ref - which turned the basic checks to do checks on
empty set of changes.
2026-01-07 10:20:05 +01:00
Jarek Potiuk
b3d310783b CI: Upgrade important CI environment (#60174) 2026-01-06 20:40:47 +01:00
Jens Scheffler
cf8acef006 CI: Upgrade important CI environment (#60032) 2026-01-02 10:52:59 +05:30
anishgirianish
c273d8d142 Breeze: keep OpenAPI Generator version in sync during CI upgrades (#59862)
* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
2025-12-29 10:42:37 +01:00
Bugra Ozturk
9815da821f CI: Upgrade important CI environment (#59617) 2025-12-18 23:39:35 +01:00
Bugra Ozturk
c998c94169 Update release version to 3.1.1 and improve error handling in SVN access (#59531) 2025-12-16 23:29:48 +01:00
Ankit Chaurasia
f74c105741 Fix GitHub Actions workflow: remove unsupported --previous-release option (#59499) 2025-12-16 10:41:23 +01:00
Bugra Ozturk
551ad63002 Amend updated breeze param (#59483) 2025-12-16 02:18:37 +01:00
Jarek Potiuk
cd83236293 aDd cooldown days for prek autoupgrade. (#59395)
Prek 0.2.22 added the new feature that pretty much everyone adds
now after all shei-hulud attacks to get some cooldown period
of upgrades, to give chance for github scanners and "bleeding edge"
users to find out tha there are some malicious modifications.

This PR adds cooldown period to prek auto-upgrade in our CI
for `breeze ci upgrade` method.
2025-12-14 09:36:08 +01:00
Wei Lee
23ab73adf0 build: upgrade uv to 0.9.17, prek to 0.2.21, ruff to 0.14.9 (#59350) 2025-12-12 11:13:54 +05:30
Bugra Ozturk
6b4867e816 Update uv version to 0.9.16 (#59138)
* Update uv version to 0.9.16

* Update uv version to 0.9.16
2025-12-06 21:01:17 +01:00
Amogh Desai
cd255d7bff Bump ruff to 0.14.8, uv to 0.9.15 (#59058) 2025-12-04 20:48:32 +01:00
Jarek Potiuk
d490d09fc1 CI: Upgrade important CI environment (#58915) 2025-12-02 10:58:55 +01:00
Jarek Potiuk
9917a04c0c Add mprocs upgrade check to upgrade_important_versions (#58723)
Used the opportunity to refactor and restructure the script to
be much more readable and maintainable.
2025-11-28 18:17:44 +01:00