Skip to content

Compile only in the CodeQL Java job - #1132

Merged
vyazelenko merged 1 commit into
aeron-io:masterfrom
slachiewicz:agent/codeql-compile-only
Oct 19, 2026
Merged

vyazelenko merged 1 commit into
aeron-io:masterfrom
slachiewicz:agent/codeql-compile-only

Conversation

@slachiewicz

Copy link
Copy Markdown
Contributor

The Java CodeQL job ran the default tasks (clean build), so it also ran the full test suite, checkstyle and javadoc under the CodeQL tracer: :sbe-tool:test alone took 331 s of the 460 s build in this run. CodeQL only needs the code compiled, so the job now runs ./gradlew assemble testClasses, which still compiles the main, test and generated sources.

Verified: ./gradlew assemble testClasses → BUILD SUCCESSFUL in 2m 36s on a 2-core machine, with every generate* and compile* task run.

@vyazelenko
vyazelenko merged commit a6ae325 into aeron-io:master Oct 19, 2026
34 checks passed
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.

2 participants