fix: pin pydantic-ai instrumentation version#10239
Merged
Light2Dark merged 2 commits intoJul 21, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
aadetya
marked this pull request as ready for review
July 20, 2026 06:19
Light2Dark
reviewed
Jul 20, 2026
Member
|
you can add a comment to this issue in the test if you want. |
aadetya
force-pushed
the
fix/pydantic-ai-instrumentation-v5
branch
from
July 21, 2026 12:24
c0c2077 to
ada74e7
Compare
Contributor
Author
|
Got it, I removed the production comment and moved the explanation to the test, where it clarifies why the explicit |
Light2Dark
enabled auto-merge (squash)
July 21, 2026 14:45
Light2Dark
approved these changes
Jul 21, 2026
Light2Dark
left a comment
Member
There was a problem hiding this comment.
i'll do a small pass to improve the comment, thanks!
Contributor
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.15-dev41 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
Closes #10238
This sets the Pydantic-AI instrumentation version to 5 so deferred frontend tool calls are not reported as tracing errors when using older supported Pydantic-AI versions.
I also updated the existing test to make sure Marimo actually passes
version=5when creating the instrumentation settings. Checking only the final value would not catch the same problem on newer Pydantic-AI versions, since they already default to version 5.Tested with Pydantic-AI 1.107.0 and 2.9.0.
📋 Pre-Review Checklist
✅ Merge Checklist