You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky: the secret-input browser check times out waiting for the password field to go away #242
scripts/secret-input-regression.ts (run by scripts/ui-regression.ts in the "Integration and browser" CI job) timed out once on 2026-10-01:
88 | await field.waitFor({ state: "detached" });
TimeoutError: waitFor: Timeout 10000ms exceeded.
- waiting for getByLabel('Password or PIN', { exact: true }) to be detached
24 x locator resolved to visible <input class="input" type="password" ...>
After Send in the secret input, the password field stayed on screen for the whole 10 s.
How often
Once, on PR #235 (run 36833457302, commit 4409103). A rerun of the same commit passed, and the PR does not touch the secret path. Not reproduced locally yet.
Where to look
The field goes away when the server answers secret-result ok and the client's next screen check no longer finds a password prompt (secretPrompt over the xterm buffer in PaneTerminal.tsx). Candidates: the secret frame refused with pane_busy or prompt_changed while the fixture's prompt was still being drawn, or the fixture program not consuming the secret so the prompt stays on screen.
Reproduce
bun run build && bun scripts/ui-regression.ts in a loop; the failing step logs "Password or PIN".
Activity
fix(terminal): send a secret entered before the reconnect's snapshot …