Skip to content

feat(cli): Sort agent conversations by metrics - #1461

Open
vgrozdanic wants to merge 1 commit into
mainfrom
feat/conversation-sort
Open

vgrozdanic wants to merge 1 commit into
mainfrom
feat/conversation-sort

Conversation

@vgrozdanic

Copy link
Copy Markdown
Member

sentry agent-conversation list now accepts one canonical conversation.* field through --sort, including errors, tool failures, token usage, cost, and duration. Prefixing a field with - selects descending order; omitting the flag keeps the server's newest-first default.

Pagination preserves the selected ordering. Help text distinguishes elapsed conversation time from model generation time and documents conversation ID tie-breaking. Older servers receive no sort parameter unless users opt in.

Refs TET-2958

Expose canonical server-side conversation sort fields and preserve selected ordering across paginated requests.

Refs TET-2958

Co-authored-by: GPT-5.6 Sol <agent@openai.com>
@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

TET-2958

@vgrozdanic
vgrozdanic marked this pull request as ready for review October 9, 2026 16:28
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 9, 2026

This branch has not been deployed

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

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant