Skip to content

fix(ai-messages): avoid duplicate checkpoint copy - #345

Merged
astyfx merged 1 commit into
mainfrom
fix/checkpoint-accordion-copy
Aug 6, 2026
Merged

fix(ai-messages): avoid duplicate checkpoint copy#345
astyfx merged 1 commit into
mainfrom
fix/checkpoint-accordion-copy

Conversation

@astyfx

@astyfx astyfx commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

Prevent Codex turn-start checkpoints from repeating the same message in an expanded trace accordion while preserving checkpoint restore controls.

Changes

Fixes

  • ai-messages: render turn-start checkpoint metadata as a distinct workspace recovery control
  • preview: cover the Codex turn-start checkpoint case in the agent message fixture and UX catalog

Test Evidence

  • bun run test:ci
  • bun run build:pages
  • bun test tests/assistant-message-body.test.tsx tests/chat-panel-utils.test.ts tests/assistant-trace-builder.test.ts
  • bun test tests/custom-theme.test.ts
  • Lens Preview verified in light and dark themes

Notes

The provider event and replay contract are unchanged; this is a renderer-only fix.

@astyfx
astyfx requested a review from a team as a code owner August 6, 2026 12:31
@astyfx
astyfx requested review from JongSikLim and png-1105 and removed request for a team August 6, 2026 12:31
@astyfx
astyfx enabled auto-merge (squash) August 6, 2026 12:31
@upwind-code-us

upwind-code-us Bot commented Aug 6, 2026

Copy link
Copy Markdown

Upwind Upwind Code Scan - ✅ Proceed with Deployment

0 newly introduced vulnerabilities · 0 resolved · 0 total in this PR vs main

View full analysis in Upwind Console

Scan completed in 17s

Scan history (1 scan)
Commit Scanned at New Resolved Net
f2ee83d < 2026-08-06 12:31 UTC 0 0 0

Last scanned: f2ee83d · 2026-08-06 12:31 UTC

@upwind-code-us

upwind-code-us Bot commented Aug 6, 2026

Copy link
Copy Markdown

Upwind Upwind IaC Scan - ✅ Proceed with Deployment

0 newly introduced misconfigurations · 0 resolved · 0 total in this PR vs main

View full analysis in Upwind Console →

Scan completed in 4s

Scan history (1 scan)
Commit Scanned at New Resolved Net
f2ee83d < 2026-08-06 12:31 UTC 0 0 0

Last scanned: f2ee83d · 2026-08-06 12:31 UTC

@heath-s heath-s left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@astyfx
astyfx merged commit afb3b9e into main Aug 6, 2026
4 checks passed
@astyfx
astyfx deleted the fix/checkpoint-accordion-copy branch August 6, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants