Repository navigation
Keep Breeze unit tests independent of the CI repository - #75587
Merged
shahar1 merged 1 commit intoOct 25, 2026
Merged
Conversation
Breeze commands read --github-repository from GITHUB_REPOSITORY, so the unit tests that rely on its apache/airflow default fail when CI runs in a contributor's fork. Generated-by: Claude Opus 5
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl and
vatsrahul1001
as code owners
October 24, 2026 21:58
shahar1
approved these changes
Oct 25, 2026
Contributor
Backport successfully created: v3-4-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
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.
Breeze commands read
--github-repositoryfromGITHUB_REPOSITORY. Unit tests that rely on itsapache/airflowdefault pass on project CI only because the variable happens to beapache/airflowthere. In a contributor's fork it is<user>/airflow, so five Breeze unit tests fail and the fork's CI passed check goes red on every pull request (seen in the fork run for #75586: https://github.com/higrys/airflow/actions/runs/40135803573). Fork CI (AIP-120) relies on that run being green.An autouse fixture now unsets
GITHUB_REPOSITORYfor every Breeze test. The two tests that need a repository pass it in their own environment dicts.Checked locally with
GITHUB_REPOSITORY=higrys/airflowset: without the fixture the same five tests fail; with it the Breeze test suite passes (1743 passed, 7 skipped). Fast prek hooks pass.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5) following the guidelines
🤖 Generated with Claude Code