Skip to content

fix(session): latch abort across compaction controller reset - #1251

Merged
TheGreatAxios merged 1 commit into
mainfrom
fix/compaction-abort-reset-handoff
Sep 30, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
fix/compaction-abort-reset-handoff

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Completeness-gate and pruning-compactor apply capture the compaction abort signal at start, so onBuilt reset cannot un-abort an in-flight fold wrapCompactor already discarded.
  • Abort then reset during certifyRange keeps identity output, the aborted reason, and no compaction-handoff; a landed stub still records.

Verification

  • bun run typecheck, bun run build, and bun run test pass
  • bun run check green (7869 pass, 0 fail)

Rebuild reset() mints a fresh signal, so re-reading the live
controller after wrapCompactor discarded a certified stub would
record a phantom compaction-handoff.
@TheGreatAxios
TheGreatAxios merged commit e78c9be into main Sep 30, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the fix/compaction-abort-reset-handoff branch September 30, 2026 01:19
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