Skip to content

retro: identify issues unblocked by a merged PR and nudge triage to re-run on them #2009

Open

Description

@fullsend-ai-triage

Problem

Triage correctly labels issues blocked when they depend on an open PR or issue, but nothing resumes the work when the blocker resolves. In one observed case, an issue sat labeled blocked for ~19 hours after its prerequisite PR merged, until a maintainer manually re-ran /fs-triage. The dependency is recorded only as a label plus prose; nothing subscribes to its resolution.

Proposed near-term step

Have the retro agent, when it runs on a merged PR (or closed issue), identify open issues labeled blocked that reference the resolved item (in body or comments, or via any structured dependency recorded at triage time) and nudge triage to re-run on those dependents.

Open question to verify first

Whether a comment posted by the retro agent reliably triggers another agent run (e.g. a triage re-run). If it does not, the nudge needs a different mechanism (such as an explicit dispatch), and this issue should record what was chosen and why.

Validation criteria

In a repo with a blocked issue whose blocker merges, a re-triage run fires within minutes without human prompting, and re-triage on genuinely-still-blocked issues is rare (blocker references are accurate).

Related

Activity

  1. ralphbean commented on Nov 13, 2026

    @ralphbean
    Member

    /fs-triage

  2. self-assigned this
    on Nov 13, 2026
  3. fullsend-ai-triage commented on Nov 13, 2026

    @fullsend-ai-triage
    Author

    🤖 Finished Triage · ✅ Success · Started 8:37 PM UTC · Completed 8:39 PM UTC

    Commit: bd6748d · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.31

  4. fullsend-ai-triage commented on Nov 13, 2026

    @fullsend-ai-triage
    Author

    Answer to the open question (from repo context): a comment from the retro bot would not reliably re-run triage. The triage trigger in harness/triage.yaml accepts /fs-triage only from a human actor. The same trigger does fire when the ready-for-triage label is added to an issue, "by a human or a bot", and post-retro already uses that label when filing issues. So the nudge mechanism should be adding ready-for-triage to the dependents, not a comment. If the label is already present, it likely has to be removed and re-added to produce a fresh label-added event. That interacts with #1933, which removes the trigger label after terminal triage runs. This should be confirmed in an actual run, since the dispatch docs say the CEL trigger is not yet evaluated for built-in agents and the routing in fullsend's reusable-dispatch workflow is what runs today.

    Scope notes for implementation:

    • Retro runs on PR close or /fs-retro, not on issue close, so the first version covers merged PRs only. Closed blocker issues would need a separate path or the platform-level work in fullsend.
    • Triage records dependencies only as the blocked label plus prose. Matching on references in the issue body/comments and prior triage comments is the practical approach, and accuracy of that matching drives the "rarely still blocked" validation criterion.
    • Check that the retro token can read and label issues in the repos where blocked issues live.
    • Related, not blocking: Periodically re-triage aged issues #1137 (periodic re-triage) and Clear stale workflow-status labels (e.g. blocked) when an issue closes #1447 (clear blocked on close). No open PR currently addresses this issue.

    Category: feature. It will be labeled for human prioritization rather than auto-promoted to coding.

    Proposed test case:

    Given merged PR N and open issues:
      A: labeled blocked, triage comment lists PR N as prerequisite
      B: labeled blocked, references an unrelated PR
      C: not blocked, mentions PR N
    Expect: only A receives ready-for-triage (removed first if already present).
    Edge cases: closed-unmerged PR, no matches (no-op), label API failure is non-fatal to the rest of post-retro.
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. ascerra commented on Nov 15, 2026

    @ascerra
    Contributor

    I'd scope the first version to blocked issues in the same repository as the merged PR. The label route from the triage above should work there, but not across repositories, and not on Jira.

    Across repositories. The triage asks whether the retro token can label issues where the blocked issues live. Outside the source repository it can't. The token is minted for the source repository and .fullsend only, which was accepted as a limitation in fullsend-ai/fullsend#3648. Creating an issue elsewhere still works, but the label is dropped without an error (#365). The 42 issues retro has filed into fullsend-ai/fullsend and this repository since November 12 all came from adopter repositories, and none of them has a label or a triage comment. The limit applies between fullsend-ai/fullsend and this repository too, and #365 is one such case.

    On Jira. The Jira poller ignores everything done by its own account or by other automation accounts (filterBotEvents). In my testing (#1967) a label added by the poller's account started nothing, and the same label added by a person started the agent. ADR 0172 (fullsend-ai/fullsend#9390, not merged yet) will let a label added by a bot start a run. Even then, a label set while the ticket is being created won't, because Jira records it as part of creating the ticket, not as a label change.

    So when the label route is confirmed in a real run, I'd check these cases.

    Case GitHub Jira today Jira after ADR 0172
    An agent adds the label to an existing item in the same repository or project should run no run runs
    An agent adds the label to an issue in another repository label dropped, no run not checked not checked
    An agent creates an item with the label already set not checked yet no run no run

    Two suggestions for the same-repository version

    • I'd find the dependents with a plain lookup in the post-script rather than by asking the retro agent. The merged PR's timeline lists the issues that mention it, so the post-script can keep the open ones labelled blocked and add ready-for-triage to those. Triage then decides whether each one is still blocked. That matches the test case above, and it's the same query a scheduled version would run later.
    • When a label can't be added, I'd have retro say so in its summary comment, not only carry on. Otherwise a missed dependent looks the same as having no dependents.

    This goes beyond retro. Agents handing work to each other by label is also how vulnerability work is meant to run on Jira, with one ticket per affected release branch (fullsend-ai/fullsend#9266, draft). fullsend-ai/fullsend#9454 is the general fix for the cases that don't run, because it finds the item by its state instead of by a label event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions