Repository navigation
feat: implement issue #2373 — [Fleet Monitor] combsmith/.github-private — .github/workflows/sync-scope-guard.yml - #2378
Conversation
…te — .github/workflows/sync-scope-guard.yml
This comment has been minimized.
This comment has been minimized.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This comment has been minimized.
This comment has been minimized.
|
Dev-Lead — waiting on PR blockers (intent: review-changes)PR: #2378 |
|
Note @don-petry I reviewed this PR and no code changes were needed, but I can't mark it done yet: required check |
|
Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-10-21T02:32:45Z. |
QA Lead — test-risk advisoryRisk tier: LOW. This changes one line in the monitoring allowlist. It cannot change what ships or what the guard enforces. Both failed runs were the guard correctly rejecting PR #2366 for having no path manifest, not a broken check. What I'd shore up (highest leverage first):
Escalate? no Advisory only — I comment, I do not change code. Ground: BMAD Test Architecture |
|
Acknowledged: Codex's review run failed to complete (no findings were produced, only a status table). No action needed. |
|
Acknowledged: Codex usage-limit notice. It carries no finding, so no action is needed. |
|
Acknowledged: CodeRabbit reports no actionable comments. Its Merge Risk is Minimal and the pre-merge checks passed. It has no retained concerns, nitpicks or outside-diff items, so no action is needed. |
|
Acknowledged: SonarCloud Quality Gate passed. No action needed. |
Dev-Lead — fix-reviews (no-changes)Agent reasoning |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: c83c5df74a3e10286ddd51843e4e374575813373
Review mode: triage-approved (single reviewer)
Summary
Adds sync-scope-guard.yml to the Fleet Monitor gate-workflow exemption list (FLEET_GATE_WORKFLOWS in scripts/fleet_report.sh), adds a matching bats test, and updates the AGENTS.md exception note. This is a one-line change to the monitoring allowlist. It does not change what the guard enforces. Confirms the triage assessment: LOW risk.
Linked issue analysis
#2373 is a Fleet Monitor DEGRADED tracker for sync-scope-guard.yml (25% failure rate, 2 of 8 runs). That workflow is a required gate that fails closed on out-of-scope sync PRs (#1700). Like test-deletion-guard.yml and holdout-guard.yml (#941), its failure conclusions are intentional enforcement, so the tracker is a false positive. Adding it to the gate list is the fix AGENTS.md prescribes ("Add new gate workflows of this class to that list"). Closes #2373 is appropriate for a tracker issue.
Findings
- No blocking findings.
filter_high_failurematches gates by exact basename, and its ERROR-row path still surfaces read failures for gates. The exemption therefore stays narrow.- The new bats test mirrors the existing per-gate tests and uses the issue's real metrics row.
- Non-blocking, from the QA Lead advisory: (a) the producer defect that caused the real failures, a sync PR with no manifest (#2366), should be tracked separately so this exemption doesn't hide it. (b) A whole-list test of the
FLEET_GATE_WORKFLOWSdefault and a near-miss name test would harden the allowlist. - No unresolved review threads. CodeRabbit approved, and the SonarCloud quality gate passed.
- MCP secret scan:
run_secret_scanningwas not available in this run. The diff contains no secrets or credentials, and gitleaks passed.
CI status
All required checks green: Lint, shellcheck/ShellCheck, bats, unit-tests, CodeQL, SonarCloud, gitleaks, actionlint, AgentShield, and the validate-* suite. Two earlier sync-scope-guard and guard runs show CANCELLED. Each workflow sets concurrency: cancel-in-progress, so a newer run superseded them, and the superseding runs on the same SHA passed. Remaining entries are SKIPPED (not applicable).
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 5.5 [opus 4.8, opus 4.7]). Reply if you need a human review.
|
pr-review approved on PARTIAL advisory evidence: 2/5 required advisory bots reported before the gate's head-age-timeout fallback proceeded. Recorded for the miss-rate metric (#1596). |
|
No description provided. |



Problem
[Fleet Monitor] combsmith/.github-private — .github/workflows/sync-scope-guard.yml
From the issue: | Metric | Value | |---|---| | Failure Rate | 25% (2 / 8 runs) | | Status | DEGRADED | | p50 Duration | 25s | | p95 Duration | 1380s | | Successful Runs | 4 | | Cancelled Runs | 2 |
Risk
Low — changes automation shell logic under scripts/, covered by shellcheck (--severity=warning) and the bats suite.
Test plan
Tests added/updated:
tests/fleet_report.bats. Verification:bash scripts/dev-lead-lint.sh(shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
This PR's Lint (shellcheck) and bats checks show pass/fail; watch subsequent dev-lead / pr-review runs for behavioral regressions.
Closes #2373