Skip to content

Stub superseded read_file results during compaction (CL-4374) - #460

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-4374-deduplicate-repeated-file-reads-during-compaction
Aug 10, 2026
Merged

Stub superseded read_file results during compaction (CL-4374)#460
TheGreatAxios merged 1 commit into
mainfrom
cl-4374-deduplicate-repeated-file-reads-during-compaction

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Path-to-reads index groups repeated read_file results.
  • Older successful reads of a path re-read later are stubbed; newest kept whole; error results stay verbatim.

Closes CL-4374

Test plan

  • bun test tests/unit/compactor-pairing.test.ts
  • CI green

Sessions re-read the same path often; each full result stayed in
context. Build a path-to-reads index and stub older successful reads
when a later success of the same path survives, keeping errors whole.

CL-4374
@linear-code

linear-code Bot commented Aug 10, 2026

Copy link
Copy Markdown

CL-4374

@TheGreatAxios
TheGreatAxios merged commit b3ade7a into main Aug 10, 2026
2 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-4374-deduplicate-repeated-file-reads-during-compaction branch August 10, 2026 03:02
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