Repository navigation
fix(ci): stabilize ChatViewModel concurrency tests - #110798
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 18, 2026, 12:13 PM ET / 16:13 UTC. Summary PR surface: Other +75. Total +75 across 2 files. Reproducibility: no. high-confidence current-main reproduction was completed. The PR provides specific prior hosted-CI failures in the two changed XCTest surfaces, which makes the reported test race source-reproducible but not presently reproduced on the current base. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Rebase onto current main, complete the macos-swift lane on the refreshed head, and perform a full OpenClawKit test-and-history review to confirm the gates model the intended fork ordering without masking a runtime regression. Do we have a high-confidence way to reproduce the issue? No high-confidence current-main reproduction was completed. The PR provides specific prior hosted-CI failures in the two changed XCTest surfaces, which makes the reported test race source-reproducible but not presently reproduced on the current base. Is this the best way to solve the issue? Unclear. Replacing timer-driven ordering with explicit async gates is plausibly the narrowest test-only solution, but a full read of the changed tests, OpenClawChatViewModel fork behavior, and sibling concurrency tests is still required to establish that it is the best fix. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 3e8f1c6448a5. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Other +75. Total +75 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Merged via squash.
|
Related: #110646 (CI evidence; unrelated product diff)
What Problem This Solves
Resolves a problem where the
macos-swiftlane could fail unrelatedapps/pull requests in shared OpenClawKit ChatViewModel tests. Run 29642644168 failed three attachment-owner XCTest subprocesses with signal 6 on attempt 1, then timed out the fork-navigation test on attempt 2.Why This Change Was Made
The attachment tests now enter
MainActorexplicitly inside ordinary async XCTest methods, avoiding actor-isolated XCTest entry points. The fork test replaces a fixed delay plus polling with buffered start/release signals; a cancellation-aware watchdog bounds broken call paths without controlling normal ordering.Production behavior is unchanged.
AI-assisted: yes (Codex).
User Impact
No user-visible product change. Maintainers get reliable macOS Swift validation for pull requests touching
apps/.Evidence
fork completion does not override newer navigationafter 2 seconds.swiftc -frontend -parsepasses for both changed test files with the installed Swift 6.4 parser.git diff --checkpass.macos-swift, OpenClawKit tests, full Swift test, and the aggregateopenclaw/ci-gate.