chore(preflight): run jacocoTestCoverageVerification in the fast gate #371

Merged
JMR-dev merged 1 commits from chore-preflight-coverage-gate into main 2026-07-06 19:36:56 +00:00
JMR-dev commented 2026-07-06 19:18:58 +00:00 (Migrated from github.com)

Summary

  • Adds :app:jacocoTestCoverageVerification to the local fast preflight gate, right after :app:testDebugUnitTest (it reads that task's JVM exec data), so a whole-app line-coverage regression below the 0.79 floor is caught locally instead of only in CI — the exact class of failure that reached CI on PR #367.
  • Updates .claude/skills/preflight/SKILL.md (frontmatter description, the Steps gradle command list, and surrounding prose) and CLAUDE.md's "Build, test, lint" section to document the new gate step.
  • Tooling/docs only — no app source, no new tests/logging, no SPDX changes.

Test plan

  • $env:JAVA_HOME=''C:\Program Files\Eclipse Adoptium\jdk-21.0.11.10-hotspot''; .\gradlew :app:testDebugUnitTest :app:jacocoTestCoverageVerification --console=plain — :app:jacocoTestCoverageVerification executed (not skipped) and BUILD SUCCESSFUL on main.

🤖 Generated with Claude Code

## Summary - Adds `:app:jacocoTestCoverageVerification` to the local fast preflight gate, right after `:app:testDebugUnitTest` (it reads that task's JVM exec data), so a whole-app line-coverage regression below the 0.79 floor is caught locally instead of only in CI — the exact class of failure that reached CI on PR #367. - Updates `.claude/skills/preflight/SKILL.md` (frontmatter description, the `Steps` gradle command list, and surrounding prose) and `CLAUDE.md`'s "Build, test, lint" section to document the new gate step. - Tooling/docs only — no app source, no new tests/logging, no SPDX changes. ## Test plan - [x] `$env:JAVA_HOME=''C:\Program Files\Eclipse Adoptium\jdk-21.0.11.10-hotspot''; .\gradlew :app:testDebugUnitTest :app:jacocoTestCoverageVerification --console=plain` — `:app:jacocoTestCoverageVerification` executed (not skipped) and `BUILD SUCCESSFUL` on `main`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.