Skip to content

fix(core): restore resilient compaction - #36163

Merged
rekram1-node merged 3 commits into
v2from
fix-compaction
Jul 10, 2026
Merged

rekram1-node merged 3 commits into
v2from
fix-compaction

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • always attempt manual compaction and provider-overflow recovery when session history exists
  • keep configured model limits scoped to predictive automatic compaction
  • preserve streamed and typed provider errors, and report empty history as Nothing to compact yet

Testing

  • bun test test/session-runner.test.ts test/session-compaction.test.ts test/session-compact.test.ts --only-failures
  • bun typecheck in packages/core
  • repository pre-push typecheck across 31 packages
  • full Core suite: 1,264 passed; unrelated provider-xai-responses.test.ts prompt cache assertion remains failing

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