Skip to content

infra: decision-needed label for questions that wait on the maintainer #2057

Closed

Description

@vpacher

Summary

A question with no safe default is posted as Decision needed: (docs/rust-port/coordination.md §2 and §6, obs-worker skill). This is a text convention only. No label, bot or list tracks it. This issue proposes a decision-needed label that the claim bot sets and the maintainer clears, so that open decisions are one list that the coordinator can report.

Related: #1808 / #2013 (claim-blocked). Separate label, because the meaning is different (see "Why not claim-blocked").

Problem

Examples of open decisions on 2026-10-24:

Issue Question Asked Blocks
#1092 Linux sandbox fallback policy (B) and running as root (D) 2026-10-22 #1865 items 1-2
#1864 Build hosts for macOS and Windows CEF 2026-10-23 macOS/Windows CEF upgrade

Why not claim-blocked

  • claim-blocked keeps a claim alive. Only the claimant can set it. Any other progress by the claimant removes it.
  • A decision request can come from anyone: the claimant, a reviewer, an author of a different PR, the maintainer, or someone on an unclaimed issue.
  • If a decision used claim-blocked, the next commit or comment of the claimant would remove the label while the question is still open.

Proposal

  1. Set. The claim bot adds decision-needed (🚀, silent) when a comment has a line that starts with Decision needed:. Markdown emphasis or a heading marker before it is allowed (**Decision needed:**, ### Decision needed:). This is the existing convention, so existing comments do not change. Anyone can set it. One label per issue, for any number of open questions.
  2. Clear. A maintainer (OWNER, MEMBER, COLLABORATOR) comments Decided: (first line) or removes the label. Progress by other users does not clear it.
  3. Claimant. When the claimant posts Decision needed:, the comment also counts as a Blocked: comment: the bot adds claim-blocked with the 7-day timer from claim-bot: claimant-set claim-blocked state with a 7-day timer #2013, and a new Decision needed: or Blocked: comment renews it. All other claim-blocked rules stay as they are.
  4. List. coordination.md links the list: issues with label decision-needed, oldest first. The coordinator report (§5) lists each open item older than 48 h in every tick, with its age and a link to the question comment, until it is decided. The coordinator collects; it does not decide.
  5. Rule. coordination.md §2 keeps its condition: use Decision needed: only for a question with no safe default. For a question with a safe default, write it under Decisions: in the claim comment, as now.

Non-public work (for example a private advisory fork) does not use Decision needed: on a public issue. The claimant uses a general Blocked: reason, as #2013 says.

Decisions (defaults, open to change)

  • Line anywhere, not first line only. The other bot commands match the first line. Existing Decision needed: headings are often in the middle of a comment (browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864). Matching only the first line would miss them.
  • 48 h before the coordinator reports an item. The maintainer sees the notification first. The report is the reminder.
  • No digest issue. The label is the list. The coordinator does not open issues (obs-coordinator "Never").

Tests (RED → GREEN in ci/test_claim_bot.py)

  1. A comment with a Decision needed: line (plain, bold, heading) adds decision-needed, from a claimant, a non-claimant, and on an unclaimed issue.
  2. Decided: from a maintainer removes it. Decided: from a non-maintainer is refused.
  3. A claimant Decision needed: adds claim-blocked; the 7-day timer starts at that comment and a new one renews it.
  4. A claimant commit or comment removes claim-blocked (as now) and keeps decision-needed.
  5. The hourly sweep does not remove decision-needed.
  6. A line that only contains the words in running text ("no decision needed: …" in the middle of a sentence) does not set the label.

Limitations

  • Two labels can be set by one comment. The bot reactions stay one 🚀.
  • The bot does not track which question a Decided: answers. With two open questions on one issue, the maintainer clears the label when both are decided.

Activity

  1. zackees commented on Oct 24, 2026

    @zackees
    Member

    Maintainer approved this proposal (2026-10-24). Claiming: #2057. One PR: RED tests in ci/test_claim_bot.py, GREEN in tools/claim-bot/claim_bot.py plus coordination.md and the obs-worker/obs-coordinator skills. @vpacher if you had started on it, say so and I'll hand it back.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions