Upgrade Spotless to fix npm compatibility - #12003
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe Gradle configurations update the Spotless plugin from 6.22.0 to 8.10.1 in the root, examples, and smoke-test projects. The ChangesSpotless plugin upgrade
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized build-tool upgrade addresses the npm compatibility failure while preserving existing plugin behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
This pull request fixes the Spotless/Prettier build failure reported in #11997.
Spotless
6.22.0invokes npm with the--scripts-prepend-node-pathoption, which is no longer supported by current npm versions and causes the build to fail with:This change upgrades the Spotless Gradle plugin from
6.22.0to8.10.1, which contains the upstream fix for this issue.Verification
./gradlew :test-support:spotlessJava --rerun-tasks✅./gradlew :test-support:test --rerun-tasks✅git diff --check✅Fixes #11997.
Summary by CodeRabbit