Repository navigation
feat: Make double tap and usage of IMU conditional - #12
Merged
Merged
Conversation
refactor: Improve code and remove some unsupported defines
axelpey
suggested changes
Mar 29, 2024
m13v
added a commit
that referenced
this pull request
Feb 26, 2026
## Problem Build #12 failed at \"Build Swift app (arm64 + x86_64)\" on a fresh Codemagic Mac mini M2: ``` ERROR: arm64 binary not found at Desktop/.build/arm64-apple-macosx/release/Omi Computer artifacts checkouts repositories workspace-state.json ``` Root cause: SPM needs to download ~673MB of binary artifacts (Firebase, Sentry, Sparkle xcframeworks) on a fresh machine. When `xcrun swift build --arch arm64` runs, it tries to download everything **and compile** in a single step. The download failed/aborted mid-way (375MB of 673MB downloaded), leaving no `arm64-apple-macosx/` directory — so compilation never started. Without `set -e`, the script continued to the binary existence check and exited with 1. Build #11 succeeded only because that machine had a warm SPM cache from previous builds. ## Fix 1. **New \"Resolve SPM packages\" step** — runs `xcrun swift package resolve` before building, with a 3-attempt retry loop. This pre-downloads all binary artifacts. If the first attempt fails partway, the second attempt resumes from where it left off (SPM checkpoints downloads). 2. **`--triple` instead of `--arch`** — switches from `xcrun swift build --arch arm64` to `--triple arm64-apple-macosx`. This matches the local `release.sh` behavior and ensures the output binary **always** lands in `.build/arm64-apple-macosx/release/` regardless of the machine's native architecture (on native M2, `--arch arm64` may use the `release/` symlink path). 3. **SPM cache** — adds `~/Library/Caches/org.swift.swiftpm` to Codemagic's build cache so binary xcframeworks are not re-downloaded on every subsequent build. ## Result - Fresh machine: resolve step downloads packages with retry, then both builds compile using already-cached artifacts - Warm machine: resolve is instant (already cached), builds proceed normally 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
refactor: Improve code and remove some unsupported defines
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
…Hardware#5166) ## Problem Build BasedHardware#12 failed at \"Build Swift app (arm64 + x86_64)\" on a fresh Codemagic Mac mini M2: ``` ERROR: arm64 binary not found at Desktop/.build/arm64-apple-macosx/release/Omi Computer artifacts checkouts repositories workspace-state.json ``` Root cause: SPM needs to download ~673MB of binary artifacts (Firebase, Sentry, Sparkle xcframeworks) on a fresh machine. When `xcrun swift build --arch arm64` runs, it tries to download everything **and compile** in a single step. The download failed/aborted mid-way (375MB of 673MB downloaded), leaving no `arm64-apple-macosx/` directory — so compilation never started. Without `set -e`, the script continued to the binary existence check and exited with 1. Build BasedHardware#11 succeeded only because that machine had a warm SPM cache from previous builds. ## Fix 1. **New \"Resolve SPM packages\" step** — runs `xcrun swift package resolve` before building, with a 3-attempt retry loop. This pre-downloads all binary artifacts. If the first attempt fails partway, the second attempt resumes from where it left off (SPM checkpoints downloads). 2. **`--triple` instead of `--arch`** — switches from `xcrun swift build --arch arm64` to `--triple arm64-apple-macosx`. This matches the local `release.sh` behavior and ensures the output binary **always** lands in `.build/arm64-apple-macosx/release/` regardless of the machine's native architecture (on native M2, `--arch arm64` may use the `release/` symlink path). 3. **SPM cache** — adds `~/Library/Caches/org.swift.swiftpm` to Codemagic's build cache so binary xcframeworks are not re-downloaded on every subsequent build. ## Result - Fresh machine: resolve step downloads packages with retry, then both builds compile using already-cached artifacts - Warm machine: resolve is instant (already cached), builds proceed normally 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mdmohsin7
added a commit
that referenced
this pull request
Jun 27, 2026
Git-on-my-level
added a commit
that referenced
this pull request
Jul 9, 2026
P1 fixes: - ChatProvider: resume suspended waiter continuation inside the task group body on timeout, preventing withTaskGroup hang (#1). - AgentRuntimeProcess: route stale-alive latch through handleTermination so in-flight continuations are resumed and the old terminationHandler is properly superseded (#2). - WALService: startRecording no longer discards retained frames when the best-effort retry fails — preserves audio for next flush (#14). P2 fixes: - WALService: remove duplicate wal_write_failed health event recording in createWalFromCurrentFrames; writeFramesToDiskAndWait already records it (#3). - BleAudioService: reset isDecodeDegraded on successful decode so the flag reflects current processor state instead of staying sticky (#5). - TranscriptionRetryService: record db-backoff pause via DesktopDiagnosticsManager.recordFallback for observability (#7). - APIClient: derive auth retry outcome from response status code instead of assuming success before callers validate 2xx (#9). - APIClientAuthRetryTests: clean up UserDefaults authUserId in tearDown to prevent state leak (#8). - ChatBridgeModeSwitchTimeoutTests: remove meaningless defer { assertion that passes regardless of mode-switch cleanup (#10). - TranscriptionRetryResilienceTests: check busy-error guard by semantic elements instead of exact formatting (#11); remove fragile negative assertion (#12). - capture-lifecycle.yaml: remove 5 files from covers: that the hermetic seam does not exercise at runtime (#13). Verification: - xcrun swiftc -parse on all 8 changed Swift files: clean - git diff --check: no whitespace errors - check-desktop-changelog.py: fragment found - check-e2e-flow-coverage.py --strict: passes (exit 0) Co-authored-by: Cursor <[email protected]>
10 tasks done
aryanorastar
pushed a commit
to aryanorastar/omi
that referenced
this pull request
Jul 22, 2026
Phase 8 design system + Win11 polish + C1-C11 bar/orb/shell batch
undivisible
pushed a commit
that referenced
this pull request
Aug 17, 2026
…ion accounting (Codex gpt-5.6-terra) - T9: pure derivation ledger (canonical sha256 hashing w/ redaction, ordered input/output digests) + bun:sqlite atomic commit — one transaction writes claim/entity/identity revisions + adjacency + consumed markers + commit + head; idempotency (same key+digest→existing; same key+diff digest→hard conflict; equal-content different key→distinct); injected-crash rollback (all-or-none); claim↔adjacency traversability invariant. - T10: entity-centric + as-of retrieval that INCLUDES withheld claims with explicit status + omission accounting (resolver cannot hide uncertain memories by making them unretrievable — critique #12). Verified independently: bun test 25 pass / 0 fail; diff confined to platform/. Conclusion is hermetic composition + SQLite atomicity, NOT Postgres/concurrency risk retirement. M-skeleton (T0–T10) complete; T8 gate awaits owner gold labels. Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.
refactor: Improve code and remove some unsupported defines