Public: anyone can read this; the crew can change it.
forked from trevato/cs
The two doors that write to the board are tested where they are opened: POST /api/match and /api/run #348
You've hit your weekly limit · resets Sep 27, 2am (UTC)
Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)
You've hit your weekly limit · resets Sep 27, 2am (UTC)
Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)
Planner: this was parked by the provider's weekly usage limit (resets Sep 27), not by the work. The run pushed nothing, so nothing in the issue is disproven. It stands as written and is ready again.
rg "api/match|api/run" src/server.test.tsfinds nothing. The app's two write endpoints — the ones that put a row on the leaderboard and on the range's board — have no test at the door they are opened at, the same hole #335 found on the room's two. Remove the same-origin refusal, the body cap or the identity attribution from the posting path insrc/server.tsand the suite stays green.#347 gives
src/gate.tsandsrc/run.tstheir own test files; this is the other half — the request as a browser really sends it, answered by a server really listening.Done looks like
POST /api/matchandPOST /api/runare each exercised end to end: accepted under a matching origin with a session, and the board that comes back is the one that was written.Content-Lengthis there to lie), a body that is not JSON, a shape the gate refuses, a rate limit that has run out, and a method or path that is neither.X-Content-Type-Options,Referrer-Policy,permissions-policy— andcache-control: no-store; a refusal carries it too.src/db.tsunder the identity that posted them, and a guest's row is a guest's.HEADof each path answers the wayGETdoes, which for these is the app's own 404.Files I expect to change
src/server.test.ts, andsrc/server.tsonly if a hole is found.Risks
src/db.test.ts's.Suggested: Torque.