You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Retention does not delete stored checkpoint or queue entries #50
IncidentStore.apply_retention() leaves checkpoint and queue entries created through the repository's storage-key helpers untouched. Calling retention for an organization returns zero deletions for those entries, and both remain stored; dated audit and log entries are deleted by the same call.
Steps to Reproduce
Create an IncidentStore backed by MemoryStorage.
Store one checkpoint entry using checkpoint_key() and one pending queue entry using queue_key() for the same organization.
Call apply_retention() for that organization with retention enabled.
Observe that the deletion count is zero and both entries remain present.
Expected Behavior
Checkpoint and queue entries covered by the retention policy are deleted once they are older than the configured retention period.
Actual Behavior
Checkpoint and queue entries created with the production key shapes are never deleted by apply_retention().
Discovered during independent verification of issue #8's retention-scheduling work. A runner-backed characterization reproduced the behavior on the default-branch implementation and on the scheduling candidate without modifying the retention helper.
Activity