fix: agents-weekly-metrics uses env vars not CLI args#134
Conversation
The aggregate_agent_metrics.py script uses environment variables (METRICS_DIR, OUTPUT_PATH), not CLI arguments. The workflow was calling it with --artifacts-dir and --output which don't exist. Found while evaluating PR #104 (now closed as redundant).
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug in the agents-weekly-metrics workflow where the aggregate_agent_metrics.py script was being invoked with CLI arguments (--artifacts-dir and --output) that don't exist. The script actually reads configuration from environment variables (METRICS_DIR and OUTPUT_PATH).
Key changes:
- Replaced CLI argument invocation with environment variable configuration for the metrics aggregation script
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Automated Status SummaryHead SHA: 040992f
Coverage Overview
Coverage Trend
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
🤖 Keepalive Loop StatusPR #134 | Agent: Codex | Iteration 0/5 Current State
|
The
aggregate_agent_metrics.pyscript uses environment variables (METRICS_DIR,OUTPUT_PATH), not CLI arguments. The workflow was calling it with--artifacts-dirand--outputwhich don't exist.Found while evaluating PR #104 (now closed as redundant).
Changes
Testing
METRICS_DIRandOUTPUT_PATHfrom environmentAutomated Status Summary
Scope
Tasks
Acceptance criteria
Head SHA: e64a323
Latest Runs: ✅ success — Gate
Required: gate: ✅ success