Skip to content

RUM-18189: Support new DSL for AGP 9 - #4060

Open
kikoveiga wants to merge 1 commit into
developfrom
kikoveiga/rum-18189/support-new-dsl
Open

kikoveiga wants to merge 1 commit into
developfrom
kikoveiga/rum-18189/support-new-dsl

Conversation

@kikoveiga

@kikoveiga kikoveiga commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

  • Enable AGP 9's new DSL and built-in Kotlin, removing legacy opt-outs, the standalone Kotlin Android plugin, and RUM-18189 TODOs.
  • Upgrade Kotlin build tooling to 2.4.21, KSP to 2.3.12, Detekt to 2.0.0-alpha.6, and Apollo to 4.4.3; adapt code generation and fix compiler/static-analysis warnings and tests.
  • Retain binary-compatibility-validator with a built-in Kotlin adapter. Preserve automatic snapshot updates and run apiCheck before apiDump so API changes fail validation.
  • Preserve SQLDelight 1.5.5 integration compatibility by moving the sample's database generation into a separate JVM module.
  • Fix source API parsing and generated Kotlin source registration, including duplicate models in published sources JARs.

Motivation

Complete RUM-18189 by adopting AGP 9's build model while retaining SDK Kotlin 2.0 compatibility (language/API level 2.0 and stdlib 2.0.21).

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@kikoveiga
kikoveiga force-pushed the kikoveiga/rum-18189/support-new-dsl branch from a7d08ac to 0e84980 Compare October 28, 2026 15:12
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 25.97%
• Overall Coverage: 71.98% (-0.05%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 937c1df | Docs | View more details | Give us feedback!

@kikoveiga
kikoveiga force-pushed the kikoveiga/rum-18189/support-new-dsl branch 4 times, most recently from 161c0a4 to a51fd05 Compare October 28, 2026 17:27
@kikoveiga

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 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-30T13:49:30.293776Z 937c1df New commits
🔒 Security Review ✅ Completed 2026-10-30T13:48:48.858213Z 937c1df New commits
ℹ️ 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

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: a51fd05786

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: a51fd05786

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

@kikoveiga
kikoveiga force-pushed the kikoveiga/rum-18189/support-new-dsl branch 2 times, most recently from e633b49 to c379808 Compare October 28, 2026 17:48
@kikoveiga
kikoveiga marked this pull request as ready for review October 28, 2026 18:09
@kikoveiga
kikoveiga requested review from a team as code owners October 28, 2026 18:09
@kikoveiga kikoveiga added the ready-for-human-review All agentic review feedback was addressed and PR is ready for the human review. label Oct 28, 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: c379808ca6

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

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bits Code Review: FAIL

Release publication is blocked for modules with generated JSON models because their Kotlin files enter the source JAR twice, triggering AGP’s duplicate-entry failure.

Open Bits AI session

🤖 Bits Code Review · Commit c379808

@maycmlee maycmlee self-assigned this Oct 28, 2026
maycmlee
maycmlee previously approved these changes Oct 28, 2026
Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread CONTRIBUTING.md Resolved
Comment thread CONTRIBUTING.md Resolved
Comment thread build-logic/build.gradle.kts Resolved
Comment thread gradle.properties Resolved
@kikoveiga
kikoveiga force-pushed the kikoveiga/rum-18189/support-new-dsl branch 2 times, most recently from d95a2ed to 60be64e Compare October 29, 2026 15:26

@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: 60be64e41f

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

@kikoveiga
kikoveiga force-pushed the kikoveiga/rum-18189/support-new-dsl branch from 60be64e to 2a71b29 Compare October 29, 2026 16:08
@kikoveiga

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 2a71b29a9e

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 2a71b29a9e

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

@kikoveiga
kikoveiga force-pushed the kikoveiga/rum-18189/support-new-dsl branch from 2a71b29 to 937c1df Compare October 30, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human-review All agentic review feedback was addressed and PR is ready for the human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants