Skip to content

Allow Build Scans to reuse Gradle's configuration cache - #13708

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
bdu/configuration-cache-build-scans
Nov 27, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
bdu/configuration-cache-build-scans

Conversation

@bric3

@bric3 bric3 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

What Does This Do

Allow Gradle to store and reuse build configuration when the Develocity Build Scan publishing condition is configured.

Motivation

On Gradle 9.9.2, even help --configuration-cache failed to store the task graph because the Build Scan callback captured the settings script.

Additional Notes

The callback now captures the publishing decision. Gradle tracks the environment values that determine it. On Gradle 9.9.2, the first help invocation stored the configuration and the second reused it.

Contributor Checklist

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 61.24% (-0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: eb2f24a | Docs | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.11 s 14.12 s [-0.9%; +0.8%] (no difference)
startup:insecure-bank:tracing:Agent 13.03 s 13.16 s [-1.6%; -0.3%] (maybe better)
startup:petclinic:appsec:Agent 17.13 s 17.07 s [-0.5%; +1.2%] (no difference)
startup:petclinic:iast:Agent 16.96 s 16.54 s [-1.9%; +7.0%] (no difference)
startup:petclinic:profiling:Agent 16.66 s 16.87 s [-2.3%; -0.2%] (maybe better)
startup:petclinic:sca:Agent 17.18 s 16.99 s [-0.0%; +2.2%] (no difference)
startup:petclinic:tracing:Agent 15.78 s 16.24 s [-7.0%; +1.4%] (no difference)

Commit: eb2f24a1 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@bric3
bric3 marked this pull request as ready for review November 26, 2026 17:45
@bric3
bric3 requested review from a team as code owners November 26, 2026 17:45
@bric3
bric3 requested review from PerfectSlayer and mcculls and removed request for a team November 26, 2026 17:45
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T17:47:18.545755Z eb2f24a Draft marked ready
🔒 Security Review ✅ Completed 2026-11-26T17:48:38.085056Z eb2f24a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-prod-us1-3 datadog-prod-us1-3 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The callback captures a Boolean while preserving the CI and SKIP_BUILDSCAN publishing condition. The static reviewer identified no actionable defects; runtime configuration-cache reuse remains unverified.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit eb2f24a

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit a9f4fee into master Nov 27, 2026
702 of 705 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the bdu/configuration-cache-build-scans branch November 27, 2026 15:58
@github-actions github-actions Bot added this to the 1.70.0 milestone Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: bug fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants