fix(review): scope gittensor opt-in to installed repos#5110
Conversation
|
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 #5110 +/- ##
=======================================
Coverage 94.13% 94.14%
=======================================
Files 466 466
Lines 39573 39574 +1
Branches 14436 14437 +1
=======================================
+ Hits 37254 37255 +1
Misses 1664 1664
Partials 655 655
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-11 15:20:55 UTC
⏸️ Suggested Action - Manual Review
Review summary Blockers
Nits — 5 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory 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://gittensory.aethereal.dev/docs/gittensory-commands 🟩 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.
|
Motivation
experimental.gittensor: trueto enable globalrefresh-registrywork and downstream processing; the change closes this boundary bypass.Description
gittensorEnabledRepoFullNamesto only consider locally installed repos by skipping rows whererepo.isInstalledis false insrc/review/gittensor-wire.ts.test/unit/gittensor-wire.test.tsthat seeds a registry-only repo (is_installed=0,is_registered=1) withexperimental.gittensor: trueand asserts it is excluded.isRegisteredto avoid a chicken-and-egg deadlock for newly-known-but-not-yet-registered installed repos.Testing
npx vitest run test/unit/gittensor-wire.test.ts --reporter=verbose, and all tests in that file passed.git diff --check) as part of validation and it passed.npm run test:coverage, but the full repository coverage run failed the global coverage thresholds (existing large-suite coverage shortfall in this environment) so a complete unsharded CI pass was not completed here.Codex Task