A report's status
Whoever files a report from outside is handed a receipt with an id and a statusUrl. The status URL needs no
account and says what became of the report in four words:
| status | meaning |
|---|---|
open | received; no person has read it yet |
being worked | a person took it up and its issue is open |
fixed | its issue was closed as done |
declined | a person dismissed it, or its issue was closed as dropped |
An issue closed for any other reason (split, parked, or a reason added later) reads as being worked: it was taken
up and is neither fixed nor turned down.
Only {id, status, message} leaves, plus reason on a declined report when the person who declined it wrote one (the owner's one line, up to 200 characters, from the Decline on /next): no title, no author, no issue number. An unknown id, a malformed one, another
repository's and a private repository's all answer the same 404.
- JSON:
GET /api/v1/repos/:owner/:name/reports/:id/status, thestatusUrlof the receipt (also itsLocation). - Plain text receipt: the receipt prints a
status:line with that URL.
Try it: file with curl -s -XPOST -H 'content-type: application/json' -d '{"title":"x"}' $FORGE_URL/api/v1/repos/alice/game/reports,
then curl -s the statusUrl.
Not limited yet: the status route has no rate limit of its own; that is tracked in #14500.
The 90-day status link (#15768)
The answer to a report or an offer (…/offers, the MCP offer tool) also carries statusPage and statusJson: /status/<token> and /api/v1/status/<token>.
- Shows:
kind,state(received, read, planned, landed or declined), its words, and the dates it arrived, last changed and expires. Never the title, the words, a name or an id. - States: a report is received until a person decides; accepting makes it planned, closing that issue makes it landed (done) or declined (dropped); dismissing declines it. An offer is received, then read once a reviewer reviews, then landed or declined. So a report is never
read(a person's decision is its first change) and an offer is neverplanned; each shows only the states its own steps can reach. - The token: 192 random bits, read-only, good 90 days; a wrong, malformed or expired one is a 404 (
src/core/outsider_status.ts,src/http/offer_routes.ts). The status routes answer 429 past 60 reads a minute per client, and links past their day are deleted hourly. Pinned bytest/outsider-status.test.ts. - Where the owner finds an offer's link (#15988): on that pull's page, one line with Copy, and on the terminal's pull screen as a
status link:row. Both askofferStatusLinkFor(src/core/outsider_status.ts): writers only, because the link is a capability, and only on a pull an offer opened. A pull the owner opened, or a reader or guest looking, shows no such line. Pinned bytest/outsider-status.test.ts(page) andtest/pull-next-tui.test.ts(terminal).
Pinned by test/report-status.test.ts.