Skip to content

Fix spring-ai-1.x-plugin dropping the trace when stream() fails synchronously - #831

Merged
wu-sheng merged 2 commits into
apache:mainfrom
eye-gu:fix/14098-spring-ai-stream-async-span-leak
Sep 21, 2026
Merged

wu-sheng merged 2 commits into
apache:mainfrom
eye-gu:fix/14098-spring-ai-stream-async-span-leak

Conversation

@eye-gu

@eye-gu eye-gu commented Sep 21, 2026

Copy link
Copy Markdown
Member

Fix

  • Add a unit test to verify that the fix works.
  • Explain briefly why the bug exists and how to fix it.

@wu-sheng wu-sheng added the bug Something isn't working label Sep 21, 2026
@wu-sheng wu-sheng added this to the 9.8.0 milestone Sep 21, 2026
@wu-sheng

Copy link
Copy Markdown
Member

The fix seems to be good. could you update the changes.md?

@eye-gu

eye-gu commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

The fix seems to be good. could you update the changes.md?

Thanks! Updated the CHANGES log.

@wu-sheng
wu-sheng merged commit caf5d0a into apache:main Sep 21, 2026
283 of 290 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Spring AI streaming interceptor drops the whole trace segment when the stream call fails synchronously

3 participants