Skip to content

Align R2DBC instrumentation minimum with SPI 1.0 - #20902

Merged
laurit merged 9 commits into
mainfrom
copilot/raise-r2dbc-instrumentation-version
Oct 26, 2026
Merged

laurit merged 9 commits into
mainfrom
copilot/raise-r2dbc-instrumentation-version

Conversation

Copilot AI commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Part of #20800.

Align the R2DBC SPI dependency declarations with the documented 1.0 minimum.

The javaagent and Spring Boot starter bundle R2DBC Proxy 1.1.7.RELEASE, whose declared SPI dependency is 1.0. The existing driver fixtures also resolve SPI 1.0. Supporting 0.9 would require isolated older-driver suites and dependency exclusions, rather than simply retaining the lower dependency declaration.

Muzzle's range still starts at 0.9 because the referenced API signatures are identical after generic erasure. This reflects reference matching, not the supported and tested minimum; no runtime version gate is added.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-26 07:59 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Copilot AI and others added 2 commits October 23, 2026 16:31
Co-authored-by: trask <218610+trask@users.noreply.github.com>
Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI changed the title [WIP] Update R2DBC instrumentation minimum supported SPI version to 1.0.0.RELEASE Require R2DBC SPI 1.0 for instrumentation 3.0 Oct 23, 2026
Copilot AI requested a review from trask October 23, 2026 16:37
@trask
trask requested a balanced review from Copilot October 23, 2026 16:41

Copilot AI 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.

🟡 Changes recommended

The catalog edit conflicts with the explicit repository rule reserving that file for the nightly metadata workflow.

1 open issue
What changed in this PR

Raises the R2DBC instrumentation baseline to SPI 1.0 for the 3.0 release, covering both javaagent and standalone-library users.

Changes:

  • Updates all three SPI dependencies and the Muzzle range, retaining inverse checks with explicit 0.9 exclusions.
  • Adds filtered-update coverage for Long counts and removes obsolete compatibility commentary without changing proxy behavior.
  • Documents the breaking change and updates the supported-version catalog.
File Description
instrumentation/​r2dbc-1.0/​testing/​src/​main/​java/​io/​opentelemetry/​instrumentation/​r2dbc/​v1_0/​AbstractR2dbcStatementTest.java Tests filtered update counts and query-span completion.
instrumentation/​r2dbc-1.0/​testing/​build.gradle.kts Raises the shared testing SPI dependency to 1.0.
instrumentation/​r2dbc-1.0/​library/​src/​main/​java/​io/​opentelemetry/​instrumentation/​r2dbc/​v1_0/​internal/​FilterAwareProxyFactory.java Removes obsolete SPI 0.9 commentary only.
instrumentation/​r2dbc-1.0/​library/​build.gradle.kts Raises the library SPI baseline to 1.0.
instrumentation/​r2dbc-1.0/​javaagent/​build.gradle.kts Updates the agent baseline and Muzzle compatibility checks.
docs/​instrumentation-list.yaml Updates the generated supported-version entry.
CHANGELOG.md Records removal of SPI 0.9 support.

Review effort: Balanced

Comment thread docs/instrumentation-list.yaml Outdated
Comment thread docs/instrumentation-list.yaml Outdated
Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI requested a review from trask October 23, 2026 16:51
@trask
trask requested a balanced review from Copilot October 23, 2026 16:53

Copilot AI 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.

🟢 Approval recommended

The scoped dependency and compatibility changes are consistent, shared regression coverage exercises the affected result path, and no unresolved issues remain.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

Comment thread instrumentation/r2dbc-1.0/javaagent/build.gradle.kts Outdated
Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI requested a review from trask October 23, 2026 19:09
@trask
trask requested a balanced review from Copilot October 23, 2026 19:12
@trask trask changed the title Require R2DBC SPI 1.0 for instrumentation 3.0 Add R2DBC SPI 0.9 compatibility coverage with the current proxy Oct 23, 2026

Copilot AI 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.

🟡 Changes recommended

The Muzzle range and user-facing documentation still declare SPI 0.9 support, contradicting the intended SPI 1.0 minimum.

3 open issues

Review effort: Balanced

Comment thread instrumentation/r2dbc-1.0/javaagent/build.gradle.kts
Comment thread docs/supported-libraries.md Outdated
Comment thread instrumentation/r2dbc-1.0/library/README.md Outdated
Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI requested a review from trask October 23, 2026 20:25
@trask
trask requested a balanced review from Copilot October 23, 2026 20:30

Copilot AI 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.

🟢 Approval recommended

The dependency exclusion, isolated compatibility suites, and documentation consistently support the retained SPI 0.9 minimum, with no blocking issues identified.

No open issues 🎉

3 resolved since last review

Review effort: Balanced

Remove SPI 0.9 compatibility suites and restore the small SPI 1.0-only change, including its focused filtered-update regression.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Breaking Change Documentation Required

This PR has been labeled as a breaking change. Please ensure you provide the following information:

Migration Notes Required

Please add detailed migration notes to help users understand:

  • What is changing and why
  • How to update their code/configuration
  • Any alternative approaches if applicable
  • Code examples showing before/after usage

Checklist

  • Migration notes added to the PR description
  • Breaking change is documented in the "Unreleased" section of the Changelog, preferably as part of this PR.
  • Consider if this change requires a major version bump

Your migration notes will be included in the release notes to help users upgrade smoothly. The more detailed and helpful they are, the better the user experience will be.


This comment was automatically generated because the breaking change label was applied to this PR.

@trask trask changed the title Add R2DBC SPI 0.9 compatibility coverage with the current proxy Align R2DBC instrumentation minimum with SPI 1.0 Oct 23, 2026
Keep SPI 0.9 in the reference-matching range without inverse skips while documenting the supported SPI 1.0 minimum.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI requested a review from trask October 23, 2026 23:22
@trask
trask requested a balanced review from Copilot October 23, 2026 23:23

Copilot AI 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.

🟢 Approval recommended

The narrowly scoped dependency and comment changes align with the documented minimum, with no unresolved blocking findings.

No open issues 🎉

Review effort: Balanced

@trask
trask marked this pull request as ready for review October 23, 2026 23:30
@trask
trask requested a review from a team as a code owner October 23, 2026 23:30
@laurit
laurit merged commit 831ffdc into main Oct 26, 2026
70 checks passed
@laurit
laurit deleted the copilot/raise-r2dbc-instrumentation-version branch October 26, 2026 07:59
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.

4 participants