Skip to content

fix(site): dedupe agent tool timeline entries#25970

Merged
DanielleMaywood merged 2 commits into
mainfrom
fix/agent-tool-timeline-dedupe
Jun 5, 2026
Merged

fix(site): dedupe agent tool timeline entries#25970
DanielleMaywood merged 2 commits into
mainfrom
fix/agent-tool-timeline-dedupe

Conversation

@DanielleMaywood
Copy link
Copy Markdown
Contributor

Durable tool calls on the Agents page could render as separate in-progress and completed rows when persistence split the assistant tool-call message from the tool-role result message.

This keeps parser-level tool result merging in parseMessagesWithMergedTools, adds timeline membership helpers for hidden persisted entries, and renames the timeline builder to buildDisplayMessages so durable list_templates calls render as one completed tool row.

Coder Agents generated context

Generated by Coder Agents.

Validation:

  • pnpm --dir site exec vitest run --project=unit src/pages/AgentsPage/components/ChatConversation/messageHelpers.test.ts src/pages/AgentsPage/components/ChatConversation/messageParsing.test.ts
  • pnpm --dir site exec tsc --noEmit --pretty false --project tsconfig.json
  • git commit pre-commit hook

@DanielleMaywood DanielleMaywood marked this pull request as ready for review June 2, 2026 08:48
@DanielleMaywood DanielleMaywood merged commit 245a194 into main Jun 5, 2026
32 of 34 checks passed
@DanielleMaywood DanielleMaywood deleted the fix/agent-tool-timeline-dedupe branch June 5, 2026 10:38
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants