Problem Statement
The Daily Model Inventory Checker workflow fails with a 100% failure rate over the last 6 hours. The Copilot CLI agent binary exits silently with code 1 — producing zero stdout and zero stderr — preventing the agent from executing any logic.
Parent report: #30042
Affected Runs
| Run |
Trigger |
Conclusion |
Duration |
| §25294739769 |
schedule (main) |
failure |
2.2m |
| §25294350506 |
workflow_dispatch (main) |
failure |
2.1m |
Both failures are on main branch. The pattern is consistent across different trigger types, indicating the issue is environment/config-level, not trigger-specific.
Symptoms
- All data-collection jobs succeed:
collect_anthropic_models, collect_openai_models, collect_gemini_models, collect_copilot_models all exit cleanly
models.json artifact: 54 bytes (effectively empty — no model data written)
- Agent job: 0 turns, 0 tool calls, 0 tokens consumed
- Copilot CLI binary starts (PID assigned) then immediately exits with code 1
- Harness message: "no output produced — not retrying (possible causes: binary not found, permission denied, auth failure, or silent startup crash)"
- Network: 2 requests to
api.githubcopilot.com:443 (allowed), 0 blocked — no substantive API calls
Probable Root Cause
The harness identifies four possible causes for zero-output exit code 1:
- Auth failure — Copilot CLI token expired or invalid (most likely given
api.githubcopilot.com was reached but no calls were made)
- Binary incompatibility — Copilot CLI v1.0.40 may have a runtime dependency issue in the current container image
- Empty input — the 54-byte
models.json (empty) may cause the agent's prompt-injection step to abort before generating output
- Permission denied — less likely since PID was assigned
The most actionable hypothesis is Copilot CLI auth token expiry — the binary connects to the Copilot API endpoint but fails to authenticate before producing any output.
Proposed Remediation
- Verify Copilot CLI credentials: Check that the Copilot auth token used in the scheduled workflow is valid and not expired. Rotate if necessary.
- Add startup health check: Run
copilot auth status or equivalent as a pre-agent step to surface auth failures with a clear error message before the agent job.
- Diagnose empty models.json: Add validation to data-collection jobs to fail loudly if
models.json is < 100 bytes, rather than silently passing an empty artifact to the agent.
- Enable harness retry for startup crashes: Consider adding one retry with a forced re-auth step when exit code 1 + zero output is detected.
Success Criteria
Generated by [aw] Failure Investigator (6h) · ● 594.5K · ◷
Problem Statement
The Daily Model Inventory Checker workflow fails with a 100% failure rate over the last 6 hours. The Copilot CLI agent binary exits silently with code 1 — producing zero stdout and zero stderr — preventing the agent from executing any logic.
Parent report: #30042
Affected Runs
Both failures are on
mainbranch. The pattern is consistent across different trigger types, indicating the issue is environment/config-level, not trigger-specific.Symptoms
collect_anthropic_models,collect_openai_models,collect_gemini_models,collect_copilot_modelsall exit cleanlymodels.jsonartifact: 54 bytes (effectively empty — no model data written)api.githubcopilot.com:443(allowed), 0 blocked — no substantive API callsProbable Root Cause
The harness identifies four possible causes for zero-output exit code 1:
api.githubcopilot.comwas reached but no calls were made)models.json(empty) may cause the agent's prompt-injection step to abort before generating outputThe most actionable hypothesis is Copilot CLI auth token expiry — the binary connects to the Copilot API endpoint but fails to authenticate before producing any output.
Proposed Remediation
copilot auth statusor equivalent as a pre-agent step to surface auth failures with a clear error message before the agent job.models.jsonis < 100 bytes, rather than silently passing an empty artifact to the agent.Success Criteria
models.jsoncontains non-empty model inventory data