fix(signals): delegate engine test-path checks to isTestPath - #2499
fix(signals): delegate engine test-path checks to isTestPath#2499joaovictor91123 wants to merge 2 commits into
Conversation
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-02 07:11:29 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 #2499 +/- ##
==========================================
+ Coverage 95.93% 95.95% +0.02%
==========================================
Files 225 226 +1
Lines 25336 25423 +87
Branches 9217 9243 +26
==========================================
+ Hits 24306 24395 +89
Misses 417 417
+ Partials 613 611 -2
🚀 New features to boost your workflow:
|
JSONbored
left a comment
There was a problem hiding this comment.
Test coverage issues, closing.
The main gap is test precision: the new regression title claims snapshot coverage, but the fixture only exercises a Cypress path.
Summary
engine.tskept a privateisTestFilematcher that missed Cypress/E2E and__snapshots__paths already recognized byisTestPathintest-evidence.ts. That made preflight emitmissing_test_evidencefor Cypress-only changes and mis-bucketed repo-outcometest_evidencedimensions.Upstream issue creation is blocked for this account (GraphQL
CreateIssuereturns FORBIDDEN), so this PR carries the full rationale inline instead of a linked issue.Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ?97% coverage of the lines AND branches you changed (aim for 98%+ on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
npm run test:ciwas attempted locally on Windows; shell/Postgres backup script tests fail in this environment but are unrelated to this diff. Targetedvitestfor the new regression test passed.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Notes
missing_test_evidencewhen listed inchangedFiles.