Skip to content

Reusable workflow dispatch fails silently (zero jobs) on rapid-fire pull_request_review events for fork PRs #7989

Open

Description

@fullsend-ai-retro

What happened

On 2026-09-29 ~17:23 UTC, PR #7808's author (tpouyer) posted 10 GitHub "COMMENTED" reviews within an ~18 second window on PR #7808, a fork PR (tpouyer/fullsend → fullsend-ai/fullsend). This triggered 10 fullsend reusable-workflow runs (event=pull_request_review, run IDs 36604587677 through 36604622853). Every one failed with GitHub's generic "This run likely failed because of a workflow file issue" banner, with jobs: [] (zero jobs ever scheduled), no check-run annotation, and no logs. The exact same commit's pull_request_target dispatch succeeded minutes earlier on the identical workflow file, ruling out a YAML/workflow-definition bug. The identical zero-job failure signature was independently confirmed on a second, unrelated fork PR (#7718, author amastbau), occurring 53 times across several rapid-review bursts on 2026-09-29/30. Isolated (non-burst) single-review instances of the same signature also occurred 3 other times earlier in PR #7808's own history (Sep28 19:57, 21:03; Sep29 05:57), suggesting the failure correlates with — but is not exclusively caused by — review-submission volume on fork (cross-repository) PRs. A search of open issues found no existing report of this exact symptom; the closest adjacent issues (#7521, concurrency-group SHA handling; #7448, fork-PR checkout guard failing at job level) describe different, job-level failures rather than this pre-job dispatch failure.

What could go better

This is a platform-tooling reliability gap in reusable-workflow dispatch for cross-repo (fork) PR events, not a review-quality or agent-behavior issue. Because the failures are entirely silent at the GitHub Actions level (no annotation, no logs, no scheduled job), nobody would notice without manually checking the Actions tab run list. On PR #7808 the consequence was benign — the agent's review had already been delivered via an earlier successful dispatch, and the failed runs were triggered by the author's own follow-up responses, not a pending review request. But on a PR where a human CHANGES_REQUESTED review genuinely needs a review-agent follow-up dispatched off a pull_request_review event, this same failure mode could cause a review response to be silently dropped with no visible signal to author, reviewer, or on-call. Confidence that this is a real, reproducible bug (not a one-off fluke) is moderate-high given two independent fork PRs and authors show the identical signature. Confidence in the root cause is lower: GitHub exposes no error detail for this failure class, so I can only narrow it to the reusable-workflow uses: ref-resolution step specifically for cross-repo pull_request_review events — plausibly a GitHub-side rate limit or race when several review events fire within seconds of each other on a fork PR.

Proposed change

Add resilience around reusable-workflow dispatch for pull_request_review-triggered runs on fork PRs. Concrete options to evaluate, in order of ease: (1) Add a lightweight always-scheduled job (e.g., a no-op "canary"/guard job that runs before the real dispatch logic) so a ref-resolution failure surfaces as a visible failed job with logs instead of a ghost zero-job run. (2) Add a scheduled reconciliation check (e.g., hourly) that diffs recent pull_request_review events against corresponding workflow runs and alerts when an event produced zero jobs, so silent drops are caught even if not prevented. (3) Investigate with GitHub Support whether reusable-workflow ref-resolution for cross-repo pull_request_review events is subject to an undocumented rate limit when multiple review events fire within seconds, and if confirmed, add a short debounce/coalescing step before dispatch to collapse rapid-fire review submissions into a single dispatch. Use run ID cluster 36604587677-36604622853 (PR #7808) and the amastbau/#7718 cluster (2026-09-29/30) as repro evidence.

Validation criteria

Reproduce the trigger condition on a test fork PR (submit 5+ GitHub reviews within 30 seconds) and confirm every resulting pull_request_review dispatch either produces a job (success or a visible, logged failure) or is intentionally coalesced/deduped with a logged reason. In production telemetry, the zero-job "workflow file issue" signature on pull_request_review events should not recur across the next 30 days / 20 observed rapid-review bursts; if it does, the reconciliation alert from option (2) should fire within 1 hour of occurrence.


Generated by retro agent from #7808

Activity

  1. added
    ready-for-triage
    on Oct 2, 2026
  2. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 2:46 PM UTC · Completed 2:49 PM UTC

    Commit: fc96d79 · View workflow run →

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

  3. added
    triaged
    type/bug
    component/dispatch
    component/ci
    priority/medium
    on Oct 2, 2026
  4. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    Thanks for the detailed retro writeup — the run-ID evidence and the independent corroboration on a second fork PR (#7718) make a strong case this is real and reproducible, even though GitHub's lack of error detail keeps the root cause at moderate confidence.

    A check against the two adjacent issues you flagged confirms they're genuinely distinct: #7521 and #7448 both involve a job that is scheduled and then fails, whereas this is a pre-job, zero-job dispatch failure — so no duplicate there, and no open PR currently addresses this symptom.

    Heads-up for implementation: every proposed mitigation (canary/guard job, reconciliation alert, or a debounce step) requires changes to the reusable GitHub Actions workflow files (.github/workflows/reusable-dispatch.yml and/or its callers). The code agent cannot modify workflow files under its current token permissions, so this will need a human-authored PR or explicit maintainer action to land. Per the repo's workflow-contracts guidance, any dispatch logic change here must also be mirrored across the per-org and per-repo dispatch chains where applicable.

    Suggested next step: start with option (1) from the writeup (an always-scheduled guard job) since it's the lowest-effort way to convert this from a silent failure into a visible, logged one, and pursue the GitHub Support inquiry in parallel given the rate-limit hypothesis.


    Labels: Matches repo conventions pairing a confirmed defect in dispatch/CI tooling with component/dispatch and component/ci, at medium priority given the observed impact was benign but the failure mode is silent and could affect real review flows.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
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

    bugcomponent/cicomponent/dispatchpriority/mediumready-for-triagetriagedtype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions