Skip to content

Stop backporting the scheduled CI environment upgrade - #73319

Merged
shahar1 merged 1 commit into
mainfrom
strip-backport-labels-from-upgrade-prs
Sep 18, 2026
Merged

shahar1 merged 1 commit into
mainfrom
strip-backport-labels-from-upgrade-prs

Conversation

@potiuk

@potiuk potiuk commented Sep 18, 2026

Copy link
Copy Markdown
Member

Each maintenance branch upgrades its own CI environment on its own schedule, so backporting main's upgrade would race that with a change conflicting on the very files it regenerates.

It already does not work. #73233, #73114, #72314 and #72091 all carried backport-to-v3-3-test and none of them produced a backport, while backport-<sha>-v3-3-test PRs exist for other changes — so the machinery is fine, these were failing silently, almost certainly on uv.lock. .github/boring-cyborg.yml labels by path and cannot tell a generated upgrade PR from a hand-written change touching dev/ or .github/, so the label has to come off afterwards.

Two layers, because one is not enough:

  • breeze ci upgrade drops the labels right after creating the PR.
  • upgrade-check.yml sweeps again once the PR has settled. This is the one that usually does the work: boring-cyborg labels on a webhook and breeze exits a second or two after creating the PR, so the first pass often runs before the label exists. automatic-backport.yml waits for the same reason.

Both degrade quietly rather than failing a run whose branch is already pushed: an unreadable label list means nothing is edited (never guess and edit blindly), and a failed edit warns.

Only backport-to-* labels are touched; everything boring-cyborg adds for area and provider is left alone.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5)

Generated-by: Claude Code (Opus 5) following the guidelines

Each maintenance branch upgrades its own CI environment on its own
schedule, so backporting main's upgrade races that with a change that
conflicts on the very files it regenerates — which is why none of the
labelled upgrade PRs has ever produced a backport. boring-cyborg labels
by path and cannot tell this PR from a hand-written one touching dev/ or
.github/, so the label has to come off afterwards instead.

Generated-by: Claude Code (Opus 5)
@shahar1
shahar1 merged commit 613c9d3 into main Sep 18, 2026
157 checks passed
@shahar1
shahar1 deleted the strip-backport-labels-from-upgrade-prs branch September 18, 2026 15:42
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-3-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-3-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 613c9d3 v3-3-test

This should apply the commit to the v3-3-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

potiuk added a commit that referenced this pull request Sep 24, 2026
… (#73668)

* Stop backporting the scheduled CI environment upgrade (#73319)

Each maintenance branch upgrades its own CI environment on its own
schedule, so backporting main's upgrade races that with a change that
conflicts on the very files it regenerates — which is why none of the
labelled upgrade PRs has ever produced a backport. boring-cyborg labels
by path and cannot tell this PR from a hand-written one touching dev/ or
.github/, so the label has to come off afterwards instead.

Generated-by: Claude Code (Opus 5)
(cherry picked from commit 613c9d3)

* Raise curated dependency floors in ci upgrade runs (#73657)

* Add dependency floor policy configuration

Generated-by: Claude Opus 5

* Find curated dependency requirements and held-back packages

Generated-by: Claude Opus 5

* Select dependency floor targets outside the cooldown

Generated-by: Claude Opus 5

* Rewrite dependency floors in pyproject files

Generated-by: Claude Opus 5

* Roll back dependency floor bumps that break resolution

Generated-by: Claude Opus 5

* Add upgrade-dependency-floors manual hook

Generated-by: Claude Opus 5

* Raise curated dependency floors in breeze ci upgrade

Generated-by: Claude Opus 5

* Document automatic dependency floor bumps

Generated-by: Claude Opus 5

* Harden dependency floor bumps after review

Floors of workspace members with their own uv.lock (dev/breeze) are left
alone, since the root resolve check does not cover that lock. A rollback
restores only the occurrences a bump changed, a bump applies to all its
files or none, malformed PyPI data skips only the affected package, an
aborted run still leaves a note in the PR body, and an already-open
upgrade PR gets the body of the latest run.

Generated-by: Claude Opus 5

* Address remaining review notes on dependency floor bumps

Maintainers read the upgrade PR to see what moved, so the report now
names the files behind each raised floor. Caps set only in the root
[tool.uv] tables are honoured, an unreachable PyPI no longer stalls the
run for every curated package, and the report's temporary directory is
cleaned up.

Generated-by: Claude Opus 5
(cherry picked from commit 7bf71cd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants