test(engine): add predicted-gate golden parity runner (#2286) - #3687
Conversation
Commit golden snapshots for every predicted-gate fixture and assert the public re-export surface stays byte-identical in CI via test:engine-parity. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-06 04:10:56 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 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 #3687 +/- ##
=======================================
Coverage 93.34% 93.34%
=======================================
Files 315 315
Lines 32107 32107
Branches 11769 11769
=======================================
Hits 29969 29969
Misses 1507 1507
Partials 631 631 🚀 New features to boost your workflow:
|
Summary
test/fixtures/engine-parity/predicted-gate/scenario.test/contract/engine-parity.test.tsassertingbuildPredictedGateVerdict(viasrc/rules/predicted-gate.ts) matches goldens byte-for-byte.npm run test:engine-parityand wire it intotest:ci.scripts/record-engine-parity-goldens.tsfor intentional golden refreshes.Closes #2286
Conflict avoidance
Touches only
test/contract/,test/fixtures/engine-parity/,scripts/record-engine-parity-goldens.ts, andpackage.json. No overlap with open PRs #3671, #3685, or #3686.Test plan
npm run test:engine-parity(9 tests)npm run typecheckMade with Cursor