fix(analytics): redact Slack tokens in weekly value report rollups#2110
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2110 +/- ##
==========================================
+ Coverage 95.71% 95.73% +0.01%
==========================================
Files 222 223 +1
Lines 24661 24741 +80
Branches 8949 8969 +20
==========================================
+ Hits 23605 23685 +80
Misses 433 433
Partials 623 623
🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-01 17:59:31 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 4 non-blocking
Why this is blocked
Review context
Contributor next steps
Signal definitions
🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
81e16f6 to
00a58d5
Compare
|
Fixed Gittensory gate: Slack token fixture is built from split fragments. Reverted the merge-from-main that introduced the broken tokenless Codecov upload path; CI should match #2105's fork-coverage artifact flow. |
00a58d5 to
e334942
Compare
Scrub xox*-prefixed Slack bot tokens from operator rollup dimensions alongside existing GitHub and API key redaction patterns. Co-authored-by: Cursor <cursoragent@cursor.com>
Construct the rollup key from split fragments so secret scanning and the Gittensory gate do not flag the regression fixture as a leaked credential. Co-authored-by: Cursor <cursoragent@cursor.com>
e334942 to
396c9a1
Compare
Summary
xox*-prefixed Slack tokens from operator weekly-value-report rollup dimensions.sanitizeReportText.No-issue rationale
Operator analytics redaction hardening with no linked issue.
Test plan
npx vitest run test/unit/weekly-value-report.test.ts -t \"redacts Slack\"Made with Cursor