Skip to content

Update AgentRx logs to download agent artifact#46772

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-agent-rx-logs
Jul 20, 2026
Merged

Update AgentRx logs to download agent artifact#46772
pelikhan merged 2 commits into
mainfrom
copilot/update-agent-rx-logs

Conversation

Copilot AI commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

The daily-agentrx-trace-optimizer workflow was calling the logs MCP tool without specifying an artifact set, so it only fetched usage data. This left Turns, AvgTimeBetweenTurns, token usage, and stdout unavailable for failing runs — the exact fields AgentRx needs for trajectory analysis.

Changes

  • daily-agentrx-trace-optimizer.md: Expanded the logs instruction to explicitly request artifacts: ["agent"], matching the pattern used by daily-observability-report and daily-model-resolution:
{
  "count": 50,
  "start_date": "-2d",
  "artifacts": ["agent"]
}

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update AgentRx logs to download agent artifact Update AgentRx logs to download agent artifact Jul 20, 2026
Copilot AI requested a review from pelikhan July 20, 2026 08:53
@pelikhan
pelikhan marked this pull request as ready for review July 20, 2026 08:57
Copilot AI review requested due to automatic review settings July 20, 2026 08:57
@pelikhan
pelikhan merged commit ece2a20 into main Jul 20, 2026
@pelikhan
pelikhan deleted the copilot/update-agent-rx-logs branch July 20, 2026 08:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates AgentRx log collection to include agent telemetry for trajectory analysis.

Changes:

  • Requests the agent artifact from the logs MCP tool.
  • Refreshes the compiled workflow metadata hash.
Show a summary per file
File Description
.github/workflows/daily-agentrx-trace-optimizer.md Adds agent-artifact log parameters.
.github/workflows/daily-agentrx-trace-optimizer.lock.yml Synchronizes generated metadata.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Medium

"start_date": "-2d",
"artifacts": ["agent"]
}
```
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[q] Update AgentRx logs to download agent artifact

3 participants