Add daily AgentRx trace optimizer workflow#31785
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated in The workflow now explicitly enables |
| 2. Only after collecting run data with MCP tools, use local telemetry artifacts when available: | ||
| - `/tmp/gh-aw/otel.jsonl` | ||
| - `/tmp/gh-aw/copilot-otel.jsonl` |
There was a problem hiding this comment.
@copilot do not use local telemertry, only downloaded data from logs
There was a problem hiding this comment.
Updated in 235c7b0 to remove local telemetry fallback instructions and require MCP-downloaded run data/logs only for the AgentRx analysis flow.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot merge main and recompile |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a new scheduled agentic workflow that uses Microsoft AgentRx to analyze recent workflow telemetry/logs and publish a single rolling “optimization recommendation” issue (weekday cadence), along with the compiled lockfile artifact.
Changes:
- Added
daily-agentrx-trace-optimizer.mddefining the AgentRx-driven daily diagnosis + single-issue reporting behavior. - Added the compiled workflow artifact
daily-agentrx-trace-optimizer.lock.yml. - Regenerated/updated generated workflow metadata in existing lock/commands files.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/daily-agentrx-trace-optimizer.md |
New markdown workflow definition (weekday schedule, strict mode, AgentRx procedure, safe-outputs issue publishing). |
.github/workflows/daily-agentrx-trace-optimizer.lock.yml |
Compiled GitHub Actions workflow produced from the markdown definition. |
.github/workflows/grumpy-reviewer.lock.yml |
Regenerated lockfile content (heredoc IDs/formatting; no functional logic changes observed in the shown hunk). |
.github/workflows/agentic_commands.yml |
Updated generated gh-aw-commands header metadata (compiler version). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 4/4 changed files
- Comments generated: 0
…ntic-workflows # Conflicts: # .github/workflows/agentic_commands.yml # .github/workflows/grumpy-reviewer.lock.yml Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in |
New Feature
Adds a new daily agentic workflow that uses Microsoft AgentRx to diagnose workflow traces and generate one high-signal optimization recommendation. The workflow is scheduled for weekdays and publishes a single rolling issue with evidence-backed guidance.
What does this feature do?
New daily workflow
Introduces
.github/workflows/daily-agentrx-trace-optimizer.mdwith strict-mode agentic config, weekday scheduling, and OTLP/telemetry imports.AgentRx-driven diagnosis pipeline
Adds run instructions to build a trajectory from recent traces, run AgentRx stages (
ir,static,dynamic,check,judge,report), and derive one prioritized optimization.Safe reporting output
Uses
safe-outputs.create-issuewith a stable prefix, labels, close-older behavior, and expiration so only the latest actionable optimization stays open.Compiled workflow artifact
Adds
.github/workflows/daily-agentrx-trace-optimizer.lock.ymlgenerated from the markdown workflow definition.Why is this feature needed?
Trace analysis and optimization guidance were manual/ad hoc. This automates recurring diagnosis and consistently surfaces one concrete fix with supporting evidence.
Implementation details