fix(engine): honor no-issue rationale in predicted preflight#6645
Conversation
Restore predicted/live parity for missing_linked_issue by applying the same hasClearNoIssueRationale exemption the live gate uses in engine.ts. Closes JSONbored#6628 Co-authored-by: Cursor <cursoragent@cursor.com>
|
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 #6645 +/- ##
=======================================
Coverage 93.64% 93.64%
=======================================
Files 680 680
Lines 68026 68026
Branches 18673 18673
=======================================
Hits 63704 63704
Misses 3347 3347
Partials 975 975
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-16 17:47:51 UTC
Review summary Nits — 2 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver 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://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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
!hasClearNoIssueRationale(...)check tobuildPreflightResultinpredicted-gate-engine.ts, matching the live gate inengine.ts.missing_linked_issuefinding, while unexplained PRs still do.Closes #6628
Test plan
npx vitest run test/unit/predicted-gate-engine-coverage.test.ts -t 6628npx vitest run test/unit/predicted-gate-engine-coverage.test.ts test/unit/predicted-gate-engine-branch-coverage.test.ts --coverage --coverage.include=packages/loopover-engine/src/signals/predicted-gate-engine.ts