Skip to content

fix(shell): search boxes never drop keystrokes; E2E CI budget + race fixes - #227

Merged
hoangsnowy merged 2 commits into
mainfrom
fix/e2e-ci-timeouts
Oct 19, 2026
Merged

hoangsnowy merged 2 commits into
mainfrom
fix/e2e-ci-timeouts

Conversation

@hoangsnowy

Copy link
Copy Markdown
Owner

Summary

CI dev-auth E2E failed after #224 (Ctrl+K → Model keys on a slow runner; passes locally every run). Default Playwright expect timeout set once in both fixtures: 15 s when GITHUB_ACTIONS=true, 5 s locally.

Test plan

  • Standalone E2E 30/30 locally.
  • CI green on this PR (merge is gated on it).

🤖 Generated with Claude Code

https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB

hoangsnowy and others added 2 commits October 19, 2026 23:44
The dev-auth E2E failed on CI after #224 merged (the Ctrl+K → Model keys step): opening Settings in
a new window and rendering the page can exceed Playwright's 5 s expect default on a shared GitHub
runner, while it passes every time on a dev box. Set the default once in both fixtures
(GITHUB_ACTIONS → 15 s) instead of sprinkling per-assertion timeouts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB
CI showed the real cause of the red E2E: the Activities search received "add key" as "ay". The
input rendered value="@_query" from server state on every keystroke, so a slow round-trip
re-rendered a stale value over the keys typed meanwhile — real users on a laggy link lose keys
the same way. The Activities search and the Settings rail search are now uncontrolled (no
server-written value); clearing / reopening swaps in a fresh element via @key. A source guard
test fails the build if a text input with @oninput renders value="@…" again.

Two timing-only E2E races fixed alongside: Ctrl+K in Workflow waits for the builder's key
handler (registered after first render), and the motion test waits for the restored toggle
state after a reload before clicking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB
@hoangsnowy hoangsnowy changed the title test(e2e): one expect budget for the suite — 15 s on CI fix(shell): search boxes never drop keystrokes; E2E CI budget + race fixes Oct 19, 2026
@hoangsnowy
hoangsnowy merged commit a97dbf1 into main Oct 19, 2026
4 checks passed
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