feat(core): Convert scope contexts to segment span attributes in span streaming#20828
feat(core): Convert scope contexts to segment span attributes in span streaming#20828chargome wants to merge 3 commits into
Conversation
size-limit report 📦
|
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit b7285a8. Configure here.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
JPeer264
left a comment
There was a problem hiding this comment.
Just one devils advocate comment
| } | ||
|
|
||
| // Framework version contexts | ||
| const angular = contexts['angular']; |
There was a problem hiding this comment.
q: Does it make sense to have framework specific code in core? I'm fine with it, just challenging if we really want to do this.
There was a problem hiding this comment.
It basically syncs all context centrally that can make its way into browser sdks. But I do see your point obv
nicohrubec
left a comment
There was a problem hiding this comment.
lgtm if conventions are approved
applyScopeToSegmentSpanin the captureSpan pipeline to convert known scopecontexts (set via
scope.setContext()) to segment span attributesresponse, profile, cloud_resource, culture, state, angular, reactref #20385