Skip to content

ci: split lint-and-format into separate jobs and enforce 100% coverage#4

Merged
seiya-koji merged 1 commit into
mainfrom
ci/split-jobs-and-coverage
Jul 13, 2026
Merged

ci: split lint-and-format into separate jobs and enforce 100% coverage#4
seiya-koji merged 1 commit into
mainfrom
ci/split-jobs-and-coverage

Conversation

@seiya-koji

Copy link
Copy Markdown
Owner

Summary

  • Split the lint-and-format CI job into lint, format, type-check, and test so the job name matches what it actually runs
  • Add Vitest coverage reporting (100% threshold) and upload to Codecov
  • Add tests to bring coverage from ~87-93% to 100%
  • Remove an unreachable defensive branch in webhookTreeProvider.ts's groupByBranch that coverage analysis surfaced (behavior unchanged)

Test plan

  • npm run lint, npm run format:check, npm run compile pass
  • npm run test:coverage passes with 100% statements/branches/functions/lines (verified under WSL, matching CI's ubuntu-latest)

Split the lint-and-format CI job into lint, format, type-check, and
test jobs so each check runs and reports independently. Add Vitest
coverage reporting with a 100% threshold and upload results to
Codecov.

Also removes an unreachable defensive branch in
webhookTreeProvider.ts's groupByBranch that coverage analysis
surfaced; behavior is unchanged (existing tests still pass).
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@seiya-koji
seiya-koji merged commit 204f803 into main Jul 13, 2026
10 checks passed
@seiya-koji
seiya-koji deleted the ci/split-jobs-and-coverage branch July 13, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant