Skip to content

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

Merged
vgrozdanic merged 1 commit into
mainfrom
feat/conversation-sort
Oct 12, 2026
Merged

vgrozdanic merged 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
@vgrozdanic vgrozdanic changed the title feat(cli): Sort agent conversations by metrics feat(cli): Sort agent conversations by fields Oct 12, 2026
@vgrozdanic
vgrozdanic merged commit c22fb35 into main Oct 12, 2026
24 of 25 checks passed
@vgrozdanic
vgrozdanic deleted the feat/conversation-sort branch October 12, 2026 07:50
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