Skip to content

feat: Make double tap and usage of IMU conditional - #12

Merged
eng1n88r merged 5 commits into
mainfrom
feature/defined-double-tap
Apr 3, 2024
Merged

eng1n88r merged 5 commits into
mainfrom
feature/defined-double-tap

Conversation

@eng1n88r

Copy link
Copy Markdown
Contributor

refactor: Improve code and remove some unsupported defines

refactor: Improve code and remove some unsupported defines

@Bentlybro Bentlybro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works

@eng1n88r
eng1n88r requested a review from axelpey March 31, 2024 02:46

@axelpey axelpey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to me

@eng1n88r
eng1n88r merged commit ccbeed8 into main Apr 3, 2024
@eng1n88r
eng1n88r deleted the feature/defined-double-tap branch April 3, 2024 05:46
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]>
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]>
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.

3 participants