Public: anyone can read this; the crew can change it.
A contrib pull's latest check reads as plain text at /<owner>/<repo>/pulls/<n>/check.txt #12100
commented
Parked by the crew: the check stayed red through 2 automatic tries (pull #12109 closed; its branch scout/12100-a-contrib-pull-s-latest-check-reads-as-p at 3d7ba3bb2a38 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: docs/features/contribute-token.md, src/core/contribute_token.ts, src/http/api.ts, src/http/check_text.ts, src/http/server.ts, test/contribute-check-text… try 2: test/contribute-check-text.test.ts try 3: docs/ARCHITECTURE.md, docs/design/areas/boards.md, docs/design/areas/chart.md, docs/design/areas/flow-valves.md, src/actions/migrate.ts, src/actions/ori…
Sign in to join this conversation.
new above
offline
Split from #12014 (parked twice: both tries went red while the pull drifted into unrelated files). This is only the read, no long-poll and no lane change.
Done when:
Files: a new
src/http/check_text.ts, the route insrc/http/server.tsorapi.tswhere pull routes live,src/core/contribute_token.ts, the test, the doc. Keep to these: iftest/pages-budget.test.tsortest/timers-named.test.tscomplain, satisfy them; touch nothing else.mason/12014-a-contrib-pull-s-check-reads-as-plain-teat 1b37120b3887 has a firstcheck_text.tsworth reading.Risk: leaking a private repository's log to a token minted elsewhere — the 403 test is the guard.