You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All 43 monitored failures are startup failures (0 jobs, no billable compute), and every one is an issue_comment event. Over a 300-run sample they cluster into a single ~90-second burst (2026-07-14 01:39β01:40 UTC) of ~42 comments posted on one non-PR issue ("ContentTwin Audit"). Outside that burst there are essentially zero failures β normal runs skip cleanly via the reusable's job-level if:.
The burst runs share one concurrency group (github.workflow + issue number). The local concurrency block added in #323 uses cancel-in-progress: true; when it supersedes a pending reusable-caller run (before the reusable resolves), GitHub records the cancellation as a startup failure, not as a clean cancelled. That is what inflates the Fleet Monitor failure rate.
Empirical confirmation: the sibling add-to-project.yml, fixed in #331 with cancel-in-progress: false + an event_name-keyed group, records superseded burst runs as cancelled (36/129) with only 2.3% failure β healthy. The org canonical pr-review-mention.yml template carries no concurrency at all; the block here is a local divergence.
Scope
Align the concurrency block to the org's validated add-to-project (#331) pattern β cancel-in-progress: false with a group keyed on github.event_name and the issue/PR number β so superseded burst runs are recorded as cancelled instead of startup-failing, without touching the pinned uses: ref, triggers, or permissions.
scripts/tests/pr-review-mention-workflow.bats β flip the "cancels in-progress runs" guard to assert cancel-in-progress is false; assert the group keys on github.event_name as well as issue/PR number; refresh header rationale. Leave the trigger-immutability and stable-channel-delegation guards untouched.
Every monitored failure was a startup failure β 0 jobs, no billable compute β and all were issue_comment events. Across a 300-run sample the 42 failures clustered into a single ~90-second burst (2026-07-14 01:39β01:40 UTC) of comments posted on one non-PR issue; outside that burst the workflow is essentially failure-free (normal runs skip cleanly via the reusable's job-level if:).
Those burst runs all shared one concurrency group. The local block added in #323 used cancel-in-progress: true; superseding a pending reusable-caller run (before the reusable resolves) makes GitHub record the cancellation as a startup failure, not a clean cancelled β inflating the Fleet Monitor failure rate.
Sibling add-to-project.yml, fixed in #331 with cancel-in-progress: false, records superseded burst runs as cancelled (36/129 in its history) with only 2.3% failure β healthy. This fix ports that validated pattern.
Plan Execution
Diagnosed via gh run list / API: 42/42 failures are 0-job startup failures in one comment burst
$ bats scripts/tests/pr-review-mention-workflow.bats
1..7
ok 1 pr-review-mention workflow file exists
ok 2 pr-review-mention workflow is valid YAML
ok 3 pr-review-mention workflow declares a concurrency block
ok 4 pr-review-mention concurrency does not cancel in-progress runs
ok 5 pr-review-mention concurrency group is keyed per event and conversation
ok 6 pr-review-mention triggers are unchanged (stub must not alter events)
ok 7 pr-review-mention still delegates to the org reusable at the stable channel
$ bats scripts/tests/ # full suite
52 tests, 0 failures
$ bash .dev-lead/scripts/dev-lead-lint.sh
[lint] shellcheck on 2 file(s)...
[lint] validating .github/CODEOWNERS... OK
[lint] all checks passed
scripts/tests/pr-review-mention-workflow.bats: flipped the cancel-in-progress guard to assert false, added a github.event_name group-key assertion, and refreshed the header rationale. Trigger-immutability and stable-channel-delegation guards left intact.
Notes
Trade-off is intentional and matches org precedent: superseded burst runs now surface as cancelled (not counted against the failure-rate threshold) rather than as startup failure. add-to-project.yml runs healthy under the same pattern.
Activity
don-petry commentedon Jul 14, 2026
Dev-Lead Implementation Plan
Issue: #333 β [Fleet Monitor] petry-projects/ContentTwin β .github/workflows/pr-review-mention.yml
Root cause
All 43 monitored failures are startup failures (0 jobs, no billable compute), and every one is an
issue_commentevent. Over a 300-run sample they cluster into a single ~90-second burst (2026-07-14 01:39β01:40 UTC) of ~42 comments posted on one non-PR issue ("ContentTwin Audit"). Outside that burst there are essentially zero failures β normal runs skip cleanly via the reusable's job-levelif:.The burst runs share one concurrency group (
github.workflow+ issue number). The local concurrency block added in #323 usescancel-in-progress: true; when it supersedes a pending reusable-caller run (before the reusable resolves), GitHub records the cancellation as a startup failure, not as a cleancancelled. That is what inflates the Fleet Monitor failure rate.Empirical confirmation: the sibling
add-to-project.yml, fixed in #331 withcancel-in-progress: false+ anevent_name-keyed group, records superseded burst runs as cancelled (36/129) with only 2.3% failure β healthy. The org canonicalpr-review-mention.ymltemplate carries no concurrency at all; the block here is a local divergence.Scope
Align the concurrency block to the org's validated
add-to-project(#331) pattern βcancel-in-progress: falsewith a group keyed ongithub.event_nameand the issue/PR number β so superseded burst runs are recorded ascancelledinstead of startup-failing, without touching the pinneduses:ref, triggers, or permissions.Implementation Checklist
.github/workflows/pr-review-mention.ymlβ setcancel-in-progress: falseand key the concurrency group ongithub.event_name+ issue/PR number; refresh the rationale comment (reference [Fleet Monitor] petry-projects/ContentTwin β .github/workflows/pr-review-mention.ymlΒ #333)Tests to Write
scripts/tests/pr-review-mention-workflow.batsβ flip the "cancels in-progress runs" guard to assertcancel-in-progressisfalse; assert the group keys ongithub.event_nameas well as issue/PR number; refresh header rationale. Leave the trigger-immutability and stable-channel-delegation guards untouched.Test Command
bats scripts/tests/don-petry commentedon Jul 14, 2026
Dev-Lead: Implementation Complete
Root cause (confirmed from run history)
Every monitored failure was a startup failure β 0 jobs, no billable compute β and all were
issue_commentevents. Across a 300-run sample the 42 failures clustered into a single ~90-second burst (2026-07-14 01:39β01:40 UTC) of comments posted on one non-PR issue; outside that burst the workflow is essentially failure-free (normal runs skip cleanly via the reusable's job-levelif:).Those burst runs all shared one concurrency group. The local block added in #323 used
cancel-in-progress: true; superseding a pending reusable-caller run (before the reusable resolves) makes GitHub record the cancellation as a startup failure, not a cleancancelledβ inflating the Fleet Monitor failure rate.Sibling
add-to-project.yml, fixed in #331 withcancel-in-progress: false, records superseded burst runs as cancelled (36/129 in its history) with only 2.3% failure β healthy. This fix ports that validated pattern.Plan Execution
gh run list/ API: 42/42 failures are 0-job startup failures in one comment burstpr-review-mention.ymlcarries no concurrency (the block here is a local [Fleet Monitor] petry-projects/ContentTwin β .github/workflows/pr-review-mention.ymlΒ #323 divergence)pr-review-mention-workflow.batsto requirecancel-in-progress: false+github.event_name-keyed group (red)add-to-project.yml(feat: implement issue #330 β [Fleet Monitor] petry-projects/ContentTwin β .github/workflows/add-to-project.ymlΒ #331) (green)dev-lead-lint.shpassTest Results
Files Changed
.github/workflows/pr-review-mention.yml:cancel-in-progress: true β false; concurrency group re-keyed ongithub.event_name+ issue/PR number (mirrors add-to-project feat: implement issue #330 β [Fleet Monitor] petry-projects/ContentTwin β .github/workflows/add-to-project.ymlΒ #331); refreshed rationale comment. The pinneduses:ref, trigger events, and job-levelpermissions:block are untouched.scripts/tests/pr-review-mention-workflow.bats: flipped the cancel-in-progress guard to assertfalse, added agithub.event_namegroup-key assertion, and refreshed the header rationale. Trigger-immutability and stable-channel-delegation guards left intact.Notes
cancelled(not counted against the failure-rate threshold) rather than as startupfailure.add-to-project.ymlruns healthy under the same pattern.cancel-in-progress: true); they were re-pointed at the corrected behavior, not weakened β both fail against the old file and pass against the new one.feat: implement issue #333 β [Fleet Monitor] petry-projects/ContentTwβ¦