fix(review): authorize review thread blockers#1807
Conversation
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-06-30 05:27:27 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 5 non-blocking
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✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1807 +/- ##
==========================================
+ Coverage 95.62% 95.66% +0.03%
==========================================
Files 214 214
Lines 23274 23299 +25
Branches 8402 8412 +10
==========================================
+ Hits 22255 22288 +33
+ Misses 422 419 -3
+ Partials 597 592 -5
🚀 New features to boost your workflow:
|
25d7aed to
0214bf8
Compare
06694a8 to
3f474d5
Compare
3f474d5 to
a615498
Compare
a615498 to
4647e12
Compare
Motivation
Description
authorAssociationto the GraphQLreviewThreadsquery and carry it through the review-thread parser insrc/github/backfill.ts.OWNER/COLLABORATOR, a rawMEMBERthat verifies to live repositoryadmin/maintain/writepermission, or one of the exact known scanner bot logins.MEMBERthrough the repository collaborator-permission endpoint before trusting it. RawMEMBERcan mean organization membership, which is not by itself repository write or maintain permission.MEMBERauthors, permission lookup failures, permission-cache reuse, malformedMEMBERauthors, and own-bot precedence with privileged associations.Testing
npx vitest run test/unit/backfill.test.ts -t fetchLiveReviewThreadBlockersnpm run test:cinpm audit --audit-level=moderate