Skip to content

epic(retention): data-retention and DB-correctness defects — including confirmed production data loss #9475

Description

@JSONbored

Summary

Tracking epic for data-retention and database-correctness defects found in the 2026-07-27 adversarial audit. One is empirically confirmed corrupting data in production; the rest are the same unbounded-growth class that has already caused two fleet-wide outages.

Sub-issues

Issue Severity Status
#9470dedupeSignalSnapshots keeps the stale row on Postgres Critical Confirmed live on the production DB
#9472#9415's five tables prune via full scan, hourly High Lands when the next build deploys
#9473 — four more unbounded tables in the outage class High Latent, growing
#9474 — pruning breaks ledger verification and the public counter Medium Dated: ~2026-10-25 for the counter

Context

Two write-rate observations (not bugs, sizing decisions)

  • signal_snapshots averages ~62 KB per row and its 90-day window is not yet full (oldest row 2026-07-02) — it projects to roughly 2.9 GB at steady state. The lever is payload size, not retention.
  • github_rate_limit_observations takes 15,368 writes/day and holds 628 MB of rate-limit telemetry in the primary database at a full 30-day window. Worth deciding whether this belongs in Postgres at all, or should be sampled / moved to the metrics pipeline.

Both are worth a decision; neither is filed as a defect.

Acceptance criteria

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.orbGittensory Orb related - maintainer self-hosting analytics.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions