Repository navigation
SCA-52: prevent desktop admission Firebase emulator leaks - #10323
Merged
Merged
Conversation
Failure-Class: none Co-authored-by: multica-agent <[email protected]>
Git-on-my-level
pushed a commit
that referenced
this pull request
Jul 22, 2026
…t fixture PR #10323 merged a stray "Cache Test / fixture" commit (991d02a) that replaced desktop/macos/Desktop/Package.swift (166 lines) and Package.resolved (212 lines) with a one-line stub ("// package-a"). This breaks every desktop release build at the "Resolve SPM packages" step and blocks the beta pipeline. Restore both files verbatim from the pre-stub parent fe323c0 (identical to the manifest on the shipped redesign merge 60e3e76). No dependency-graph change. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Git-on-my-level
added a commit
that referenced
this pull request
Jul 22, 2026
…t fixture (#10323) (#10333) ## Problem `main` desktop release builds are **currently broken** at the `Resolve SPM packages` step. PR #10323 ("SCA-52: prevent desktop admission Firebase emulator leaks") merged a stray commit titled **"Cache Test / fixture"** (`991d02a345`) that replaced: - `desktop/macos/Desktop/Package.swift` (166 lines → `// package-a` stub) - `desktop/macos/Desktop/Package.resolved` (212 lines → stub) With no real package manifest, SPM cannot resolve dependencies, so every Codemagic `omi-desktop-swift-release` build fails before compiling, and the beta release pipeline is blocked. The current `main` tip still carries the stub. ## Fix Restore both files verbatim from the pre-stub parent `fe323c0379` — which is byte-identical to the manifest on the shipped redesign merge (`60e3e766`). **No dependency-graph change**; this is a pure revert of the accidental stub. No commit after the fixture legitimately touched these files, so nothing else is clobbered. ## Verification - `Package.swift` back to 166 lines (`name: "Omi Computer"`, swift-tools 6.0, Firebase/Sentry/GRDB/Sparkle/FluidAudio/onnxruntime deps). - `Package.resolved` back to 212 lines. - `git diff fe323c0 HEAD -- Package.swift Package.resolved` is empty (exact restore). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012weG6Y6Fhae8nLrp83aZKV <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10333?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
…are#10323) ## Summary - run the desktop Beta admission Firebase emulator in a dedicated process group and drain that group on normal exit, failure, timeout, and cancellation - allocate explicit per-run Firestore API and websocket ports, avoiding Firebase's shared websocket defaults - add a macOS CI lifecycle guard that proves owned grandchildren are reaped while unrelated processes survive ## Verification - `node --test backend/testing/desktop_beta_admission/test_supervise.mjs` - `python3 .github/scripts/test_run_checks.py` - `bash backend/testing/desktop_beta_admission/run.sh` - `make preflight` ## Failure class Failure-Class: none The guard is local to the Firebase emulator runner because process-group ownership and temporary-directory lifetime are specific to that tool's JVM launch model. It directly covers SCA-52's trusted-M1 emulator contamination incident. Closes SCA-52
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
Verification
node --test backend/testing/desktop_beta_admission/test_supervise.mjspython3 .github/scripts/test_run_checks.pybash backend/testing/desktop_beta_admission/run.shmake preflightFailure class
Failure-Class: none
The guard is local to the Firebase emulator runner because process-group ownership and temporary-directory lifetime are specific to that tool's JVM launch model. It directly covers SCA-52's trusted-M1 emulator contamination incident.
Closes SCA-52