Skip to content

fix: avoid stale extension context after shutdown - #4

Open
hohaivu wants to merge 1 commit into
capyup:mainfrom
hohaivu:fix/stale-extension-context
Open

fix: avoid stale extension context after shutdown#4
hohaivu wants to merge 1 commit into
capyup:mainfrom
hohaivu:fix/stale-extension-context

Conversation

@hohaivu

@hohaivu hohaivu commented Aug 14, 2026

Copy link
Copy Markdown

Summary

  • skip auto-triggered compaction continuations in print/JSON mode
  • suppress deferred callbacks once the session runtime shuts down
  • log the original compaction error and prevent repeated failed compaction attempts

Test

  • node --experimental-strip-types extensions/auto-compact.ts --self-test

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