Skip to content

fix(resume): hydrate only the retained transcript tail - #1256

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9008-resume-hydrates-only-retained-tail
Sep 30, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9008-resume-hydrates-only-retained-tail

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Resume hydrates the same 600-row tail the transcript keeps (MAX_RETAINED_STREAM_ROWS), instead of reading and mapping 2000 blocks and slicing in the host.
  • Oversized hydrate still appends through retention eviction, so streamLogBase and the dropped-rows notice paint when anything was evicted. Tool pairs stay merged across the cap.
  • Agent conversation load is unchanged: ContextStore.load() still reads full history; loadRecentTurns stays display-only.

Verification

  • bun run typecheck, bun run build, and bun run test pass
  • bun run check passes (lint, typecheck, dead-exports, build, guarded suite: 7870 pass, 0 fail)

Fixes CL-9008

A larger disk window then a host-side slice left the dropped-rows
notice unpainted. Resume now reads the same tail the transcript
keeps, and overflow still goes through retention eviction.
@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9008

@TheGreatAxios
TheGreatAxios merged commit 9535d0a into main Sep 30, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-9008-resume-hydrates-only-retained-tail branch September 30, 2026 02: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.

1 participant