Repository navigation
Description
Summary
When pre_activation's team-membership/provenance check (check_membership.cjs) hits a transient GitHub API error, it degrades the check to is_team_member=false and logs a warning, but the job itself reports conclusion: success. Because the compiled activation job only runs when pre_activation.outputs.activated == 'true', and the conclusion job's own if: never becomes true when activation itself never ran, the entire downstream chain is skipped — including the step that edits the "🚀 started processing" reaction comment into a terminal ✅/❌ state. The public-facing comment is left stuck on "started processing" indefinitely, with no failure signal anywhere: not on the PR, not in the Actions UI (the job stays green).
This is related to #28149 (closed as not planned) but distinct. #28149 covers a transient failure in the conclusion job's own git checkout step, which hard-fails visibly (red ❌). This report covers a transient failure in pre_activation's REST call, which is silently swallowed (job stays green ✅) and additionally makes conclusion structurally unreachable — so there is no failure signal at all, anywhere.
Environment
- gh-aw CLI/schema version:
2.1.185 - Action framework (AWF) version:
v0.27.7 github/gh-aw-actionspinned at commit8c7d04ebf1ece56cd381446125da3e0f6896294a- Trigger:
on: slash_command:withstrategy: centralized - Engine:
claude
Observed behavior (production incident, not reliably reproducible on demand — depends on a transient GitHub API 500)
- A slash-command comment triggers the centralized dispatcher, which posts a reaction comment and dispatches the target workflow via
workflow_dispatch. - In the target workflow run,
pre_activation'sCheck team membership for command workflowstep (check_membership.cjs) callsGET /repos/{owner}/{repo}/pulls/{number}to verify provenance. In the observed run this call returned500. - The step logs:
and completes with
GET /repos/{owner}/{repo}/pulls/{number} - 500 with id ... ##[warning]Repository permission check failed: Unable to verify pull request provenance ().is_team_member=false. There is no retry. pre_activationjob conclusion:success. Outputactivated: false.activationjob (if: needs.pre_activation.outputs.activated == 'true'): skipped.agent,detection,safe_outputsjobs: all skipped (transitively depend onactivation).conclusionjob — responsible for editing the reaction comment into a terminal state — has:Sinceif: > always() && (needs.agent.result != 'skipped' || needs.activation.outputs.lockdown_check_failed == 'true' || needs.activation.outputs.stale_lock_file_failed == 'true' || needs.activation.outputs.daily_ai_credits_exceeded == 'true')
agent.result == 'skipped'and none of the threeactivation-output flags are true (becauseactivationnever ran to set them), this condition isfalse, soconclusionis also skipped.- End state: the run shows
conclusion: successoverall, no error anywhere in the Actions UI, and the triggering comment is permanently stuck at "🚀 started processing this issue comment" — indistinguishable from a workflow that is still legitimately running.
Expected behavior
A transient infrastructure error during the permission/provenance check should not be indistinguishable from "unauthorized commenter, stay silent." Once a public "started processing" reaction has been posted, every terminal outcome — success, legitimate-auth-rejection (stay silent, as today), or infra error — should be distinguishable, and an infra error should update the comment to a clear failure/retry state instead of leaving it stuck forever.
Suggested fixes (either would resolve this)
- Retry with backoff on the provenance check's REST call — same pattern proposed as Option A in [aw-failures] Conclusion job brittle when GitHub returns HTTP 500/DNS errors — cascades to
setup_globals.cjsnot found #28149 (3 attempts, exponential backoff 5s/15s/30s), applied around theGET /repos/{owner}/{repo}/pulls/{number}call incheck_membership.cjs(and/orcheck_command_position.cjs) before falling back tois_team_member=false. This absorbs a single transient 5xx blip, which appears to be the actual majority case. - Make the failure observable even without a retry: have
check_membership.cjsdistinguish "checked and not authorized" from "could not verify due to an API/infra error," expose that as a separatepre_activationoutput (e.g.activation_check_error), and extend theconclusionjob'sif:to also fire on that flag — so an unretried transient error still results in the reaction comment being updated to a terminal (⚠️ ) state instead of being silently abandoned.
Impact
Silent, indistinguishable-from-still-running failures erode trust in slash-command workflows: a user who sees "started processing" with no further update for 10+ minutes cannot tell whether the run is slow, stuck, or has already failed — the only signal available today is to guess and re-run the command after an arbitrary wait.
Activity