Skip to content

fix: wait for the engine status in the restart fixture - #2396

Merged
yansfil merged 1 commit into
mainfrom
fix/e2e-fixture-engine-status
Nov 10, 2026
Merged

yansfil merged 1 commit into
mainfrom
fix/e2e-fixture-engine-status

Conversation

@yansfil

@yansfil yansfil commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary

The restart fixture waited for the restarted daemon on status.herdr.state. The snapshot now sends status.engine (#2387), so every Playwright test that restarts hided timed out after 15 s waiting for "the restarted core's engine and saved Workspace". The fixture reads status.engine.state now.

No screenshot: test fixture only, no screen changes.

Review

  • Decide: nothing.
  • Risky files: web/e2e/hided-fixture.ts only (two lines: the local type and the connected check).
  • Cost: none.
  • Questions: none.

Tests

  • Layer: Playwright e2e fixture shared by every restart test.
  • Catches: a restarted daemon that never reports its engine connected; the failing tests are the existing restart specs, for example read-across-restart.spec.ts.
  • Repeat: not repeated; the fix is the wire name the fixture reads.
  • Waits: the existing 15 s wait for the restarted core, unchanged.

Evidence

  • Verified: rg finds no other status.herdr reader in web/, desktop/ or scripts/; the failure message and its cause were reported from mission-45's feat: show mission review gates on desktop and phone #2390 CI (five Linux e2e shards with the same 15 s timeout).
  • Not verified: the restart specs were not run locally; CI runs them.

@yansfil
yansfil added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit b7bf579 Nov 10, 2026
37 checks passed
@yansfil
yansfil deleted the fix/e2e-fixture-engine-status branch November 10, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant