Skip to content

✨ Activity Monitor: no option to accept triage on a label-less issue the reporter-trust gate holds #15215

Closed

Description

@clubanderson

Report (verbatim)

no option to accept triage

What happens

On the Activity Monitor an issue from an un-admitted reporter that has not yet been through its first stage pass — no stage/* label, no needs-triage yet — reads as a 000-new row: caption "New · waiting for a maintainer's triage (add triage/accepted); the hive's next pass in 13m", 👤 next-move on the maintainer. Live example: #15198 (reporter has read permission / NONE association, zero labels).

Its "⋯" row menu offers only Hold / Re-evaluate now / Mark needs-human… / Open on GitHub / Copy link. The one thing the row says it is waiting for — a maintainer accepting triage — is not there.

Why

POST /api/repos/{owner}/{repo}/items/{n}/accept-triage and the menu item exist since #13805, but the client predicate (stageTrackerTriageNeeded) only fires on stage 015 or the needs-triage modifier. The reporter-trust hold before the first stage pass is neither: it is stage 0 with new.next_mover: "maintainer".

Fix

  • Offer Accept triage on a 000-new issue whose next mover is the maintainer, and lead the menu with it on every triage row (015 / needs-triage / 000-new hold).
  • Hint says what the click writes and as whom: "adds triage/accepted as @you; the hive takes it on its next pass (≈N min)" (hint wrapping per 🐛 fix: wrap the row menu's consequence hints under their label #15176).
  • Optimistic row: 015 → 010 Actionable (as before); a 000-new row flips to the hive-mover narration (triage ✓ → actionable (next) → claimed) — the server narrates the same once the label is on, even while the bucket still says reporter_triage.
  • Result toast's next line: "Hive picks it up on its next scanner pass (≈N min)" from the governor's published next kick.
  • Write path unchanged: same audited handler (repo_item_accept_triage, attributed to the signed-in user), same guard as Hold (repo write permission or verified owner; 401/403 otherwise).

Decline triage… is not added: pkg/stagelabels / pkg/config have no "triage declined" label concept, so the inverse remains Hold with a reason.

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 29, 2026
    0744bf1
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

    has-open-prhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions