Session archive mirror: close does not await the final mirror, and extend reads whole files #94
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/claude-code-query#94
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during iterative-works/procedures PROC-673 (worker sessions now pass an
ArchiveConfig, so the mirror runs in production).interruptFork), soonClosefinal mirror is not guaranteed to run or finish;closeAlldoes not wait for it as the docs assume. Also makes mirror cleanup in real-CLI specs racy.ArchiveMirror.extendInPlacereads two whole files per mirror — a chunked prefix check would make it O(delta). Measured extend of 8.5 MB: 70 ms, so not blocking.