Skip to content

Add code-style job to CI pipeline with spotless and jdeps checks#92

Merged
bernardladenthin merged 2 commits into
mainfrom
claude/affectionate-darwin-469lR
Jun 7, 2026
Merged

Add code-style job to CI pipeline with spotless and jdeps checks#92
bernardladenthin merged 2 commits into
mainfrom
claude/affectionate-darwin-469lR

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Added a new code-style CI job that runs Spotless code formatting checks and prints the internal package dependency graph via jdeps
  • Made the code-style job a required dependency for both snapshot and release publishing workflows
  • This ensures code style violations are caught early and fail fast before publishing artifacts

Test plan

  • CI is green on this branch

Related issues / PRs

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes (if there are, I have notified the maintainer privately per SECURITY.md)

https://claude.ai/code/session_018JD9GHTJ3GNaT57iqfK3nP

…print

Root cause of the prior publish-snapshot failure: spotless:check is bound to the
verify phase, which ONLY the publish 'deploy' goal reaches — every compile/test/
package job stops before verify, so unformatted code passed all of them and only
failed at the final publish step. Fix: a new 'code-style' job (needs: startgate)
runs 'mvn spotless:check' early (fail-fast) and is now a dependency of
publish-snapshot / publish-release, so publish cannot run on unformatted code.

The same job also prints the internal package dependency graph via jdeps
(informational, continue-on-error) — the bytecode-level layering itself is already
enforced by the ArchUnit layeredArchitecture()/noPackageCycles rules in 'mvn test'.

https://claude.ai/code/session_018JD9GHTJ3GNaT57iqfK3nP
@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.88%. Comparing base (cd23868) to head (71671d0).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #92   +/-   ##
=========================================
  Coverage     96.88%   96.88%           
  Complexity       94       94           
=========================================
  Files             1        1           
  Lines           257      257           
  Branches         33       33           
=========================================
  Hits            249      249           
  Misses            2        2           
  Partials          6        6           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@coveralls

coveralls commented Jun 7, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 99.222%. remained the same — claude/affectionate-darwin-469lR into main

Matches Dependabot's java-llama.cpp #215 (and the equivalent per-repo bump);
applied on the shared feature branch so it rides the existing PR for this repo
instead of a separate Dependabot merge to main.
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2026

Copy link
Copy Markdown

@bernardladenthin bernardladenthin merged commit 3ec51a1 into main Jun 7, 2026
24 of 26 checks passed
@bernardladenthin bernardladenthin deleted the claude/affectionate-darwin-469lR branch June 7, 2026 19:16
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.

3 participants