Skip to content

fix(ios): retain release qualification failure details after test split - #196259

Merged
joshavant merged 1 commit into
mainfrom
fix/ios-qualification-pairing-diagnostics
Nov 9, 2026
Merged

joshavant merged 1 commit into
mainfrom
fix/ios-qualification-pairing-diagnostics

Conversation

@joshavant

@joshavant joshavant commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes missing failure details when iOS release qualification fails in the split snapshot UI-test files, as in the November 9 Store Release run.

User Impact

Release operators can locate the failing assertion and see how far pairing progressed. This is a diagnostics repair, not a proven fix for the original pairing failure. Qualification assertions, deadlines, runner capacity, and upload behavior are unchanged.

Why This Change Was Made

The harness recognized only the original Swift filename, so assertions in +Chat.swift and +Helpers.swift lost both their sanitized location and their assertion-time diagnostic capture. Recognize those known files and export only the basename and line number. Add temporary fixed pairing checkpoints using the existing progress field; remove those checkpoints after the incident is diagnosed while retaining filename-aware diagnostics.

The change reuses the existing parser, progress reporting, and native-adapter regression fixtures. It adds 10 UI-test instrumentation lines and 29 regression-test lines, with a matching scoped test-line allocation; no new orchestration is introduced. Raw XCTest output, UI contents, paths, and setup credentials remain excluded from uploaded proof.

Evidence

  • Split-file regression cases failed before the repair and pass afterward, including assertion-time capture and private-output exclusion.
  • node scripts/run-vitest.mjs test/scripts/ios-release-e2e.test.ts --maxWorkers=1: 106 passed; 1.20 seconds test time / 2.93 seconds wrapper wall time. The same 106 tests passed in CI in 2.75 seconds (checks-node-compact-small-1).
  • Scripts-test type checking, focused implementation/test lint, pinned SwiftFormat and SwiftLint checks, formatting, test-line ratchet, and git diff --check passed.
  • Simplification pass retained the existing diagnostic owners and fixtures. Independent AutoReview of the complete local snapshot against cc5c2914c58bde53e0ef708620071213bce06ce8: scoped-clean at P0, no accepted findings.
  • Qualification-only replay reproduced a pre-pairing failure and validated the repaired diagnostics: xctest-location:OpenClawSnapshotUITests+Helpers.swift:388, checkpoint pairing-continued, and assertion-time evidence capture at 31.7 seconds. The failing action is the generic interruption handler tapping Allow; the saved proof does not yet identify the alert type or the XCTest tap error. Native compilation passed in 259.7 seconds. No release was uploaded.
  • PR CI has one unrelated lint failure in ui/src/e2e/sidebar-rail-alignment.e2e.test.ts:201 (eslint(no-shadow), shadowed row at line 80). The file is identical in base cc5c2914c58 and this head (blob 2bc1ff2b4482dbe05567aaa6d6f7a1ee2bbe766a); neither lint policy nor that file changes here. The helper labels the job new against an older passing main run, without comparing selected scope. CI has settled: screenshot capture passed, the aggregate gate failed as a consequence of that unrelated lint job, and no branch-related CI failure was found.

@clawsweeper

clawsweeper Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@joshavant
joshavant marked this pull request as ready for review November 9, 2026 21:10
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: ios App: ios scripts Repository scripts size: S labels Nov 9, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 9, 2026
@joshavant
joshavant merged commit f947b3c into main Nov 9, 2026
202 of 208 checks passed
@joshavant
joshavant deleted the fix/ios-qualification-pairing-diagnostics branch November 9, 2026 21:51
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: ios App: ios clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant