Uh oh!
There was an error while loading. Please reload this page.
feat: add archive command for batch evaluations and recommendations - #1112
Conversation
Coverage Report
|
agentcore-cli-automation
commented
May 4, 2026
The new Please add |
notgitika
left a comment
There was a problem hiding this comment.
LGTM thank you!
Wonder if we can see any use case where this can be extended to some other resources in the CLI. Curious your thoughts!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…1112) (#1121) * feat: add archive command for batch evaluations and recommendations. Introduces a new top-level archive command with two subcommands: archive batch-evaluation and archive recommendation. Each calls the corresponding service delete API and removes the matching local .cli/ history file.
Description
Introduces a new top-level archive command with two subcommands: archive batch-evaluation and archive recommendation. Each calls the corresponding service delete API and removes the matching local .cli/
history file.
agentcore/.cli/recommendations/ and deleting them. Exports BATCH_EVAL_RESULTS_DIR and RECOMMENDATIONS_DIR from their existing storage modules to enable this.
Usage
Archive a batch evaluation (deletes from service and clears local history)
agentcore archive batch-evaluation --id
Archive a recommendation
agentcore archive recommendation --id
With explicit region
agentcore archive batch-evaluation --id --region us-west-2
JSON output for scripting
agentcore archive batch-evaluation --id --json
agentcore archive recommendation --id --json
Type of Change
Testing
How have you tested the change? Added unit tests and e2e tests
npm run test:unitandnpm run test:integnpm run typechecknpm run lintsrc/assets/, I rannpm run test:update-snapshotsand committed the updated snapshotsBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.