Repository navigation
Description
What happened
On PR #60, the fullsend workflow routed to the Review stage, but both runs (26201259495, 26201259546) failed at the "Mint review token" step — the mint service returned HTTP 502 six times before giving up. The review agent never started. No comment or status was posted to the PR. The author had no indication that automated review failed, and merged the PR 11 hours later without any review.
Existing issue #837 proposes adding if: failure() steps in the agent workflows (e.g., review.yml in .fullsend). However, this PR demonstrates a failure mode that #837's proposed fix would NOT catch: the failure occurred in the dispatch layer (the fullsend.yaml workflow in the source repo) before the agent workflow was ever dispatched. The if: failure() step in the agent workflow never runs because the agent workflow never starts.
What could go better
There are two layers where failures can occur: (1) the dispatch layer in fullsend.yaml (mint token, workflow dispatch) and (2) the agent layer in .fullsend workflows. Issue #837 addresses layer 2 but not layer 1. For dispatch-layer failures, a notification step should be added to the dispatch job itself in the reusable workflow (reusable-review.yml, etc.) with if: failure(). This would post a comment like "Review agent could not start — view logs" to the PR. Confidence: High — the logs clearly show the failure is in the dispatch job, before any agent workflow runs.
Proposed change
In the fullsend reusable workflows (e.g., reusable-review.yml at fullsend-ai/fullsend/.github/workflows/), add an if: failure() step after the mint/dispatch steps in the Review job that posts a comment to the originating PR indicating the review agent could not start, with a link to the failed workflow run. This complements #837 (which handles agent-layer failures) by covering dispatch-layer failures. The comment should use the same token/permissions already available in the dispatch job. Update #837's description to note this gap and link to this proposal.
Validation criteria
The next time a review dispatch fails at the mint step (or any pre-agent step), a comment should appear on the PR within 2 minutes indicating the failure and linking to the run logs. Test by temporarily misconfiguring the mint endpoint and verifying the notification appears. This should be verified across at least 3 different failure scenarios: mint 502, mint timeout, and workflow dispatch failure.
Generated by retro agent from nonflux/integration-service#60
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
fullsend-ai-triage commentedon May 21, 2026
Re-triage: still relevant, scope should broaden
Checked against current main. The gap is real, and it is wider than the original mint-502 report.
Answers to the questions raised in the latest request:
fullsend reconcile-statusonly finalizes a status comment that already exists. Iffullsend runnever started, there is nothing to reconcile, so it cannot cover mint, Podman or OpenShell failures. Those need a newif: failure()path. Startup failures where no step runs at all (Agent workflow runs that hit startup_failure are silently lost #1919) cannot be handled inside the workflow.reusable-dispatch.ymlneed a post-mint failure step. The mint step itself may be what failed, so that step should use the jobGITHUB_TOKEN, which these jobs already hold with issue/PR write access. The final always() step inaction.ymlshould also post the fallback when the run step never started, to cover the install-step failures. The older reference to separatereusable-review.yml-style files is out of date; those jobs are now inlined inreusable-dispatch.yml./fs-triage. The existingfullsend issues post-commentcommand already supports sticky markers.Heads-up: the fix edits GitHub Actions workflow YAML, which the automated code agent cannot modify under its current permissions, so a human-authored PR is needed. As requested, this is a scope/relevance review only and is not being promoted for implementation; it stays open for human prioritization.
Proposed test case:
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run
Re-checked relevance per the stale-issue request: this issue's specific technical claim still holds today.
A lot has changed since filing. #837 (the closely related "stale working-on-this comment" issue) is now closed as completed — a status-notification overhaul (status posting moved into
fullsend run, plus afullsend reconcile-statusstep that finalizes orphaned comments on hard kills, tracked under #2149) now covers agent-layer failures. Per-repo installs also moved from separatereusable-review.yml-style files to stage jobs inlined intoreusable-dispatch.yml(per ADR 62).However, tracing the current
reusable-dispatch.ymlend to end confirms the dispatch-layer gap this issue describes is untouched by that work: the reconciliation logic added for #837/#2149 lives inside the shared composite action, which is only invoked after the per-role "Mint<role>token" step succeeds. That mint step still has noif: failure()/always()companion in any stage job (review, triage, coder, fix, retro), so a mint 502 (or similar pre-agent failure) still short-circuits the job with zero notification to the PR or issue — reproducing the exact scenario in the original report.Note #1283 (still open) tracks the same gap scoped narrowly to the triage role's mint failure — worth resolving together with this one rather than in parallel, to avoid duplicated per-role fixes.
As requested, this is not being promoted to ready-to-code; it's being left open for human prioritization. Separately, the fix requires editing GitHub Actions workflow YAML directly, which the automated code agent cannot do under its current permissions — implementation will need a human-authored PR (or an explicit maintainer decision) regardless of prioritization timing.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run (2)
Triage Summary
This issue identifies a gap in failure notification coverage: when a pre-agent step (e.g., token minting) fails in a reusable workflow, no feedback reaches the PR. This complements #837, which covers agent-layer failures.
Problem: The reusable workflows (
reusable-review.yml, etc.) have noif: failure()steps after mint/dispatch steps. When these fail, the workflow exits silently — the PR author never learns that automated review didn't run.Observed instance: On a PR in an external repo, both review dispatch runs failed with HTTP 502 at the mint step. The PR was merged 11 hours later with no review.
Recommended approach:
if: failure()step at the end of each reusable workflow job that posts a comment to the originating PR/issueGITHUB_TOKEN(already haspull-requests: write) since the minted app token may not be available at failure time${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})Related issues: #837 (agent-layer failure notifications), #1283 (triage mint failure surfacing)
Proposed test case:
Labels: Dispatch-layer failure notification is an area/dispatch feature affecting the review agent workflow, with medium priority since it causes silent review failures.
fullsend-ai-prioritize commentedon Jun 2, 2026
RICE Priority Score: 2.4
Score breakdown
Formula: (2 x 1.5 x 0.8) / 1 = 2.4
ralphbean commentedon Sep 21, 2026
/fs-triage lots of things have changed between when this was originally filed and now across both the https://github.com/fullsend-ai/fullsend and https://github.com/fullsend-ai/agents repos. Is this still relevant? This is a stale-issue review, not an implementation request: even if the issue is still a valid bug and has sufficient information, do not recommend or trigger ready-to-code yet. Leave it for human prioritization after confirming whether it remains relevant. Do not close a still-relevant bug merely to avoid coding it.
fullsend-ai-triage commentedon Sep 21, 2026
🤖 Finished Triage · ✅ Success · Started 6:24 PM UTC · Completed 6:29 PM UTC
Commit:
eb8149a· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.49
csoceanu commentedon Nov 9, 2026
/fs-triage
Please re-evaluate this issue against the current upstream
fullsend-ai/fullsendandfullsend-ai/agentsrepositories. This is arelevance and scope review only; please do not promote it to ready-to-code or
trigger implementation.
The triage of #4325
concluded that its remaining pre-CLI failure-notification gap should be owned
by this issue.
There are now multiple concrete reproductions:
route and harness dispatch succeeded, but Podman installation failed after
four HTTP 504 responses.
fullsend runnever started and no user-facingfailure comment was posted.
the same Podman setup failure occurred again, with no user-facing failure
comment.
Podman setup succeeded, but OpenShell installation failed after three
attempts to download the pinned package. The triage agent did not run and no
user-facing failure comment was posted.
These failures occur after routing and harness dispatch but before the agent
work can begin. They are later than the token-mint failure originally
described by this issue, but the user-visible outcome is the same: an
authorized command is accepted, the workflow fails, and the requester is not
clearly told that the agent did not run.
ADR 0093
defines tracker-aware, agent-agnostic status notifications and
reconcile-statusbehavior oncefullsend runorreconcile-statusisreached. It does not cover failures before the notification machinery is
initialized, such as token minting, CLI installation, Podman setup, or
OpenShell setup.
Please determine:
including workflow setup and runtime dependency failures, or whether those
cases need a separate issue.
path and which require an
always()/if: failure()workflow-level step.reusable-dispatch.yml,action.yml, or both.slash-command trigger. It should include the workflow/job link, a coarse
failure category, an explicit statement that the agent did not run, and the
appropriate retry command such as
/fs-triage.The underlying runtime dependency download reliability problem is tracked
separately in #9203.
fullsend-ai-triage commentedon Nov 9, 2026
🤖 Finished Triage · ✅ Success · Started 8:38 AM UTC · Completed 8:41 AM UTC
Commit:
5c41e93· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.32