fix(engine): stop classifying non-CI YAML paths as ci changes - #8943
fix(engine): stop classifying non-CI YAML paths as ci changes#8943philluiz2323 wants to merge 1 commit into
Conversation
kindsFromPath tagged every .yml/.yaml file as ci via a bare-extension fallback. Classify ci only via CI_SEGMENTS path matches, and cover both branches from vitest so codecov/patch sees the change (JSONbored#8873 / JSONbored#8922). Closes JSONbored#8873
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🛑 LoopOver review result - reject/close recommendedReview updated: 2026-07-26 14:23:33 UTC
Review summary Blockers
Nits — 2 non-blocking
Why this is blocked
📋 Copy for AI agents — paste into your coding agentCI checks failing
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.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-tests); AI reviewers agree on a likely critical defect: test/unit/engine-objective-anchor-config-classification.test.ts:20-42 deletes the #8874 'tags only exact package(.-lock).json as dependency, not a prefixed sibling' vitest test instead of keeping it alongside the new #8873 test, so the dependency-classification branch (objective-anchor.ts's `/^package(?:-lock)?\.json$/u` check) loses its vitest-side coverage — the same codecov/patch visibility gap this PR's own description says it's trying to avoid, now reopened for a different branch.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
.yml/.yamlextension fallback inkindsFromPathso only realCI_SEGMENTSpath matches classify as"ci".test/unit/engine-objective-anchor-config-classification.test.tscovering both branches (non-CI YAML is not"ci";.github/workflows/ci.ymlstill is). Package-localnode:testcoverage alone is invisible to Codecov's vitest lcov — that is why fix(engine): stop classifying non-CI YAML paths as ci changes #8922'scodecov/patchreported 0%.Closes #8873
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpx vitest run test/unit/engine-objective-anchor-config-classification.test.ts(2 passed)npm --workspace @loopover/engine run build+node --test dist-test/objective-anchor.test.js(21 passed)If any required check was skipped, explain why:
kindsFromPathbranch. Full monorepo typecheck/coverage not re-run locally.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
N/A — engine path-classification helper only; no UI surface change.
Notes
codecov/patch0% — packagenode:testdid not feed the vitest coverage upload).