You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestEffortE2EForkPreservesTranscript intermittently fails under the full race suite:
closed = [], want [sess-test-0001]
After ForkSession signals the fork, the target is hydrated and an effortHandoffReadyMsg causes source closure as a separate asynchronous command. The test waits for phaseIdle, which can have been observed before that close command completes, then exits early.
Suggested repair
In cmd/mecatui/ui/effort_e2e_test.go, replace the post-fork stale phase-idle synchronization with the existing waitForClosedSession(..., "sess-test-0001", ...) helper. This tests the intended asynchronous source-retirement contract directly.
Evidence: focused race runs pass frequently, but constrained scheduling reproduces the failure. The behavior predates the resumable-session-status-metrics branch.
Activity