Skip to content

dispatch: pass Jira credentials to forge-originated retro runs #9860

In review

Description

@andrewevansrh

Problem

With FULLSEND_TRACKER=jira, retro is designed to file validated proposals in Jira from a PR/MR-close or /fs-retro run, and to post the summary back to the originating PR/MR. That path cannot run today: on a github or gitlab event, dispatch passes no Jira credentials and unsets FULLSEND_JIRA_TOKEN, FULLSEND_JIRA_EMAIL and the client credentials, so the overlay's env.runner mapping has nothing to resolve.

It also does not degrade the way a missing credential usually would. fullsend validates every ${VAR} in env.runner against the host environment before any pre-script runs, so an unset FULLSEND_JIRA_TOKEN aborts the entire run:

FULLSEND_JIRA_TOKEN is not set (referenced by env.runner[JIRA_TOKEN])

So no retro runs at all — no Jira issues and no forge summary. The documented overlay therefore cannot be deployed ahead of this fix: enabling it removes retro from the repo entirely.

agents/docs/retro.md, merged with fullsend-ai/agents#2109, records exactly this gap and states it "needs a dispatch change that no issue tracks yet". This is that issue.

Context

fullsend.yaml handles GitHub-native events; fullsend-poll-jira.yml handles Jira-sourced runs and already forwards JIRA_TOKEN/JIRA_USER_EMAIL correctly. That split was established when #9410 was closed as a wrong premise, and its closing comment documents it. So this is about the GitHub-native path forwarding the FULLSEND_JIRA_* set, not about the poller.

To do

  • Forward the Jira credential set to the runner on forge-originated events — for the retro role at minimum, or behind an explicit opt-in so repos without Jira config do not acquire new required secrets.
  • Make an absent credential degrade instead of aborting: skip Jira filing with a warning and still post the forge summary, or refuse only when FULLSEND_TRACKER=jira is explicitly set.
  • Confirm Jira-originated runs are unchanged.
  • Document the required secrets and variables in docs/guides/user/jira-integration.md.

References

Activity

  1. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Triage · ⚠️ Cancelled · Started 4:13 PM UTC · Ended 4:15 PM UTC

    Commit: f383e7a · View workflow run →

  2. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Triage · Started 4:13 PM UTC

    Commit: f383e7a · View workflow run →

  3. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ⚠️ Cancelled · Started 4:13 PM UTC · Completed 4:15 PM UTC

    Commit: f383e7a · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high

  4. added
    agent/retro
    component/dispatch
    on Nov 25, 2026
  5. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ❌ Failure (post-script /home/runner/work/fullsend/fullsend/.fullsend/.fullsend-cache/resources/sha256/7ac1a164c72481327cbef0276bb1ca1dd31a6bb588472ee8ae9ecc3b2d51735d/scripts/post-triage.sh failed: exit status 1) · Started 4:17 PM UTC · Completed 4:19 PM UTC

    Commit: f383e7a · View workflow run →

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

  6. andrewevansrh commented on Nov 25, 2026

    @andrewevansrh
    ContributorAuthor

    /fs-triage

  7. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 4:26 PM UTC · Completed 4:28 PM UTC

    Commit: f383e7a · View workflow run →

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

  8. added
    triaged
    on Nov 25, 2026
  9. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    Triage confirms the cause described in the issue. In the dispatch workflow's retro job, the Jira credential inputs are only populated when the event source is Jira. On a GitHub-native event they resolve to empty values, and the harness check that every ${VAR} in env.runner is set then aborts the run. The triage and code jobs use the same gating pattern. No open PR addresses this issue.

    Suggested approach

    • Forward the FULLSEND_JIRA_* set in the retro job, either unconditionally or only when FULLSEND_TRACKER=jira. This avoids new required secrets for repos without Jira.
    • Make absent credentials degrade: skip Jira filing with a warning and still post the forge summary. Refuse only when the Jira tracker is explicitly selected.
    • Check the GitLab dispatcher path for the same gap, and confirm Jira-originated (poller) runs are unchanged.
    • Update docs/guides/user/jira-integration.md, which currently says retro does not write to Jira.

    Proposed test case

    Given a closed-PR event with FULLSEND_TRACKER=jira:
      - Jira secrets set   -> retro job receives non-empty jira-* inputs; Jira issues filed; forge summary posted
      - Jira secrets unset -> no env.runner abort; Jira filing skipped with a warning; forge summary still posted
    Given a Jira-sourced event -> inputs identical to current behavior
    Given no Jira config   -> retro runs unchanged
    

    Warning: the fix requires editing .github/workflows/reusable-dispatch.yml, and the code agent cannot modify workflow files under current permissions. This issue will not be auto-dispatched to the code agent. A maintainer or human PR is needed for the workflow change, and the harness validation and docs parts can be done separately.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  10. added a commit that references this issue on Dec 3, 2026
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

    agent/retrobugcomponent/dispatchtriaged

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions