Repository navigation
fix(ci): exempt desktop e2e flow definitions from the changelog gate - #11040
Merged
Merged
Conversation
`desktop-changelog-entry` also runs on the post-merge push lane, where the `no-changelog-needed` PR label cannot be honored, so any never-user-facing desktop path must be exempt by path. `desktop/macos/e2e/` was not, so #11039 — which only added a `covers:` entry to an e2e flow YAML — turned Repo Checks and Release Eligibility red on main after merge. E2E flow definitions and their docs are harness test artifacts, exactly like the already-exempt `desktop/macos/tests/` and `Desktop/Tests/`; nothing under `desktop/macos/e2e/` ships in the app. Verified against the real failing invocation (base/head = the #11039 merge push): python3 .github/scripts/check-desktop-changelog.py \ --base 275a488 --head d962001 before: exit 1, "desktop changes require an unreleased changelog fragment" after: exit 0, "No desktop changes require a changelog entry." python3 .github/scripts/test_desktop_changelog.py -> Ran 4 tests, OK (regression case added to the exemption test) Failure-Class: FC-push-gate-internal-path-scope
Git-on-my-level
pushed a commit
that referenced
this pull request
Aug 3, 2026
…11040) `desktop-changelog-entry` also runs on the post-merge push lane, where the `no-changelog-needed` PR label cannot be honored, so any never-user-facing desktop path must be exempt by path. `desktop/macos/e2e/` was not, so #11039 — which only added a `covers:` entry to an e2e flow YAML — turned Repo Checks and Release Eligibility red on main after merge. E2E flow definitions and their docs are harness test artifacts, exactly like the already-exempt `desktop/macos/tests/` and `Desktop/Tests/`; nothing under `desktop/macos/e2e/` ships in the app. Verified against the real failing invocation (base/head = the #11039 merge push): python3 .github/scripts/check-desktop-changelog.py \ --base 275a488 --head d962001 before: exit 1, "desktop changes require an unreleased changelog fragment" after: exit 0, "No desktop changes require a changelog entry." python3 .github/scripts/test_desktop_changelog.py -> Ran 4 tests, OK (regression case added to the exemption test) Failure-Class: FC-push-gate-internal-path-scope
Closed
3 tasks done
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.
Bug
Repo ChecksandRelease Eligibilitywent red onmainat d962001 (#11039). #11039 changed exactly one file —desktop/macos/e2e/flows/notifications-settings.yaml, adding acovers:entry — and carried theno-changelog-neededlabel, so its PR run was green.Root cause
desktop-changelog-entryalso runs on the post-merge push lane, where there is no PR and theno-changelog-neededlabel cannot be honored. The script already documents this (see the comment aboveEXEMPT_DESKTOP_PATH_PREFIXES, added after #10374/#10387): never-user-facing desktop paths must be exempt by path, or a legitimate change to them reddens main with no author able to satisfy the gate.desktop/macos/e2e/was missing from that set.This is
FC-push-gate-internal-path-scope, and the fix is its documented canonical prevention — extend the exemption set plus its test, in the same two artifacts the class names.Fix
check-desktop-changelog.py: adddesktop/macos/e2e/toEXEMPT_DESKTOP_PATH_PREFIXES. E2E flow definitions and their docs are harness test artifacts, exactly like the already-exemptdesktop/macos/tests/andDesktop/Tests/; nothing underdesktop/macos/e2e/ships in the app.test_desktop_changelog.py: add the regression case that would have caught this.Product source (
Desktop/Sources/*.swift, non-generated) still requires a fragment — that assertion is already in the same test and still passes.What I tested
Against the exact invocation that is failing on main right now (base/head = the #11039 merge push):
make preflightgreen on this branch.Failure-Class: FC-push-gate-internal-path-scope
🤖 automated by hourly watchdog — tested and merged