Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/session/compaction-verify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,9 @@ describe("CL-8980 compaction preserves the path+offset resume recipe", () => {
const compactor = createPruningCompactor({
keepRecentTurns: 8,
summaryMaxChars: 4000,
// CL-9007: pin a tiny tail budget so the fold covers the same older
// region the old keepRecentTurns cut folded.
compactionShape: { tailBudgetTokens: 10 },
summarize,
});
const turns: ConversationTurn[] = [
Expand Down Expand Up @@ -1161,6 +1164,9 @@ describe("CL-8980 compaction preserves the path+offset resume recipe", () => {
const compactor = createPruningCompactor({
keepRecentTurns: 6,
summaryMaxChars: 4000,
// CL-9007: pin a tiny tail budget so the fold covers the same older
// region the old keepRecentTurns cut folded.
compactionShape: { tailBudgetTokens: 10 },
summarize,
});
const turns: ConversationTurn[] = [
Expand Down
Loading