Repository navigation
[health] Metrics Collector — 2 consecutive failures, metrics infrastructure degraded #23344
Description
Overview
The Metrics Collector workflow has failed on 2 consecutive runs:
| Run | Date | Conclusion |
|---|---|---|
| #107 | 2026-03-27T19:32Z | ❌ failure |
| #106 | 2026-03-26T19:39Z | ❌ failure |
| #105 | 2026-03-25T19:35Z | ✅ success |
This is a metrics infrastructure issue — the Metrics Collector feeds shared metrics data to:
- Workflow Health Manager (
/tmp/gh-aw/repo-memory/default/metrics/latest.json) - Agent Performance Analyzer
- Campaign Manager
Without working metrics, trend analysis across all meta-orchestrators is degraded.
Root Cause Analysis
Run #107 failure (primary failing job: push_repo_memory):
Working in repository: /home/runner/work/gh-aw/gh-aw
Checking out branch: memory/meta-orchestrators...
File glob filter enabled: metrics/**
##[warning]Skipping file that does not match allowed patterns: agent-performance-latest.md
Pattern: "metrics/**" -> ❌ NO MATCH
Scan complete: Found 0 file(s) to copy
No files to copy from artifact
##[error]Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under
'/home/runner/work/gh-aw/gh-aw/actions/setup'.
Two issues:
- Wrong file location: The agent is writing
agent-performance-latest.mdto the artifact root instead of under themetrics/subdirectory. Thepush_repo_memoryjob has ametrics/**glob filter that doesn't match root-level files. Result: Zero metrics saved. - Post Setup cleanup failure: Same systemic bug as PR Triage Agent ([aw] PR Triage Agent failed #23151) — after checking out
memory/meta-orchestratorsbranch,actions/setupis not found.
Run #106 failure appears to be the same pattern.
Impact
- Latest metrics file (
metrics/latest.json) is now stale (last written by run Remove frontmatter concurrency_policy support, implement code-based concurrency rules #105 on 2026-03-25) - Historical daily metrics are not being appended
- WHM and Agent Performance Analyzer are operating without fresh data
- This affects accuracy of health scores and trend analysis
Possible Fixes
Issue 1 (agent writing wrong path):
The Metrics Collector prompt instructs the agent to write to /tmp/gh-aw/repo-memory/default/metrics/latest.json. If the agent is writing to /tmp/gh-aw/repo-memory/default/agent-performance-latest.md instead, either:
- The agent misunderstood the instructions
- The agent is reading from another memory source and re-writing it
- The glob filter in the
push_repo_memoryjob configuration is too restrictive
Issue 2 (Post Setup cleanup): Shared systemic bug tracked in #23151.
Action Required
- Investigate run MCP Network Permissions Test Results - Domain Restrictions Validation #107 agent job logs to understand why
agent-performance-latest.mdwas created instead ofmetrics/latest.json - Consider updating the
push_repo_memoryfile-glob configuration to include*.mdor fix the agent prompt - Verify the metrics format after fixing — downstream consumers depend on the JSON structure
Generated by Workflow Health Manager · run #284
Note
🔒 Integrity filter blocked 8 items
The following items were blocked because they don't meet the GitHub integrity level.
- #18407
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #21242
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #21784
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #17352
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #18991
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #23268
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #21813
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #21306
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
To allow these resources, lower min-integrity in your GitHub frontmatter:
tools:
github:
min-integrity: approved # merged | approved | unapproved | noneGenerated by Workflow Health Manager - Meta-Orchestrator · ◷
- expires on Mar 29, 2026, 12:04 PM UTC
Activity