Repository navigation
Send CI traces to an AgentLoop server - #362
Merged
Merged
Conversation
agentloop upload took a single file, and the reusable comparison workflow could not send traces anywhere. upload now accepts repeated --path values and directories, validates every file before sending any, and adds --label KEY=VALUE pairs under metadata.labels. The reusable workflow takes an optional agentloop_api_url input and agentloop_api_key secret and uploads the compared baseline and candidate traces labelled with condition, repository, commit, ref and workflow run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
AgentLoop replay self-testThis required repository check evaluates generated synthetic demo traces. It tests the replay and CI machinery; it does not show that this PR improves application performance. AgentLoop CI Report
Performance Gates
Trace inputsThis comparison includes synthetic data. It does not establish application performance gains from a pull request.
Metric Impact
Top Findings
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a shared AgentLoop server in place, CI had no easy way to fill it: `agentloop upload` took one file and the reusable comparison workflow could not send traces anywhere.
`agentloop upload`
`application-performance.yml`: optional `agentloop_api_url` input and `agentloop_api_key` secret. When the URL is set, after the comparison (pass or fail, not cancelled) it uploads the baseline and candidate traces labelled `condition`, `repository`, `commit`, `ref`, `workflow_run`; it fails clearly if the secret is missing and never uses an admin key.
Tests: upload of files + directories with labels, malformed labels, validate-before-send, empty directory; a workflow test pinning the guard, secret use, labels and step order. The smoke workflow calls the reusable workflow at this commit, so the new inputs are validated by GitHub on this PR. Docs: CI.md section, CLOUD_DEPLOY pointer, changelog.
🤖 Generated with Claude Code