rehearsal reporter: one transient labels fetch silently degrades every label op for the run (WARN priority missing while the label exists) #495
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#495
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom (drive
20260812T214238Z, first phase-2 red): the reporter loggedWARN priority label missing from the tracker — blockers filed unlabelledwhile labelpriority(id 99) demonstrably exists — the identical lookup (GET /labels?limit=100with the same token on the same host) finds it on re-run. #494 was filed and DID end up labelled (bug, ready-for-human, rehearsal-183) — labels that plausibly came from auto-triage rather than the reporter's ownlabel_idpath.Suspected cause:
rehearsal-report.sh:208fetcheslabels_jsonONCE with|| labels_json='[]'— one transient API failure silently degrades EVERY label operation for the whole run (filing labels at :322, the priority float at :371, the ready-for-human flip ids) with only the priority branch saying anything, and nothing naming the actual fetch failure.Rule: a failed labels fetch must be LOUD and retried — e.g. one paced re-fetch at first use when
labels_jsonis empty, plus an explicitWARN labels fetch failed (HTTP …)at :208 so the degradation is attributable. Fail-open behavior (file unlabelled rather than not file) stays..sandcastle/rehearsal-report.shis a protected path — human landing (the #460 precedent).Second reporter-robustness finding from the same night (drive 20260813T013025Z): Forgejo answers a DUPLICATE dependency POST with HTTP 500, not 409 — the reporter read that 500 as "blocker did not land", declared the blocked invariant broken, and flipped #492 ready-for-human even though the dependency was already wired (verified by GET /dependencies listing #498). Reproduced by hand: POST 492<-498 → 500 while the listing shows it. Rule for the fix here: after a non-2xx/non-409 dependency POST, VERIFY via GET /issues/N/dependencies before declaring the invariant broken — a listed dep is a landed dep, whatever the POST said.