Skip to content

[Build] Cleanup redundant build console output - #16104

Open
matrei wants to merge 2 commits into
8.0.xfrom
remove-missing-slf4j-warnings
Open

[Build] Cleanup redundant build console output#16104
matrei wants to merge 2 commits into
8.0.xfrom
remove-missing-slf4j-warnings

Conversation

@matrei

@matrei matrei commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This pull request focuses on eliminating SLF4J implementation warnings during compilation and testing across multiple modules by consistently adding the org.slf4j:slf4j-nop dependency where appropriate. Additionally, it adjusts a logging statement in the SBOM plugin to reduce log verbosity.

The most important changes are:

Suppressing SLF4J Warnings (by module):

General build and plugin modules:

  • Added compileOnly 'org.slf4j:slf4j-nop' to the compile classpath in various modules (e.g., grails-core, grails-console, grails-codecs, grails-controllers, grails-converters, grails-data-graphql, grails-data-hibernate5, grails-data-hibernate7, grails-data-mongodb, grails-async, grails-cache, etc.) to prevent warnings about missing SLF4J implementations during compilation. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Test and CLI configurations:

  • Added testCompileOnly and/or testImplementation 'org.slf4j:slf4j-nop' to test configurations in several modules to suppress SLF4J warnings during test compilation and execution. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

AST and CLI-specific configurations:

  • Added astCompileOnly and cliCompileOnly 'org.slf4j:slf4j-nop' in appropriate modules to prevent warnings in annotation processing and CLI builds. [1] [2] [3] [4] [5]

Logging adjustment:

SBOM Plugin:

  • Changed the log level from lifecycle to info for the message about forcing a license in SbomPlugin.groovy, reducing log verbosity during builds.

These changes collectively improve the developer experience by ensuring cleaner build and test logs and more consistent dependency management.

@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.3556%. Comparing base (3de06ee) to head (388e5af).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #16104        +/-   ##
==================================================
+ Coverage     52.3410%   52.3556%   +0.0145%     
- Complexity      18293      18300         +7     
==================================================
  Files            2036       2036                
  Lines           96347      96347                
  Branches        16829      16829                
==================================================
+ Hits            50429      50443        +14     
+ Misses          38493      38482        -11     
+ Partials         7425       7422         -3     

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@testlens-app

testlens-app Bot commented Aug 6, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 388e5af
▶️ Tests: 67664 executed
⚪️ Checks: 62/62 completed


Learn more about TestLens at testlens.app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants