Skip to content

infra: the claim bot cannot clear human-review-needed, so an escalated decision waits on the maintainer forever #2212

Closed

Description

@zackees

What happens

A maintainer answer to an escalated issue is silently ignored, and the issue waits on him forever.

Live example, #1092 (CEF browser sandbox). Label timeline:

2026-10-24T07:07:12Z  labeled    decision-needed      by github-actions[bot]
2026-10-24T07:07:14Z  labeled    claim-blocked        by github-actions[bot]
2026-10-24T10:12:20Z  labeled    human-review-needed  by zackees   <- coordinator §3b escalation
2026-10-24T10:12:20Z  unlabeled  decision-needed      by zackees   <- same escalation
2026-10-24T20:11:13Z  (maintainer posts the decision as a comment)  <- no label change, no bot action

As of writing, #1092 still carries human-review-needed and claim-blocked, and the bot never reacted to the decision. The maintainer answered and the state machine did not move.

Why

  • tools/claim-bot/claim_bot.py:77 — DECISION = "decision-needed" is the bot's only decision label. DECIDED_RE (:93) exists solely to remove it, and that is all the handler does (:279-282): [("label_remove", DECISION), ("react", comment.id)].
  • human-review-needed appears nowhere in claim_bot.py, and grep -c human-review-needed ci/test_claim_bot.py returns 0. No command adds it, no command removes it, no sweep touches it.
  • .claude/skills/obs-coordinator/SKILL.md:151-162 (§3b) does the opposite of what the bot expects: it removes decision-needed and adds human-review-needed. So by the time the maintainer replies, the only label Decided: can clear is already gone, and the label that says "waits on the maintainer" can never be cleared.
  • docs/rust-port/coordination.md:46-53 documents the intent ("the list that waits on the human maintainer"), and the coordinator §5 must list every open human-review-needed issue "until the maintainer answers" — with no mechanism to notice that he answered. The issue is a permanent zombie; the only exit is a human hand-removing the label, which nothing tells anyone to do.

Three further traps found while tracing #1092:

  1. Decision: is not Decided:. The maintainer's own comment on bug: browser: CEF 7871 (Chromium 150.0.7871.252, end of life, two in-the-wild V8 CVEs) runs with no_sandbox on every platform #1092 starts Decision: warn user with 3 second progress countdown …. That matches neither DECISION_RE ("decision needed:", :92) nor DECIDED_RE ("decided:", :93), and is not a command shape, so handles() (:249-254) drops it — not even a rejection is posted. A near-miss on the word choice makes the bot's silence indistinguishable from a broken run. Silent ignore of a maintainer's answer is the worst failure mode available here.
  2. Nothing re-dispatches the claimant. claim-blocked is only removed by the claimant's own later progress (:345-353), so after a decision the work sits until the claimant happens to comment on his own. On bug: browser: CEF 7871 (Chromium 150.0.7871.252, end of life, two in-the-wild V8 CVEs) runs with no_sandbox on every platform #1092 that is @vpacher waiting on a decision that already exists.
  3. A decision that is a policy has nowhere to land. bug: browser: CEF 7871 (Chromium 150.0.7871.252, end of life, two in-the-wild V8 CVEs) runs with no_sandbox on every platform #1092's decision explicitly says "make this a policy for similar issues in the future". Nothing in the bot or the coordinator skill records a standing decision, so it lives only in a comment.

What "handled correctly" should mean

  1. A maintainer's Decided: clears both decision-needed and human-review-needed (or whichever list label is currently set) and still reacts. It must work on an issue where decision-needed was already removed by the escalation — that is the normal escalated shape.
  2. Accept Decision: as an alias for Decided: from a maintainer, or reply with the exact accepted syntax instead of staying silent. Either way, a maintainer's answer must never be dropped without a visible response.
  3. After a maintainer decision on an issue with an active claim: remove claim-blocked and post a short reply that mentions the claimant and quotes the decision, so the claim resumes on its own.
  4. The §3b escalation comment must state the exact reply syntax the maintainer should use, and §5's report must stop listing the issue once the label is gone (it does today only when the label is removed by hand).
  5. A decision that establishes policy needs a destination the coordinator can follow (a recorded policy entry, or an auto-filed follow-up), so "make this a policy" is not lost.
  6. Hand-removing the label stays a documented escape hatch.

Keep the existing decision-needed behaviour unchanged (anyone may raise it, a claimant's also blocks the claim, the sweep never touches it, only a maintainer or hand-removal clears it).

Tests

  • maintainer Decided: on an issue labeled human-review-needed (with decision-needed absent) → removes human-review-needed, reacts;
  • non-maintainer Decided: → refused with a reply, nothing removed;
  • Decision: from a maintainer → accepted as an alias, or refused with the syntax in the reply (never silent);
  • maintainer decision on an issue with an active claim → also removes claim-blocked and comments a mention of the claimant;
  • a regression fixture for the bug: browser: CEF 7871 (Chromium 150.0.7871.252, end of life, two in-the-wild V8 CVEs) runs with no_sandbox on every platform #1092 shape: decision-needed → escalation swaps to human-review-needed → maintainer Decided: → no flow label left.

#1092 is a ready-made live case to verify against: it already has the maintainer's decision comment and the stale human-review-needed label. (I have removed the label there so the escalation is not left stuck; see the comment on that issue.)

Activity

  1. added
    infra
    on Oct 24, 2026
  2. zackees commented on Oct 24, 2026

    @zackees
    MemberAuthor

    Claiming: #2212. Scope: items 1–4 and 6, using the tests listed. A maintainer's Decided:, or Decision: as an alias, clears decision-needed, human-review-needed and claim-blocked, reacts, and mentions the claimant. §3b of the coordinator skill gets the reply syntax. Item 5 (where a standing policy is recorded) is a design choice, so I'll leave it for a follow-up.

  3. added
    claimed
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimedinfra

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions