Fix release dry-run fails with a non-existing workflow - #71131
Merged
potiuk merged 1 commit intoAug 6, 2026
Conversation
FrankYang0529
force-pushed
the
claude/airflow-release-dry-run-fix-9df7e4
branch
2 times, most recently
from
August 5, 2026 06:43
58cd344 to
dd31ce6
Compare
FrankYang0529
force-pushed
the
claude/airflow-release-dry-run-fix-9df7e4
branch
from
August 5, 2026 23:09
dd31ce6 to
6ce5fb3
Compare
Signed-off-by: PoAn Yang <payang@apache.org>
FrankYang0529
force-pushed
the
claude/airflow-release-dry-run-fix-9df7e4
branch
from
August 6, 2026 00:28
6ce5fb3 to
0c38b15
Compare
FrankYang0529
marked this pull request as ready for review
August 6, 2026 01:37
FrankYang0529
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl,
potiuk and
vatsrahul1001
as code owners
August 6, 2026 01:37
potiuk
approved these changes
Aug 6, 2026
Contributor
Backport successfully created: v3-3-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
github-actions Bot
pushed a commit
to aws-mwaa/upstream-to-airflow
that referenced
this pull request
Aug 6, 2026
…ispatched (apache#71131) (cherry picked from commit de5c819) Co-authored-by: PoAn Yang <payang@apache.org> Signed-off-by: PoAn Yang <payang@apache.org>
aws-airflow-bot
pushed a commit
to aws-mwaa/upstream-to-airflow
that referenced
this pull request
Aug 6, 2026
…ispatched (apache#71131) (cherry picked from commit de5c819) Co-authored-by: PoAn Yang <payang@apache.org> Signed-off-by: PoAn Yang <payang@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Basic tests / Test Airflow release commandshas failed on every canary run ofmainon both AMD and ARM.start-rc-processwastag_and_push_constraints(): a localgit checkout,git tagandgit pushthroughrun_command(). A dry run prints those and moves on.generate_and_push_constraints()→publish_constraints()→trigger_workflow_and_monitor(), which dispatches therelease-constraintsworkflow and then has to locate the run it created and poll it to completion.run_gh_command()short-circuits a dry run: it returns a synthetic success with empty output.get_workflow_run_id()then goes looking for the run. Therun_gh_command()short-circuitsgh run listin the same way. Theget_workflow_run_id()gets an empty string and exits 1 with "No workflow runs found."How
trigger_workflow_and_monitor()returns right after the dispatch in a dry run.Verification
uv run --project dev/breeze --frozen --no-sync pytest dev/breeze/tests/test_gh_workflow_utils.py dev/breeze/tests/test_release_constraints.py dev/breeze/tests/test_workflow_commands.py -venv CI=true GITHUB_REPOSITORY=apache/airflow breeze release-management start-rc-process --version 3.2.0rc1 --previous-version 3.1.0 --task-sdk-version 1.1.0rc1 --sync-branch v3-2-test --answer yes --dry-runWas generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.