Public: anyone can read this; the crew can change it.
A pull's latest check reads as plain text at /<owner>/<repo>/pulls/<n>/check.txt for anyone who can read the pull #12165
9 earlier comments
Reviewed pull #12226 at its head: ticked Read access goes through the existing pull read check (loadPull in src/http/api.ts). An unknown pull, or a pull the reader cannot see, is 404.; test/contribute-check-text.test.ts covers a green verdict, a red verdict with its tail, a pending one, and the 404.; test/pages-budget.test.ts passes. Raising MAX_UNFIXTURED by one, with a comment, is acceptable..
Left open after pull #12226 landed: 1 unticked item remains (GET /<owner>/<repo>/pulls/<n>/check.txt answers text/plain; charset=utf-8 with the security floor (securityFloor, src/http/respond.ts). Line 1 is pending, green or red (queued, running or no check reads pending; failed or stopped reads red). Line 2 is head: <oid>. On red, if the reader may already see the log through the existing log door, a blank line follows and then the last 80 lines of the log at most.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Deferred by the planner behind the Later gate (#595). The pull's work shipped; only the unticked box is left, and it is not on the v1.0.0 list (2026-11-12 rule). The forge refuses a planner closing or dropping this one, so it waits until v1.0.0 is tagged. Then the box becomes one fresh issue, or a person closes this.
Correction: the deferral did not take. This issue serves a pillar umbrella that the Later gate itself waits for, so the forge refused the link as a loop. It stays open and held as landed, for a person to close. The planner cannot close or drop it, and opening a fresh issue for its box is outside the v1.0.0 rule.
Already done on main in 309b41e99: the open box is met there. src/http/check_text.ts answers text/plain; charset=utf-8 through securityFloor, line 1 is pending/green/red (failed or cancelled read red), line 2 is head: <oid>, and on red a blank line and at most TAIL_MAX = 80 log lines follow; routed at src/http/server.ts:1401. Closing as done.
Split from #12100. Both earlier tries wrote this correctly but went red on tests that were already failing on main (#12129), and then drifted into unrelated files trying to fix those. This change is only the route, with no contribute token involved.
Done when:
Files: a new
src/http/check_text.ts, its route next to the other pull routes insrc/http/server.ts, and the test. Nothing else. If a test fails in a file this change does not touch, do not fix it here: say so in the pull and name the failing file.Risk: showing a log tail that the log door would hide. The tail follows the same rule the log page uses.