-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Closed
Copy link
Labels
Description
The Metrics Collector workflow has begun failing in the activation job with an unexpected infrastructure error. This is a regression from its previously stable state (5+ consecutive successes as of 2026-02-25).
Error Details
Workflow: Metrics Collector - Infrastructure Agent
Run: §22526204448 (run #73, 2026-02-28T18:13)
Job: activation
Error:
Error: ENOENT: no such file or directory, open '/tmp/gh-aw/aw_info.json'
at Object.writeFileSync (node:fs:2415:20)
at eval (eval at callAsyncFunction ...
```
### Root Cause Analysis
The `activation` job fails when `generateWorkflowOverview(core)` tries to write `/tmp/gh-aw/aw_info.json`. This file is created by the `gh-aw setup` action as part of initialization. The error indicates `/tmp/gh-aw/` directory did not exist when the activation job ran.
Possible causes:
1. **Transient runner failure**: The setup step may have failed silently and the directory was never created
2. **Setup action regression**: A recent change to the setup action may have broken directory creation
3. **Race condition**: The setup step may complete but not have created the expected path
### Impact
- Metrics Collector is our infrastructure agent — it provides daily metrics for other meta-orchestrators (Campaign Manager, Agent Performance Analyzer, Workflow Health Manager)
- Failure of this workflow degrades shared memory quality and trend analysis
- Without fresh metrics, health monitoring relies on stale data
### Suggested Fix
1. Check recent changes to `actions/setup` and the `generate_workflow_overview.cjs` script
2. Verify the setup action properly creates `/tmp/gh-aw/` before the activation job runs
3. Add explicit directory creation guard (`mkdir -p /tmp/gh-aw`) in setup if missing
### Debugging
```
/agent agentic-workflows debug the agentic workflow metrics-collector failure in https://github.com/github/gh-aw/actions/runs/22526204448
Detected by: Workflow Health Manager, run §22538460268
Generated by Workflow Health Manager - Meta-Orchestrator
- expires on Mar 2, 2026, 7:28 AM UTC
Reactions are currently unavailable