You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: restore build step and Windows test matrix dropped from upstream #75
Follow-up to #6. Upstream ci.yml runs pnpm build and the test suite on ubuntu-latestandwindows-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
Зелёный CI на Ubuntu и Windows
Сборка приложения и CLI проверяется на каждом PR
Порог critical coverage включает код расчётов и проверяется в CI
Activity