fix(db): bound submitter_outcome_log and alert_dedup_claims by retention policy - #10106
Conversation
…ion policy Both tables are written per event with no delete path anywhere in src/, the same class JSONbored#9473 already bounded: submitter_outcome_log's only reader is windowed, and alert_dedup_claims is a pure hourly-expiring idempotency claim. Adds the RETENTION_POLICY entries, their RETENTION_PK_COLUMN/composite-PK mapping, and the paired leading-column index migration.
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-31 07:46:36 UTC
Review summary Nits — 4 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10106 +/- ##
=======================================
Coverage 91.94% 91.94%
=======================================
Files 930 930
Lines 113890 113890
Branches 27491 27491
=======================================
Hits 104715 104715
Misses 7877 7877
Partials 1298 1298
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix(db): bound submitter_outcome_log and alert_dedup_claims by retention policy
Both tables are written per event with no delete path anywhere in src/, the
same class #9473 already bounded: submitter_outcome_log's only reader is
windowed, and alert_dedup_claims is a pure hourly-expiring idempotency claim.
Adds the RETENTION_POLICY entries, their RETENTION_PK_COLUMN/composite-PK
mapping, and the paired leading-column index migration.
Closes #10058