Repository navigation
ci(desktop): exempt desktop/macos/tests from the changelog gate (unblock main CI) - #10387
Merged
Merged
Conversation
#10374's timeout bump touched desktop/macos/tests/test-qualify-desktop-beta-contract.sh. The no-changelog-needed label satisfied the PR run, but the post-merge push run of desktop-changelog-entry re-runs with no label and demanded a fragment — so it failed on the merge commit (run 29981338556), reddening main's Desktop Swift CI and blocking auto-release from cutting a tag (it fails closed without that CI green). Test files are never user-facing app changes, so exempt the desktop/macos/tests/ prefix by path (durable across PR and push), same as Backend-Rust/. Verified: the exact failing merge diff (4d6539e) now reports no changelog needed; a Desktop/Sources/*.swift change still requires one.
kodjima33
added a commit
that referenced
this pull request
Jul 23, 2026
) Regression coverage for #10387: asserts `desktop/macos/tests/` and `qualification-swift-cache.sh` are changelog-exempt while product source (Desktop/Sources, non-exempt scripts) still requires a changelog. Wired via the existing `desktop-changelog-io-tests` manifest check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10388?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Git-on-my-level
pushed a commit
to Git-on-my-level/omi
that referenced
this pull request
Jul 23, 2026
…changelog exemptions BasedHardware#10387 exempted the desktop/macos/tests/ prefix from the changelog gate but added no regression test; qualification-swift-cache.sh's exemption was also uncovered. Assert both are exempt (and the Backend-Rust prefix) while product source (Desktop/Sources, a non-exempt scripts/ path) still requires a changelog, so the exemptions cannot silently broaden. Wired via desktop-changelog-io-tests.
aryanorastar
added a commit
to aryanorastar/omi
that referenced
this pull request
Jul 24, 2026
check-desktop-changelog.py exempts Backend-Rust/ and tests/ as "never user-facing app notes", but not Desktop/Sources/Generated/. Regenerating Sources/Generated/OmiApi.generated.swift after a backend OpenAPI spec change therefore demands a changelog fragment, and — exactly as the tests/ exemption comment warns (incident BasedHardware#10387) — the post-merge push run of the gate would redden main, since the PR-only no-changelog-needed label cannot be honored on the push lane. Generated Swift is deterministically derived from the OpenAPI contract and is the same directory the swift-format linter already skips. Add it to EXEMPT_DESKTOP_PATH_PREFIXES, with a test asserting the generated file is exempt while a hand-written Sources/*.swift still requires a changelog (the exemption must not leak). This is the second instance of the push-lane gate over-including internal paths (first: BasedHardware#10387, tests/), so it registers FC-push-gate-internal-path-scope. Verify: python3 .github/scripts/test_desktop_changelog.py → 4 tests OK. Failure-Class: new Co-Authored-By: Claude Opus 4.8 <[email protected]>
Git-on-my-level
added a commit
that referenced
this pull request
Jul 24, 2026
## What `check-desktop-changelog.py` exempts `Backend-Rust/` and `tests/` from the "desktop change requires a changelog fragment" rule as *never user-facing app notes* — but it does **not** exempt `desktop/macos/Desktop/Sources/Generated/`. So regenerating `Sources/Generated/OmiApi.generated.swift` after a backend OpenAPI spec change demands a changelog fragment. Worse, exactly as the `tests/` exemption comment already documents (incident #10387): the **post-merge push run** of this gate would redden `main`, because the PR-only `no-changelog-needed` label can't be honored on the push lane. ## Fix Add `desktop/macos/Desktop/Sources/Generated/` to `EXEMPT_DESKTOP_PATH_PREFIXES`. Generated Swift is deterministically derived from the OpenAPI contract — the same directory the swift-format linter already skips. A test asserts the generated file is exempt while a hand-written `Sources/AppDelegate.swift` still requires a changelog (the exemption must not leak). ## Why now The memories baseline toggle (#8728) changed the app-client OpenAPI contract; regenerating `OmiApi.generated.swift` from it is blocked today purely by this gate gap. This is the **second** instance of the push-lane gate over-including internal paths (first: #10387, `tests/`), so it registers `FC-push-gate-internal-path-scope`. ## Verification ``` python3 .github/scripts/test_desktop_changelog.py → Ran 4 tests OK # self-check: is_desktop_change_requiring_changelog(...) # Sources/Generated/OmiApi.generated.swift → False (exempt) # Sources/AppDelegate.swift → True (still gated) scripts/failure-class validate ... → ok ``` Failure-Class: new <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10481?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…ock main CI) (BasedHardware#10387) BasedHardware#10374's timeout bump touched a test under `desktop/macos/tests/`; the `no-changelog-needed` label only satisfied the PR run, so the post-merge push run of `desktop-changelog-entry` failed on the merge commit and reddened main's Desktop Swift CI, blocking auto-release from cutting a tag. Test files are never user-facing, so exempt the `desktop/macos/tests/` prefix by path (durable across PR and push). Verified: `check-desktop-changelog.py --base fabf75f~1 --head fabf75f` → no changelog needed; a `Desktop/Sources/*.swift` change still requires one. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…changelog exemptions BasedHardware#10387 exempted the desktop/macos/tests/ prefix from the changelog gate but added no regression test; qualification-swift-cache.sh's exemption was also uncovered. Assert both are exempt (and the Backend-Rust prefix) while product source (Desktop/Sources, a non-exempt scripts/ path) still requires a changelog, so the exemptions cannot silently broaden. Wired via desktop-changelog-io-tests.
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…edHardware#10388) Regression coverage for BasedHardware#10387: asserts `desktop/macos/tests/` and `qualification-swift-cache.sh` are changelog-exempt while product source (Desktop/Sources, non-exempt scripts) still requires a changelog. Wired via the existing `desktop-changelog-io-tests` manifest check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10388?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
check-desktop-changelog.py exempts Backend-Rust/ and tests/ as "never user-facing app notes", but not Desktop/Sources/Generated/. Regenerating Sources/Generated/OmiApi.generated.swift after a backend OpenAPI spec change therefore demands a changelog fragment, and — exactly as the tests/ exemption comment warns (incident BasedHardware#10387) — the post-merge push run of the gate would redden main, since the PR-only no-changelog-needed label cannot be honored on the push lane. Generated Swift is deterministically derived from the OpenAPI contract and is the same directory the swift-format linter already skips. Add it to EXEMPT_DESKTOP_PATH_PREFIXES, with a test asserting the generated file is exempt while a hand-written Sources/*.swift still requires a changelog (the exemption must not leak). This is the second instance of the push-lane gate over-including internal paths (first: BasedHardware#10387, tests/), so it registers FC-push-gate-internal-path-scope. Verify: python3 .github/scripts/test_desktop_changelog.py → 4 tests OK. Failure-Class: new Co-Authored-By: Claude Opus 4.8 <[email protected]>
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…dHardware#10481) ## What `check-desktop-changelog.py` exempts `Backend-Rust/` and `tests/` from the "desktop change requires a changelog fragment" rule as *never user-facing app notes* — but it does **not** exempt `desktop/macos/Desktop/Sources/Generated/`. So regenerating `Sources/Generated/OmiApi.generated.swift` after a backend OpenAPI spec change demands a changelog fragment. Worse, exactly as the `tests/` exemption comment already documents (incident BasedHardware#10387): the **post-merge push run** of this gate would redden `main`, because the PR-only `no-changelog-needed` label can't be honored on the push lane. ## Fix Add `desktop/macos/Desktop/Sources/Generated/` to `EXEMPT_DESKTOP_PATH_PREFIXES`. Generated Swift is deterministically derived from the OpenAPI contract — the same directory the swift-format linter already skips. A test asserts the generated file is exempt while a hand-written `Sources/AppDelegate.swift` still requires a changelog (the exemption must not leak). ## Why now The memories baseline toggle (BasedHardware#8728) changed the app-client OpenAPI contract; regenerating `OmiApi.generated.swift` from it is blocked today purely by this gate gap. This is the **second** instance of the push-lane gate over-including internal paths (first: BasedHardware#10387, `tests/`), so it registers `FC-push-gate-internal-path-scope`. ## Verification ``` python3 .github/scripts/test_desktop_changelog.py → Ran 4 tests OK # self-check: is_desktop_change_requiring_changelog(...) # Sources/Generated/OmiApi.generated.swift → False (exempt) # Sources/AppDelegate.swift → True (still gated) scripts/failure-class validate ... → ok ``` Failure-Class: new <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10481?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
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.
#10374's timeout bump touched a test under
desktop/macos/tests/; theno-changelog-neededlabel only satisfied the PR run, so the post-merge push run ofdesktop-changelog-entryfailed on the merge commit and reddened main's Desktop Swift CI, blocking auto-release from cutting a tag. Test files are never user-facing, so exempt thedesktop/macos/tests/prefix by path (durable across PR and push).Verified:
check-desktop-changelog.py --base 4d6539e1b0~1 --head 4d6539e1b0→ no changelog needed; aDesktop/Sources/*.swiftchange still requires one.🤖 Generated with Claude Code