fix(validation): consolidate project checks#600
Conversation
|
This PR is nominally a Strengths
Concerns / potential bugs
Suggestions (non-blocking)
Verdict: 🟡 Approve with minor comments — the CI/i18n/build/dependency machinery is sound, nothing is a correctness regression, and CI should stay green (i18n parity verified, version drift fixed). But the centerpiece perf refactor doesn't deliver its claimed hot-path win (not wired into the renderer + a redundant scoring pass), and the parity gate's scope can break routine local commands — both worth addressing given perf consolidation is the PR's stated goal. 🤖 Automated review by Claude Code (Opus 4.8). |
|
Addressed the actionable review feedback from the July 8 maintainer comment. What changed:
Verification:
|
What changed
npm testthrough the non-perf test runner whilenpm run test:perf:ciowns browser/file/root perf harnesses.Why
The superseded validation PRs overlapped and left local validation vulnerable to duplicate perf execution, missing harness exports, and overly tight perf thresholds on this machine. This branch keeps the consolidated project checks fast, npm-based, and reproducible while preserving renderer typecheck, i18n, build, and perf coverage.
Compatibility impact
Validation/tooling only. Runtime search behavior is unchanged; the new exports are test harness accessors for existing internal helpers.
npm testnow runs non-perf Node tests, with perf coverage retained innpm run test:perf:ci.How tested
/usr/bin/env npm_config_ignore_scripts=true /opt/homebrew/opt/node@22/bin/npm ci/opt/homebrew/opt/node@22/bin/npm test/opt/homebrew/opt/node@22/bin/npm run test:perf:ci/opt/homebrew/opt/node@22/bin/npm run check:i18n/opt/homebrew/opt/node@22/bin/npm run build:main/opt/homebrew/opt/node@22/bin/npm run typecheck:renderer/opt/homebrew/opt/node@22/bin/npm run build:renderergit diff --checkPerformance evidence
Stack validation
JustYannicc:codex/consolidate-validation-final, commit0635377on top of the previous consolidation output8d5dc12.npm run typecheck:renderer.npm run build:main; renderer production build is clean apart from existing Vite CJS/Browserslist warnings.src/main/file-search-index.ts,src/renderer/src/hooks/useBrowserSearch.ts, andscripts/test-browser-search-performance.mjs; renderer directory scan reported 0 errors across the LSP 50-file cap. Biome was configured but not installed forpackage.json, so JSON LSP diagnostics were unavailable.pnpm-lock.yaml,pnpm-workspace.yaml,.pnpm-store, coordinator notes, prompt/playbook markdown, or generated lock/artifact files are included.Replaces
fix(validation): stabilize and speed project checkstest: guard package manager parityci: speed up validation feedbackIntentionally leaves #532 open because its older bundled TypeScript import-helper/test consolidation is not fully represented in this final branch.