Fix Breeze unit tests for milestone tagging#63031
Open
Ironankit525 wants to merge 1 commit intoapache:mainfrom
Open
Fix Breeze unit tests for milestone tagging#63031Ironankit525 wants to merge 1 commit intoapache:mainfrom
Ironankit525 wants to merge 1 commit intoapache:mainfrom
Conversation
The GITHUB_REPOSITORY environment variable is set in the CI pipeline to the repository fork (e.g. Ironankit525/airflow). This overrides the default value of 'apache/airflow' in the option_github_repository of the Breeze CLI. This causes the test assertions to fail when they expect the comment URL to use 'apache/airflow' but it actually uses the fork repository. This commit explicitly passes '--github-repository apache/airflow' in the test arguments to ensure they are unaffected by this environment variable.
efaa515 to
39a5313
Compare
potiuk
approved these changes
Mar 7, 2026
bugraoz93
approved these changes
Mar 7, 2026
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.
The
.github/workflows/ci.ymlrun forBreeze unit testsis failing in forks because theGITHUB_REPOSITORYenvironment variable overrulesoption_github_repositorydefault ofapache/airflow.This causes two test assertions to fail when checking the comment URL generated. Explicitly passing
--github-repository apache/airflowin these tests stabilizes them for forks.