Repository navigation
chore: align CI contracts and preserve bounded pre-push - #9897
Merged
Merged
Conversation
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…e#9897) ## Summary - Move the full backend and pinned desktop Swift contracts into checked-in CI runners. - Keep `scripts/pre-push` deliberately bounded: backend selection is capped at 40 files with a changed-test fallback, and desktop changes receive only the fast debug compile. - Document and statically protect that budget boundary so future CI-parity work cannot turn ordinary pushes into full-suite work. Refs BasedHardware#9440. ## Verification - `make preflight` — passed 25 selected checks on the rebased branch. - Simulated `scripts/pre-push` ref update — passed; broad 646-file backend selection was reduced to 3 changed test files, then completed the desktop debug compile and launcher checks. - `backend/scripts/run-unit-ci.sh --changed-files ...` — passed all 645 selected backend unit files before restoring the bounded local hook. - `cd desktop/macos && bash test.sh` — passed 365 Rust tests and 303 isolated Swift suites. - `python3 .github/scripts/test_desktop_swift_ci_contract.py` and focused backend workflow-contract tests — passed. ## Contracts No locked product invariants are affected. No `fix:` commit is present, so no failure-class declaration is required. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/9897?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.
Summary
scripts/pre-pushdeliberately bounded: backend selection is capped at 40 files with a changed-test fallback, and desktop changes receive only the fast debug compile.Refs #9440.
Verification
make preflight— passed 25 selected checks on the rebased branch.scripts/pre-pushref update — passed; broad 646-file backend selection was reduced to 3 changed test files, then completed the desktop debug compile and launcher checks.backend/scripts/run-unit-ci.sh --changed-files ...— passed all 645 selected backend unit files before restoring the bounded local hook.cd desktop/macos && bash test.sh— passed 365 Rust tests and 303 isolated Swift suites.python3 .github/scripts/test_desktop_swift_ci_contract.pyand focused backend workflow-contract tests — passed.Contracts
No locked product invariants are affected. No
fix:commit is present, so no failure-class declaration is required.