Skip to content

Fix stale DevOps health critical findings - #1376

Draft
AbhitejJohn wants to merge 6 commits into
mainfrom
abhitejjohn-fix-health-dashboard
Draft

AbhitejJohn wants to merge 6 commits into
mainfrom
abhitejjohn-fix-health-dashboard

Conversation

@AbhitejJohn

@AbhitejJohn AbhitejJohn commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fix stale critical findings in the DevOps health dashboard by using bounded sequential Actions pagination, isolating evaluation failures from repository-wide scopes, and completing one all-branch evaluation inventory before lower-priority collection. A completed P5 inventory supplies the P1 main-branch and P6 scheduled-main run sets; targeted P1/P6 scans remain independent fail-closed fallbacks.

The original failure path is proven in run 42747733337: the agent could not consume the approximately 367 KB 100-run response, marked pipeline scopes unavailable, and carried six October fingerprints forward. Run 42902012658 safely removed five stale P1 identities, but stopped P5 after four full five-item pages. Run 42909097197 proved same-day history coalescing, but exposed a 1,2,3,4,100 page jump. The final patch requires every full page N to be followed by N+1 and forbids skipped pages or jumps to the page limit.

Impact: #695 has one valid state marker and one history entry per date. Stale P1 identities are gone, still-unavailable findings retained their history and occurrence counts, and the publisher caused no duplicate investigations. The final exact head is a0dedb1231670c04767fb81ce5133a1254bc4533.

Limits: The corrected-head canary run 42912321530 passed activation but the managed Copilot provider returned HTTP 401 twice before the agent made any MCP or collection call. The root cause of that provider authentication failure is not established. Therefore live sequential P5 compliance remains unproven. This PR does not fix evaluation runtime failures, the orphan-plugin warning, provider credentials, or unrelated gh-aw upgrade #1374.

Related issue

Fixes #695.

Validation

Validation Result and proven boundary Not proven
Exact-head hosted CI at a0dedb1231 Actionlint, agentic validation, token-failover, repository lint/checks, Vally adapter, evaluation tools, CODEOWNERS, and CLA passed Live agent compliance
Local production contract Strict compilation with pinned gh-aw v0.89.22 regenerated all three dependent health locks; repository agentic validator passed Runtime model behavior
Regression suite python -m unittest eng.evaluation.test_token_failover: 67 passed, 3 skipped. Mutation guards cover source/shared clauses; page-five regression requests [1,2,3,4,5]; publisher test proves same-date replacement and distinct-date preservation Live Actions collection
Actionlint 1.7.7 19 diagnostics matched the existing baseline; 0 new diagnostics A clean baseline
Live state canary 42902012658 Five stale P1 findings resolved; two unavailable findings preserved; one marker; no duplicate fingerprints or investigation dispatches Complete P5 inventory
Live history canary 42909097197 All eight jobs and safe output passed; duplicate 2026-11-10 history entries coalesced to one; no investigation dispatch P5 failed closed after the observed page jump
Corrected-head canary 42912321530 Exact branch/SHA dispatch; activation passed; provider HTTP 401 stopped execution with zero agent invocations and zero safe-output items. #695 body and updatedAt were unchanged, comments stayed at 11, marker stayed at 1, and no investigation run was created Sequential P5 pages, current-state publication, or stale aggregate resolution
Direct exact-window API data Cutoff 2026-11-09T22:12:07Z: 48 completed evaluation runs: 21 success, 2 failure, 3 cancelled, 19 skipped, 3 action-required. P5 denominator is success + failure = 23; rate is 2/23 = 8.7%, below both alert thresholds Workflow calculation because the agent did not start
gh aw audit of 42912321530 Reported workflow_failed; read-only posture with 0 created items and 0 safe-output items. It also reported threat_detection_job_failed, which conflicts with GitHub job metadata showing the detection job completed successfully; this discrepancy is unresolved Successful workflow execution
Formatting and security git diff --check passed; focused security review found no vulnerabilities Provider credential health

Confidence: Medium. Local, generated-artifact, hosted-CI, publisher, and prior live state-safety evidence are strong. The final production-agent pagination behavior has zero live evidence because the corrected-head canary stopped at provider authentication before any tool call.

Merge recommendation: Ready for human code review, but keep the PR draft and do not merge until the managed Copilot provider authentication is repaired and one exact-head canary proves sequential P5 pages reach a short page or the 24-hour cutoff and resolves the stale aggregate finding at the then-current sub-15% rate.

Rollback: No rollback was required for either final canary. Run 42909097197 made only the intended history coalescing update and one normal summary comment. Run 42912321530 made no issue, comment, or investigation mutation. If a later run corrupts the state marker or dispatches duplicate/wrong investigations, stop further health dispatches, revert this PR, regenerate the three health locks with gh-aw v0.89.22, and restore the saved pre-canary #695 body from issue history.

Checklist

  • I searched existing issues and pull requests to avoid duplicates.
  • I kept this pull request focused and avoided unrelated refactors.
  • I added or updated tests, evals, or documentation when changing skill or agent behavior.
  • I updated CODEOWNERS when adding or moving owned content. (Not applicable: no owned content moved or added.)
  • I updated all marketplace manifests when plugin metadata changed. (Not applicable: no plugin metadata changed.)
  • I updated eng/known-domains.txt for any new external domains referenced by skill content. (Not applicable: no new domain was added.)
Evaluation changes only

For every eval-related change, including a new eval:

  • Scenarios are necessary, distinct, and use natural prompts. (Not applicable: no eval spec changed.)
  • Graders cover the full result, accept the golden result, and reject a realistic mutation. (Not applicable: no eval spec changed.)
  • No-op, dormancy, and statistical power are covered where needed. (Not applicable: no eval spec changed.)
  • I ran the applicable production evaluation path and recorded the result above. (No scored asset comparison was needed.)
  • If this fixes a failed eval, I classified the failure before editing skill content. (Not applicable: this fixes dashboard collection.)
  • If this broadly changes routing or behavior, I checked separate model-family evidence. (Not applicable to skill routing.)

Fixture Tests and others added 3 commits November 10, 2026 09:52
Add executable pagination and state-transition coverage, align the shared observation-scope contract, and regenerate all dependent workflow locks.

Co-authored-by: Copilot App <[email protected]>
Bind regression guards to the production prompt and runtime imports, exercise the real publisher outbox and dispatch safety paths, and label agent-side logic as a reference model.

Co-authored-by: Copilot App <[email protected]>
Fixture Tests and others added 2 commits November 10, 2026 13:37

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — a0dedb12 Deployed Nov 10, 2026 by AbhitejJohn via conclusion #418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🏥 Repository Health Dashboard

1 participant