Skip to content

post-retro.sh fails when ready-for-triage label doesn't exist in target repo #2797

Description

@ralphbean

What happens

post-retro.sh passes --label "ready-for-triage" to gh issue create, which fails with could not add label: 'ready-for-triage' not found if the label hasn't been pre-provisioned in the target repo. This causes the entire retro workflow to fail with exit code 1 even though the agent completed successfully.

Observed in https://github.com/fullsend-ai/.fullsend/actions/runs/28469348936/job/84377689680 — retro on PR #2795 targeting fullsend-ai/fullsend.

What should happen

The retro workflow should succeed. Either the label should be created automatically before use, or the post-script should handle a missing label gracefully (create it, or proceed without it and log a warning).

Context

The ready-for-triage label was introduced in c04131b (PR #2679) to enable bot-to-bot dispatch handoffs after ADR 0054 blocked bot actors on issues.opened events. The label exists in the scaffold template (internal/scaffold/fullsend-repo/) so newly provisioned repos get it, but existing repos were not updated.

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/retroRetro agentcomponent/dispatchWorkflow dispatch and triggerspriority/mediumNormal priority, plan for next cycleready-to-codeTriaged and ready for the code agenttype/bugConfirmed defect in existing behavior

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions