Skip to content

Fix resume replay after history snapshots#348

Merged
cbusillo merged 1 commit into
mainfrom
fix/resume-final-answer-replay
Jun 2, 2026
Merged

Fix resume replay after history snapshots#348
cbusillo merged 1 commit into
mainfrom
fix/resume-final-answer-replay

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented Jun 2, 2026

Summary

  • align resume replay against restored history snapshot suffix before rendering raw rollout items
  • replay all raw items after the matched snapshot boundary, including user/tool records
  • add regressions for stale assistant replay, user-tail snapshots, and repeated short assistant text

Validation

  • cargo test --manifest-path code-rs/Cargo.toml -p code-tui replay_snapshot --features test-helpers
  • ./build-fast.sh

Notes

The missing final answer was persisted in the rollout. The visible stale review came from snapshot replay re-appending older assistant messages before the restored transcript tail.

@cbusillo cbusillo merged commit f034774 into main Jun 2, 2026
1 check passed
@cbusillo cbusillo deleted the fix/resume-final-answer-replay branch June 2, 2026 21:45
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.

1 participant