Repository navigation
Closed
Description
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
- A Decision needed: question is a comment in a thread. When the thread continues, the question is not visible any more.
- The coordinator lists "decisions of policy or scope" in its tick report (
obs-coordinator§3, §5). The report shows what the coordinator saw in that tick. A question that is still open after one tick is not in the next report. - Search is not reliable: the wording varies (
**Decision needed:**,**Decision needed** (maintainer):, "could you decide"). On 2026-10-24, a search for "Decision needed" finds 2 open issues (facade: frontend/utility/*: move 18 platform conditionals behind frontend/utility/platform.hpp #883, browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864).
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-blockedkeeps 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
- Set. The claim bot adds
decision-needed(🚀, silent) when a comment has a line that starts withDecision 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. - Clear. A maintainer (OWNER, MEMBER, COLLABORATOR) comments
Decided:(first line) or removes the label. Progress by other users does not clear it. - Claimant. When the claimant posts
Decision needed:, the comment also counts as aBlocked:comment: the bot addsclaim-blockedwith the 7-day timer from claim-bot: claimant-set claim-blocked state with a 7-day timer #2013, and a newDecision needed:orBlocked:comment renews it. All otherclaim-blockedrules stay as they are. - List.
coordination.mdlinks the list: issues with labeldecision-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. - Rule.
coordination.md§2 keeps its condition: useDecision 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)
- A comment with a
Decision needed:line (plain, bold, heading) addsdecision-needed, from a claimant, a non-claimant, and on an unclaimed issue. Decided:from a maintainer removes it.Decided:from a non-maintainer is refused.- A claimant
Decision needed:addsclaim-blocked; the 7-day timer starts at that comment and a new one renews it. - A claimant commit or comment removes
claim-blocked(as now) and keepsdecision-needed. - The hourly sweep does not remove
decision-needed. - 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.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 24, 2026
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.
claim bot: decision-needed label for questions that wait on the maint…