Files
hermes-agent/apps
Teknium fab9b01c91 test(desktop-e2e): the reconnect Stop-settle check records its own timeline
reconnect-turn-state.spec.ts:177 goes red intermittently on CI only
("a turn indicator (Stop) is still showing after the turn settled"; rc.1
v0.22.5 run 39867334090 and the Oct 19 dispatch 39330962543). The CI trace
shows the indicator at 0 (toHaveCount passed at +10795 ms), back at 1 by
+11054 ms, and idle again by the failure screenshot: a transient re-arm
after the settle, not an early assertion. Eleven local runs (eight pinned
to two cores) never re-armed, and the CI artifact carried no frame or DOM
timeline to name which path re-armed it.

On a settle failure the spec now attaches stop-timeline.txt to the test's
output dir (uploaded by CI): every non-delta gateway frame on the primary
socket (event type, seq, running; RPC results with running and the replay
window), merged with every Stop-button transition from an in-page
MutationObserver (no polling load), on one clock. Assertions and waits are
unchanged.
2026-10-22 22:33:50 -07:00
..