Archive writer lifecycle: evict writers on webhook deletion and sweep idle archives #89
Reference in New Issue
Block a user
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?
Tracking issue for two non-blocking findings carried through the PR #84 (issue #43) review rounds, so they stop being untracked.
Problems
archiveWriterregistry (writersmap ininternal/delivery) is never evicted when a webhook is deleted: the writer (and any open archive DB handle within its debounce window) lingers for the process lifetime.Definition of done
archiveWriterfrom the registry (and the reaper/deletion path is covered by a test).