Skip to content

Get configuration cache telemetry from BuildFeatures#2212

Merged
priettt merged 1 commit intomainfrom
priettt/newConfigCacheTelemetry
Jun 2, 2025
Merged

Get configuration cache telemetry from BuildFeatures#2212
priettt merged 1 commit intomainfrom
priettt/newConfigCacheTelemetry

Conversation

@priettt
Copy link
Contributor

@priettt priettt commented May 21, 2025

BuildFeatures was introduced after Gradle 8.5 to fetch information about the build. Use that instead of StartParameter, which will be deprecated in Gradle 10.

Should fix issue #2207.

Testing

In the ExampleApp, the warning following warning was showing up when running ./gradlew build --warning-mode all:

The StartParameter.isConfigurationCacheRequested property has been deprecated. This is scheduled to be removed in Gradle 10.0.

It doesn't show up anymore after this change.

@priettt priettt requested a review from a team as a code owner May 21, 2025 16:11
@github-actions
Copy link
Contributor

github-actions bot commented May 21, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link
Contributor

@bidetofevil bidetofevil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@priettt priettt force-pushed the priettt/newConfigCacheTelemetry branch from f70de75 to cbcb63b Compare June 2, 2025 14:18
@codecov
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.62%. Comparing base (d2581cf) to head (cbcb63b).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2212   +/-   ##
=======================================
  Coverage   85.62%   85.62%           
=======================================
  Files         465      465           
  Lines       10379    10379           
  Branches     1522     1522           
=======================================
  Hits         8887     8887           
  Misses        835      835           
  Partials      657      657           

see 2 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.

@priettt priettt merged commit 2a8069f into main Jun 2, 2025
11 of 12 checks passed
@priettt priettt deleted the priettt/newConfigCacheTelemetry branch June 2, 2025 15:52
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