Skip to content

chore: align CI contracts and preserve bounded pre-push - #9897

Merged
Git-on-my-level merged 3 commits into
mainfrom
codex/pre-push-authoritative
Jul 16, 2026
Merged

Git-on-my-level merged 3 commits into
mainfrom
codex/pre-push-authoritative

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

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 #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.

Review in cubic

@Git-on-my-level
Git-on-my-level merged commit a55b047 into main Jul 16, 2026
31 of 34 checks passed
@Git-on-my-level
Git-on-my-level deleted the codex/pre-push-authoritative branch July 16, 2026 21:27
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. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant