mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
Sentinel-released processes exposed a second bare-sample assertion in the same file. The unread-dot check ran a synchronous .count() 140ms after the running dot cleared: 15.91s poll "dot should disappear" -> 2 16.05s ... -> 0 (running dot gone) 16.05s bare .count() for unread dot -> 0 FAIL "Finished — unread" is an event-driven transition that lands just after the running dot clears. The old fixed `sleep 5` happened to leave enough slack between the two that a single sample usually caught it; releasing the process deterministically removed that incidental slack and made the latent race deterministic instead. Poll for it, matching how sidebar-states.spec.ts already asserts this exact dot. The split-tile assertion at line 234 stays a bare sample on purpose — it asserts an absence (toBe(0)), where polling would only wait for something that must never appear. |
||
|---|---|---|
| .. | ||
| boot-failure.spec.ts | ||
| boot.spec.ts | ||
| chat.spec.ts | ||
| correction-session-switch.spec.ts | ||
| fix-electron-tracing.ts | ||
| fixtures.ts | ||
| hidden-history-messages.spec.ts | ||
| image-attachment-resume.spec.ts | ||
| interim-messages.spec.ts | ||
| large-session-resume.spec.ts | ||
| launch-packaged-app.spec.ts | ||
| mock-backend-setup.spec.ts | ||
| mock-server.ts | ||
| onboarding.spec.ts | ||
| queue-turn-boundary.spec.ts | ||
| real-session-builder.ts | ||
| session-compression-and-queue-stop.spec.ts | ||
| sidebar-states.spec.ts | ||
| submit-drift.spec.ts | ||
| test.ts | ||
| tile-unread-bug.spec.ts | ||
| visual-snapshot.ts | ||
| warm-resume-jitter.spec.ts | ||
| worktree-branch-status.spec.ts | ||