fix(queue): migrate signal-snapshot generation from isRegistered to isInstalled - #5692
Conversation
…sInstalled fanOutRepoSignalSnapshotJobs gated per-repo signal-snapshot generation on repo.isRegistered, even though most of what it generates (queue- health, config-quality, label-audit, contributor-intake-health, issue-quality, repo-outcome-patterns) is general repo health, unrelated to subnet membership. The maintainer-lane/maintainer-cut-readiness pieces are gittensor-specific but already degrade gracefully for !isRegistered internally. generateSignalSnapshots (the function the enqueued job actually calls) independently re-filters by the same field -- both needed the swap, or a job enqueued for an installed-but-not-registered repo would reach this second filter and silently no-op. Closes #5019
|
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 #5692 +/- ##
=======================================
Coverage 95.02% 95.02%
=======================================
Files 577 577
Lines 45978 45978
Branches 14724 14724
=======================================
Hits 43689 43689
Misses 1530 1530
Partials 759 759
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-14 05:34:24 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 non-blocking
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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
fanOutRepoSignalSnapshotJobs(src/queue/processors.ts) gated per-repo signal-snapshot generation onrepo.isRegistered, even though most of what it generates (queue-health, config-quality, label-audit, contributor-intake-health, issue-quality, repo-outcome-patterns) is general repo health, unrelated to gittensor-subnet membership.!isRegisteredinternally — no other change needed there.generateSignalSnapshots(src/queue/signal-snapshot.ts) — the function the enqueued job actually calls — independently re-filters by the same field. Both filters needed the swap; fixing only the outer one (as the issue's own text specified) would enqueue a job that silently no-ops once it reaches this second filter.Test plan
npm run test:ci— full local gate, clean (0 failures)Closes #5019