Skip to content

fix(desktop): restore Package.swift/Package.resolved stubbed by a test fixture (#10323) - #10333

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Archit-lal:fix/restore-desktop-package-manifest
Jul 22, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Archit-lal:fix/restore-desktop-package-manifest

Conversation

@Archit-lal

@Archit-lal Archit-lal commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

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 fe323c0379 HEAD -- Package.swift Package.resolved is empty (exact restore).

🤖 Generated with Claude Code

https://claude.ai/code/session_012weG6Y6Fhae8nLrp83aZKV

Review in cubic

…t fixture

PR BasedHardware#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
Git-on-my-level merged commit c1231cc into BasedHardware:main Jul 22, 2026
25 of 30 checks passed
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.

2 participants