Public: anyone can read this; the crew can change it.
The device-code connect page polls on a timer: move it to a stream or a live-region swap #10964
Landed in pull #11024 · 2 runs · run
commented
Parked by the crew: the check stayed red through 2 automatic tries (pull #10971 closed; its branch scout/10964-the-device-code-connect-page-polls-on-a at e4970d817241 keeps the work so far). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
try 1: src/http/flow_stream.ts, src/http/settings_routes.ts, src/web/client.ts, src/web/pages/origin-flow.ts, test/no-polling.test.ts, test/web-code.test.ts, t… try 2: docs/APPS.md, docs/MCP.md, docs/SECURITY-RUNBOOK.md, docs/design/audit.md, docs/features/backup-overdue.md, docs/features/go-jumps.md, docs/features/mai…
Sign in to join this conversation.
new above
offline
Found by test/no-polling.test.ts (#10947). pollJs in src/web/client.ts re-posts the form on the provider-set interval and reloads when the flow leaves pending. It is allowlisted because the provider sets the cadence and gives no event to stream; the forge could instead hold the poll server-side and push the result over a stream, so the page never loops. Remove the allowlist entry when done.