fix(export): redact four drifted secret column families and guard against future drift - #9895
Conversation
…inst future drift REDACTED_COLUMNS was missing four secret-bearing families added since the DO-NOT-MIGRATE list was last touched: orb_enrollments.secret_value_*, provider_credentials envelope, orb_instances.ingest_secret_hash and orb_webhook_events.payload_hash. Add them, and introduce EXPORT_REVIEWED_NON_SECRET_COLUMNS plus a migrations/-scanning drift-guard test so a future ciphertext/secret/token column fails the suite until it is classified as redacted or explicitly-reviewed non-secret.
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-29 20:01:20 UTC
Review summary Nits — 2 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 #9895 +/- ##
===========================================
- Coverage 91.76% 79.29% -12.48%
===========================================
Files 921 281 -640
Lines 113173 58566 -54607
Branches 27244 8605 -18639
===========================================
- Hits 103854 46440 -57414
- Misses 8034 11843 +3809
+ Partials 1285 283 -1002
Flags with carried forward coverage won't be shown. Click here to find out more. |
fix(export): redact four drifted secret column families and guard against future drift
REDACTED_COLUMNS was missing four secret-bearing families added since the
DO-NOT-MIGRATE list was last touched: orb_enrollments.secret_value_*,
provider_credentials envelope, orb_instances.ingest_secret_hash and
orb_webhook_events.payload_hash. Add them, and introduce
EXPORT_REVIEWED_NON_SECRET_COLUMNS plus a migrations/-scanning drift-guard test
so a future ciphertext/secret/token column fails the suite until it is
classified as redacted or explicitly-reviewed non-secret.
Closes #9651