fix(review): avoid leaking private manifest warnings in public PR comments#3909
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-07 09:38:08 UTC
🛑 Suggested Action - Manual Review
Review summary Nits — 5 non-blocking
Why this is blocked
CI checks failing
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.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3909 +/- ##
==========================================
- Coverage 93.57% 93.57% -0.01%
==========================================
Files 340 340
Lines 33516 33518 +2
Branches 12262 12263 +1
==========================================
Hits 31364 31364
- Misses 1528 1529 +1
- Partials 624 625 +1
🚀 New features to boost your workflow:
|
Motivation
.gittensoryconfiguration parse warnings from being published in public unified PR comments, which could disclose operator-only or sensitive terms.Description
loadPublicRepoFocusManifestwhile preserving the normalloadRepoFocusManifestfor maintainer review configuration so private settings remain usable but not exposed.manifestWarningsto the public-only manifest (publicRepoFocusManifestForComment?.warnings ?? []) while still using the full manifest forreviewConfig.src/queue/processors.tsandtest/unit/manifest-validation-collapsible.test.tsto implement and verify the change.Testing
npx vitest run test/unit/manifest-validation-collapsible.test.tsand all tests in that file passed.npm run typecheckwhich succeeded with no errors.npm run test:coverage, but the existingtest/unit/queue.test.tssuite hit a preexistingRangeError: Maximum call stack size exceededand the run was terminated, so full coverage could not be completed.Codex Task