Skip to content

Record verified upstream status in the Gradle 9.6 deprecations tracker#732

Merged
alexander-yevsyukov merged 4 commits into
masterfrom
claude/hungry-hodgkin-751578
Jul 10, 2026
Merged

Record verified upstream status in the Gradle 9.6 deprecations tracker#732
alexander-yevsyukov merged 4 commits into
masterfrom
claude/hungry-hodgkin-751578

Conversation

@alexander-yevsyukov

Copy link
Copy Markdown
Contributor

What & why

Follow-up to #719's deprecation cleanup: attribute the deprecation warnings still reported by ./gradlew :buildSrc:test detekt --warning-mode all to their sources using full deprecation stack traces (-Dorg.gradle.deprecation.trace=true), and record the verified findings in the standing tracker .agents/tasks/gradle-9.6-deprecations.md.

No build-logic changes — all remaining warnings originate inside third-party plugins, and none of them has a fixed release to bump to. All three become hard errors in Gradle 10.

Warning Plugin Upstream status
ReportingExtension.file(String) detekt 1.23.8 (DetektPlugin.kt:28) Fixed only in detekt 2.0 (alphas; new dev.detekt plugin ID and coordinates) — detekt#8452, closed 2025-08-31
Project.getProperties (×3) gradle-doctor 0.12.1 (RemoteCacheEstimation.kt:20–22) Unfixed even on upstream master; no upstream issue; 0.12.1 is tagless — watch Maven Central metadata
Project object as a dependency notation Kover 0.9.8 (PrepareKover.kt:29) kotlinx-kover#818 (open); 0.9.8 is the latest release

Tracker changes

  • Corrected the gradle-doctor entry to lines 20–22 (three warnings, not one).
  • Added the upstream status re-checked on 2026-07-10 for detekt and gradle-doctor, including the dev.detekt plugin-ID/coordinate migration caveat for the future bump (not a plain version bump).
  • Added the third, cache-masked Kover warning: it fires while buildSrc generates precompiled-script-plugin accessors and is invisible when those tasks are FROM-CACHE. Reproduce with:
    ./gradlew :buildSrc:generatePrecompiledScriptPluginAccessors --rerun-tasks \
        --warning-mode all -Dorg.gradle.deprecation.trace=true
    This is the follow-up suggested when closing Address Gradle 9.6 deprecations in build logic #725. It is distinct from config's own Project-notation usage in KoverConfig.kt:172, which is addressed separately — fixing KoverConfig does not clear the plugin-internal warning.
  • Appended a dated Log entry; status remains blocked (on upstream releases).

Reviewer notes

  • Tracker-file-only change; no code, no dependency versions touched.
  • Verified on Gradle 9.6.1 (JDK 17): ./gradlew :buildSrc:test detekt --warning-mode all --stacktrace is green, and the cold accessor-generation run above reproduces the Kover warning with the quoted stack frame (kotlinx.kover.gradle.plugin.appliers.PrepareKoverKt.prepare).
  • Why no bumps: detekt 2.0.0-alpha.x is a pre-release (rejected by our dependency-update conventions); gradle-doctor and Kover have no release containing a fix.

🤖 Generated with Claude Code

Re-verify the third-party deprecation warnings on Gradle 9.6.1 with full
deprecation stack traces (`-Dorg.gradle.deprecation.trace=true`) and
record the findings in `.agents/tasks/gradle-9.6-deprecations.md`:

- detekt 1.23.8 - `ReportingExtension.file(String)` raised by
  `DetektPlugin.apply`. The upstream fix (detekt#8452, closed 2025-08-31)
  ships only with detekt 2.0, still in alphas, under the new `dev.detekt`
  plugin ID and Maven coordinates. 1.23.8 remains the newest stable.
- gradle-doctor 0.12.1 - `Project.getProperties` is read three times by
  `RemoteCacheEstimation` (lines 20-22). Unfixed even on upstream
  `master`; no upstream issue tracks it; 0.12.1 has no git tag, so watch
  Maven Central metadata instead of GitHub releases.
- Kover 0.9.8 - add the third, cache-masked warning ("Project object as
  a dependency notation", `PrepareKover.kt:29`, kotlinx-kover#818). It
  fires during `buildSrc` precompiled-script-plugin accessor generation
  and is hidden when those tasks are FROM-CACHE. This is the follow-up
  suggested when closing PR #725, and is distinct from the
  `KoverConfig.kt` usage handled separately.

No plugin bumps are possible: all three plugins are already at their
latest released versions. The tracker stays `blocked` on upstream.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alexander-yevsyukov alexander-yevsyukov self-assigned this Jul 10, 2026
@alexander-yevsyukov alexander-yevsyukov moved this to 🏗 In progress in v2.0 Jul 10, 2026
@alexander-yevsyukov alexander-yevsyukov moved this from 🏗 In progress to In Review in v2.0 Jul 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a8316388e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/tasks/gradle-9.6-deprecations.md Outdated
alexander-yevsyukov and others added 2 commits July 10, 2026 19:24
Review follow-up on PR #732: the tracker could previously be closed once
the three plugin-internal warnings clear, silently leaving behind the
same Gradle 10 breakage in config-owned code - KoverConfig.kt:172 passes
a `Project` as dependency notation, which only fires in consumer builds
whose subprojects apply Kover and thus never shows in config's own runs.

Track that call as an explicit checklist item (it is fixed in a separate
change that has not landed on master yet) and require a warning-free
cold-cache run of both reproduce commands before the tracker may be
closed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alexander-yevsyukov alexander-yevsyukov merged commit dc94820 into master Jul 10, 2026
3 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the claude/hungry-hodgkin-751578 branch July 10, 2026 18:35
@github-project-automation github-project-automation Bot moved this from In Review to ✅ Done in v2.0 Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants