Skip to content

Classify macOS Tier-2 beta qualification failures: real regressions vs harness drift #9414

Closed

Description

@Git-on-my-level

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

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-macos

The 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:

  1. Typed expectation drift: The bridge serializes numeric values as strings, while min assertions expect numbers. This appears directly in tasks-crud (actual: "1") and memory-depth (actual: "1"). Determine whether the producer contract or assertion engine is wrong and normalize at the correct boundary.
  2. Bridge payload/schema drift causing 422s: apps-marketplace, goal creation, and memory editing may use stale action payloads after production bridge/API schemas changed.
  3. 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.
  4. 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.
  5. Seed-data drift: Memory search may assume seeded content that is no longer present or indexed in the offline harness.
  6. 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:

  1. v0.12.66+12066-macos (live beta baseline)
  2. v0.12.68+12068-macos (immediate prior candidate)
  3. 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-.69
  • pre-existing-product-defect
  • harness-contract-drift
  • environment/seed/flaky
  • unresolved

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 / .69 comparison matrix is attached to this issue or PR.
  • Every .69 failed flow is classified with artifact-backed evidence.
  • Real .69 regressions, 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.app or Omi Beta.app.
  • Sanitize tokens, user data, transcripts, and request bodies before attaching logs.

Activity

  1. added
    bug
    on Jul 10, 2026
  2. added a commit that references this issue on Jul 11, 2026
    5311f58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdesktop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions