Skip to content

Add agent-enabled FluxMessageChannel.subscribeTo regression - #20926

Open
trask with Copilot wants to merge 3 commits into
mainfrom
copilot/add-small-regression-test
Open

trask with Copilot wants to merge 3 commits into
mainfrom
copilot/add-small-regression-test

Conversation

Copilot AI commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Add focused regression coverage for the reactive-channel context propagation investigated in #3096. A hot publisher subscribed outside the producer context emits through FluxMessageChannel.subscribeTo(), and channel processing and the handler retain the producer's trace context.

This test is extracted from the fuller HTTP → Spring Cloud Stream → RabbitMQ reproducer in #20920. Its sequential-message case passes with current instrumentation. That PR is being closed without merging the larger fixture, retaining only this focused coverage.

@opentelemetry-pr-dashboard

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

Copy link
Copy Markdown

Pull request dashboard status

Waiting on reviewers · refreshed 2026-10-24 04:02 UTC

Review the latest changes.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI changed the title [WIP] Add small passing regression for FluxMessageChannel.subscribeTo Add agent-enabled FluxMessageChannel.subscribeTo regression Oct 24, 2026
Copilot AI requested a review from trask October 24, 2026 00:00
@trask
trask requested a balanced review from Copilot October 24, 2026 00:02

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 focused test-only changes preserve baseline isolation, use existing agent-enabled test wiring, and have no identified blocking issues.

No open issues 🎉

What changed in this PR

Adds an agent-enabled regression test for context propagation through FluxMessageChannel.subscribeTo(), without changing production instrumentation or the Spring Integration 4.1 baseline.

Changes:

  • Verifies producer → process → handler span parentage, emitter context restoration, and delivery within a timeout.
  • Adds an isolated test suite with compatible Spring Integration/Reactor dependencies and Reactor instrumentation, excluding it from container-service usage.
File Description
instrumentation/​spring/​spring-integration-4.1/​javaagent/​src/​fluxChannelTest/​java/​io/​opentelemetry/​javaagent/​instrumentation/​spring/​integration/​v4_1/​FluxMessageChannelTest.java Adds the reactive handoff regression and telemetry assertions.
instrumentation/​spring/​spring-integration-4.1/​javaagent/​build.gradle.kts Configures the isolated suite and required instrumentation.

Review effort: Balanced

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI requested a review from trask October 24, 2026 00:36
@trask
trask requested a balanced review from Copilot October 24, 2026 00:40

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 focused test and dependency wiring fit the existing suites, with no unresolved findings or production behavior changes.

No open issues 🎉

Review effort: Balanced

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 focused test-only changes fit the existing suites and instrumentation setup, with no blocking issues identified.

No open issues 🎉

Review effort: Balanced

@trask
trask requested a review from a team as a code owner October 24, 2026 04:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants