Skip to content

minor: don't compile the reactor twice in the strict-compilation CI job - #20175

Merged
cryptoe merged 1 commit into
apache:masterfrom
cryptoe:faster-compile
Aug 27, 2026
Merged

minor: don't compile the reactor twice in the strict-compilation CI job#20175
cryptoe merged 1 commit into
apache:masterfrom
cryptoe:faster-compile

Conversation

@cryptoe

@cryptoe cryptoe commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Description

The strict-compilation CI job runs:

mvn -B clean -DstrictCompile compile test-compile --fail-at-end -P skip-tests -Dweb.console.skip=true -T1C

test-compile already implies compile, and Maven builds a separate execution plan per task on the command line so every phase up to and including compile runs twice for all 75 modules. That means two full Error Prone compile passes over src/main, plus two rounds of every plugin bound at or before compile.

Removing the compile keyword should speed up the CI.

Release notes

None, CI only fix.

@github-actions github-actions Bot added the GHA label Aug 27, 2026
@cryptoe
cryptoe merged commit d9910ae into apache:master Aug 27, 2026
27 of 28 checks passed
@github-actions github-actions Bot added this to the 39.0.0 milestone Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants