Follow-up to #6. Upstream ci.yml runs pnpm build and the test suite on ubuntu-latest and windows-latest. The fork's workflow (a6c5417) replaced it with typecheck / lint / test on Ubuntu only (plus claude plugin validate).
- Without a build step CI misses electron-vite and CLI bundle (
vite.cli.config.ts) failures.
- Without Windows CI misses path handling bugs (project path encoding,
pathDecoder, separators).
pnpm test:coverage:critical (vitest.critical.config.ts) is not run in CI, and its coverage set (guards, configValidation, pathDecoder, ProjectPathResolver) contains none of the calculation code.
Что сделать
- Добавить шаги
pnpm build и pnpm build:cli в .github/workflows/ci.yml.
- Матрица
ubuntu-latest / windows-latest для тестов (fail-fast: false, как в апстриме), сохранив --frozen-lockfile.
- Добавить в
coverage.include critical-конфига src/main/utils/jsonl.ts, src/shared/turnAccounting.ts, src/cli/analyzeSession.ts, src/renderer/utils/contextTracker.ts и запускать pnpm test:coverage:critical в CI.
Acceptance
Follow-up to #6. Upstream
ci.ymlrunspnpm buildand the test suite onubuntu-latestandwindows-latest. The fork's workflow (a6c5417) replaced it with typecheck / lint / test on Ubuntu only (plusclaude plugin validate).vite.cli.config.ts) failures.pathDecoder, separators).pnpm test:coverage:critical(vitest.critical.config.ts) is not run in CI, and its coverage set (guards, configValidation, pathDecoder, ProjectPathResolver) contains none of the calculation code.Что сделать
pnpm buildиpnpm build:cliв.github/workflows/ci.yml.ubuntu-latest/windows-latestдля тестов (fail-fast: false, как в апстриме), сохранив--frozen-lockfile.coverage.includecritical-конфигаsrc/main/utils/jsonl.ts,src/shared/turnAccounting.ts,src/cli/analyzeSession.ts,src/renderer/utils/contextTracker.tsи запускатьpnpm test:coverage:criticalв CI.Acceptance