Flaky test: kill stops thread after the in-flight role #209

Closed
opened 2026-05-12 05:05:53 +00:00 by xingyue · 0 comments
Owner

What

The test cli thread commands > kill stops thread after the in-flight role (before subsequent roles) intermittently fails.

Observed

  • Passes most runs but occasionally fails with timing-related issues
  • Latest failure: [747.01ms] — likely a race between kill signal and role completion

Expected

Test should be deterministic. May need:

  • Explicit synchronization (wait for role to start before killing)
  • Skip + dedicated issue if fundamentally flaky
  • Increased timeout / retry

Ref

Observed during workflow agent refactoring session (2026-05-12).

## What The test `cli thread commands > kill stops thread after the in-flight role (before subsequent roles)` intermittently fails. ## Observed - Passes most runs but occasionally fails with timing-related issues - Latest failure: `[747.01ms]` — likely a race between kill signal and role completion ## Expected Test should be deterministic. May need: - Explicit synchronization (wait for role to start before killing) - Skip + dedicated issue if fundamentally flaky - Increased timeout / retry ## Ref Observed during workflow agent refactoring session (2026-05-12).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#209