clay-borg/trials
tegwick 82aead6cea
Some checks failed
ci / check (push) Failing after 4s
CB-WP-0035: a session that answers nothing
Two reports, one cause: the script's fetch had no .catch. When the server
had exited the promise rejected, the chain never ran, and not even the
status line moved — so a dead server and a click that did nothing were
indistinguishable. play again read as a dead button, and the linger
timeout was invisible.

Now a rejection says the session is gone and seals the page, and a
5-second heartbeat against a new /alive notices it without needing a
click, which is what the timeout case requires. The beat carries the
token, and does not extend the linger: that deadline is absolute.

The harness had the same hole. jsrun's fetch stub had no .catch, so the
branch that notices a dead server would have been unreachable in every
test — the very defect the stub's own comment records from CB-WP-0024.
Teaching it __failing, .catch and a recorded setInterval was the fix;
writing the script defensively would have repeated the trap.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 20:31:32 +02:00
..
2026-08-06-2213.md fix: a click target wearing a drag affordance made the controls look dead 2026-08-06 22:25:06 +02:00
2026-08-06-2213.yaml fix: a click target wearing a drag affordance made the controls look dead 2026-08-06 22:25:06 +02:00
2026-08-06-2230.md fix: the controls sit below the log, and ending a session greys the page 2026-08-06 22:38:32 +02:00
2026-08-06-2230.yaml CB-WP-0029: the tokens on the table — declare and register 2026-08-07 09:45:41 +02:00
2026-08-06-2252.yaml CB-WP-0029 T01-T03: components you can count, and a supply that does not bind 2026-08-07 09:54:20 +02:00
2026-08-07-1252.yaml CB-WP-0031: the comment box outlives the game 2026-08-07 13:08:56 +02:00
2026-08-07-1558.md CB-WP-0032: the comments in the account 2026-08-07 16:09:36 +02:00
2026-08-07-1558.yaml CB-WP-0033: a game is the unit 2026-08-07 17:41:11 +02:00
2026-08-07-1612.md CB-WP-0033: a game is the unit 2026-08-07 17:41:11 +02:00
2026-08-07-1612.yaml CB-WP-0033: a game is the unit 2026-08-07 17:41:11 +02:00
2026-08-07-1829.yaml CB-WP-0035: a session that answers nothing 2026-08-07 20:31:32 +02:00