[GRADLE-WRAPPER] Worker isolation log visiblity update & documentation fix#24310
[GRADLE-WRAPPER] Worker isolation log visiblity update & documentation fix#24310xsveda wants to merge 2 commits into
Conversation
|
Hello @xsveda, thanks for raising this issue and providing the PR. I understand the reasoning for moving the message to Since #23831 added a if (quiet.getOrElse(false) != true) {
logger.lifecycle("[openApiGenerate] Worker isolation: ...")
}on both branches. The For context: when I updated the Gradle plugin to support the modern worker features, I added this isolation choice precisely because the wrong mode had bitten me before, so I'd really like to keep it visible rather than tucked away behind |
51bf7cf to
fc84cfd
Compare
|
Thank you @Picazsoo for the hint, I did not realise the I agree, this is much better approach 👍 |
|
But to think of it, the obnoxious |
Hi @xsveda this failure isn't related to your changes. The Just revert and reapply your last commit, then push to retrigger the tests: That should get CI to run again and it will hopefully pass. This is how I do it. |
…oid build output pollution
fc84cfd to
39d2e2b
Compare

wrokerIsolation property status message always appears in the build output. This pollutes the log significantly in builds when a multiple standalone specs are to be processed. Our current projects generates over 130 individual open api specs. Similar to #11211 where more such scenarios are described.
CC: @Picazsoo
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
Summary by cubic
Suppress worker isolation status logs when Gradle runs with
--quietto reduce build noise in projects with many specs. Update the Gradle plugin README to correctly documentclassloaderas the defaultworkerIsolation.Written for commit 39d2e2b. Summary will update on new commits.