Skip to content

chore(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.4.20 [security] - #644

Closed
dd-octo-sts[bot] wants to merge 1 commit into
developfrom
engraver-auto-version-upgrade/renovate/kotlin21
Closed

dd-octo-sts[bot] wants to merge 1 commit into
developfrom
engraver-auto-version-upgrade/renovate/kotlin21

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
org.jetbrains.kotlin:kotlin-gradle-plugin (source) dependencies minor 2.1.21 → 2.4.20

Warning

Some dependencies could not be looked up. Check the warning logs for more information.

🚨 Security Vulnerability Fix

Severity: MEDIUM

This PR addresses a detected security vulnerability. Please review and merge promptly.

@dd-octo-sts
dd-octo-sts Bot marked this pull request as ready for review October 12, 2026 20:08
@dd-octo-sts
dd-octo-sts Bot requested review from a team as code owners October 12, 2026 20:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T20:11:55.213160Z fa10e3e 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.

@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: fa10e3e3d7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread gradle/libs.versions.toml
# Commons
kotlin20 = "2.0.21"
kotlin21 = "2.1.21"
kotlin21 = "2.4.20"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep the Kotlin 2.1 compatibility slot on 2.1

This version key also supplies kotlinCompilerEmbeddable21 and kotlinGradlePlugin21, so the dd-sdk-android-gradle-plugin-kcp-kotlin21 module is now compiled against Kotlin 2.4.20 rather than 2.1.x. That module still imports and registers ComponentRegistrar, while the Kotlin 2.4 implementation explicitly documents that this API was removed in 2.4.20 and uses CompilerPluginRegistrar instead; consequently the test:kotlin21 CI job cannot compile the dedicated 2.1 module. Leave this compatibility slot on a 2.1 release; kotlin24 already provides the 2.4.20 dependency.

Useful? React with 👍 / 👎.

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 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: FAIL

The shared version update also upgrades the Kotlin 2.1 module’s compiler dependency to 2.4.20, which removed its required ComponentRegistrar API. This prevents the module from compiling.

Open Bits AI session

🤖 Bits Code Review · Commit fa10e3e

Comment thread gradle/libs.versions.toml
# Commons
kotlin20 = "2.0.21"
kotlin21 = "2.1.21"
kotlin21 = "2.4.20"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Preserve the Kotlin 2.1 compiler dependency

Building dd-sdk-android-gradle-plugin-kcp-kotlin21 now resolves kotlin-compiler-embeddable 2.4.20 because it shares this version entry. That compiler removed ComponentRegistrar, which the module still imports, registers with AutoService, and inherits through DatadogPluginRegistrar, so compilation fails and blocks building the plugin. Keep this artifact’s compiler dependency on a compatible 2.1 version and separate it from the Gradle-plugin security upgrade; that requires changing dependency references beyond this diff line.

Was this helpful? React 👍 or 👎
🤖 Bits Code Review · Open Bits AI session

@0xnm 0xnm closed this Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant