Repository navigation
Description
Summary
The macOS desktop beta qualification gate blocked v0.12.69+12069-macos because the Tier-2 desktop-core harness reported 15 failed flows out of 36. The release artifact itself built, signed, notarized, and passed Codemagic's signed-artifact smoke test.
We believe at least some of these Tier-2 failures may already exist on previous versions or represent harness/bridge contract drift rather than regressions introduced by .69. This issue is the handoff to determine, with reproducible evidence, which failures are real product defects versus stale or incorrectly typed harness expectations.
Do not simply weaken or bypass the gate. Establish a known-good baseline, reproduce each failure, classify it, and fix either the product or the harness with regression coverage.
Release context
- Candidate:
v0.12.69+12069-macos - Candidate tag SHA:
d96c58aa28a0c419bc7d0915211f044b5a3a959f - Source parent:
8130ec9c85ced4a502cab23058a65cdd9d4ccaa7 - Previous live beta at investigation time:
v0.12.66+12066-macos - Newest prior candidates to compare:
v0.12.68+12068-macos,v0.12.67+12067-macos - Codemagic build: https://codemagic.io/app/66c95e6ec76853c447b8bcbb/build/6a5167388cfd15fd900099c9
- Codemagic result: build/sign/notarize/package/smoke/release all passed; automatic qualification failed only because the Codemagic macOS worker had no healthy Docker runtime.
- Manual qualification was then run on macOS with OrbStack/Docker and Python 3.11 pinned.
Exact reproduction
From a clean checkout of BasedHardware/omi on macOS with Docker available:
open -a OrbStack
docker info
PYTHON=/Users/dazheng/.hermes/hermes-agent/venv/bin/python \
desktop/macos/scripts/qualify-desktop-beta.sh \
--no-promote \
v0.12.69+12069-macosThe manual run used:
provider_mode: offline- Tier:
2 - qualification bundle:
omi-qualification-0.12.69+12069 - automation port derived by the qualification script
- manifest start:
2026-07-10T22:38:47Z - duration: approximately 126 seconds
Local evidence from the original run is under:
/Users/dazheng/workspace/omi-prod-main-rollout/.qualification-worktrees/v0.12.69+12069-macos/desktop/macos/.harness/desktop-core/20260710T223847Z-t2/
The decisive file is manifest.json; every flow directory contains summary.md, metrics.json, traces, initial/final state, and per-step action/state/log artifacts.
Qualification result
- Total flows: 36
- Passed: 21
- Failed: 15
- Overall: failed
Passing flows
about-settings, ai-chat-settings, bridge-state-wedge-fallback, capture-lifecycle, chat-hermetic, claude-guidance-overlay, conversation-folders, dashboard, feedback-payload-dryrun, harness-smoke, language, memory-graph, navigation, notifications-settings, plan-usage, privacy-settings, ptt-lifecycle, rewind-settings, settings-basic, tasks, vocabulary, plus the separate spatial-overlay-swift harness.
Failing flows and observed symptoms
| Flow | Failing step / symptom |
|---|---|
apps-marketplace |
Apps catalog snapshot returned HTTP 422 |
connector-import |
Hermetic ChatGPT memory-log probe returned outcome=failure instead of success |
conversation-detail |
After opening latest conversation, snapshot reported detail_open=false; transcript drawer and segment count absent |
conversation-sharing |
Detail-open snapshot reported detail_open=false, though share-link probe subsequently passed |
floating-bar-functional |
Floating bar not visible; Ask Omi focus missing; chat-idle wait timed out at 20s; no stub assistant marker |
goals-dashboard |
Creating hermetic test goal returned HTTP 422 |
home-stage |
Inline chat, home ask, and connect-tray state waits each timed out after 5s |
keyboard-shortcuts |
Cmd+3-equivalent and Cmd+,-equivalent navigation state waits timed out after 5s |
memories |
Search expected at least one result but got string value "0" |
memory-crud |
Editing hermetic memory by marker returned HTTP 422; create/delete otherwise passed |
memory-depth |
Search expectation treated actual string "1" as failing min: 1; visibility toggle returned false |
quick-note |
Open Quick Note state wait timed out after 5s |
speaker-naming |
Start/inject/stop/open/assign all passed, but final detail snapshot reported detail_open=false |
tasks-crud |
Dump tasks expectation treated actual string "1" as failing min: 1; create/toggle/delete all passed |
Strong drift hypotheses to test
These are hypotheses, not conclusions:
- Typed expectation drift: The bridge serializes numeric values as strings, while
minassertions expect numbers. This appears directly intasks-crud(actual: "1") andmemory-depth(actual: "1"). Determine whether the producer contract or assertion engine is wrong and normalize at the correct boundary. - Bridge payload/schema drift causing 422s:
apps-marketplace, goal creation, and memory editing may use stale action payloads after production bridge/API schemas changed. - Snapshot timing/state-model drift: Conversation detail, sharing, and speaker naming successfully perform the preceding action but then snapshot
detail_open=false. The snapshot contract may be reading obsolete state, racing navigation, or observing a changed presentation model. - Window/surface assumptions: Floating bar, Home inline chat, keyboard shortcuts, and Quick Note may depend on window focus/visibility state not guaranteed by the named qualification bundle.
- Seed-data drift: Memory search may assume seeded content that is no longer present or indexed in the offline harness.
- Real product regressions: Do not assume all failures are drift. Compare against the live beta and prior candidates and manually exercise user-visible paths.
Required investigation method
1. Establish baseline
Run the same Tier-2 command in the same environment against:
v0.12.66+12066-macos(live beta baseline)v0.12.68+12068-macos(immediate prior candidate)v0.12.69+12069-macos
Use fresh state roots/worktrees and preserve all manifests. Produce a comparison matrix with one row per flow and columns for .66, .68, and .69.
2. Classify every .69 failure
For each failed flow, assign exactly one category with evidence:
real-regression-in-.69pre-existing-product-defectharness-contract-driftenvironment/seed/flakyunresolved
Do not classify solely from pass/fail counts. Compare step actions, expected/actual payloads, state traces, logs, screenshots where available, and manual behavior.
3. Tight reproductions
For each unique root cause, create the smallest flow/test that reproduces it. Prioritize:
- numeric/string assertion mismatch;
- each HTTP 422 payload;
- conversation detail state after successful open;
- floating-bar and Quick Note window state;
- keyboard shortcut state transitions.
Run suspected flaky/timing failures repeatedly before changing timeouts. Do not solve deterministic contract drift by increasing sleeps.
4. Fix at the correct boundary
- Product defect: fix product code and add a regression test.
- Harness drift: update the flow, bridge contract, seed, or assertion engine and add a test proving stale payloads/types fail clearly.
- Environment issue: make qualification bootstrap deterministic and document prerequisites.
Acceptance criteria
- Same-environment
.66/.68/.69comparison matrix is attached to this issue or PR. - Every
.69failed flow is classified with artifact-backed evidence. - Real
.69regressions, if any, are fixed or explicitly block the next candidate. - Harness drift is corrected without weakening assertions globally.
- Numeric/string expectation behavior has an explicit contract and regression test.
- HTTP 422 failures include captured sanitized request/response schemas and corrected fixtures or product handlers.
- Timing/window-state failures are reproduced repeatedly and resolved without arbitrary sleep inflation.
- Tier-2 passes on the fixed head in a clean macOS environment.
- Automatic Codemagic qualification either gets a Docker-capable worker or moves to a trusted runner with Docker; absence of Docker must fail before the expensive build where possible.
- Release qualification docs explain how to rerun, preserve evidence, and distinguish candidate artifact smoke from Tier-2 qualification.
Safety and scope
- Do not promote stable/prod as part of this issue.
- Do not alter the current beta/stable pointers while comparing historical tags.
- Use named qualification bundles only; never stop or replace
/Applications/Omi.apporOmi Beta.app. - Sanitize tokens, user data, transcripts, and request bodies before attaching logs.
Activity
fix: stabilize desktop 0.12.69 qualification contracts (#9425)