Repository navigation
Conversation
c51544f to
a2b75f9
Compare
a2b75f9 to
603e3a2
Compare
603e3a2 to
71174c7
Compare
71174c7 to
630a26a
Compare
630a26a to
7efce58
Compare
7efce58 to
204d3b1
Compare
204d3b1 to
545a30d
Compare
545a30d to
e6596b7
Compare
e6596b7 to
fe5ae57
Compare
szokeasaurusrex
left a comment
There was a problem hiding this comment.
Again some questions but seems reasonable
| func TestSetHubOnContext(t *testing.T) { | ||
| hub := sentry.NewHub(sentry.CurrentHub().Client(), sentry.NewScope()) | ||
| ctx := &fasthttp.RequestCtx{} | ||
| func TestRequestIsolation(t *testing.T) { |
There was a problem hiding this comment.
[question] I am just wondering why we added this test here, for fasthttp, and not for the other HTTP frameworks in the previous PRs?
The test does also seem quite complex, and it seems we implemented similar tests in fiber and fiberv3 also, so I wonder if we could extract the common logic somehow and/or simplify it a bit
There was a problem hiding this comment.
Yeah that's a good recommendation
fe5ae57 to
798d05b
Compare
798d05b to
6259c50
Compare
6259c50 to
6107215
Compare
6107215 to
e91a65d
Compare
e91a65d to
241636a
Compare
241636a to
b6dd59f
Compare
b6dd59f to
10e7bf3
Compare
10e7bf3 to
be7c41d
Compare
be7c41d to
ff2a760
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ff2a760. Configure here.
ff2a760 to
542a409
Compare
542a409 to
5731f33
Compare
Carry isolated scopes through native Fiber contexts and an explicit FastHTTP context bridge, including the framework error-handler lifecycle. Preserve active caller traces and let only the transaction creator update or finish them. Keep outer request cleanup registered across nested wrappers, distinguish active FastHTTP nesting from pooled request reuse, and read all incoming baggage values. Fiber v2, Fiber v3, and FastHTTP GetHubFromContext, SetHubOnContext, and GetSpanFromContext helpers are removed. Use the integrations' GetContext helpers and the root sentry context accessors, plus FastHTTP SetContext when supplying a parent context.
5731f33 to
cd0a795
Compare

Description
This migrates fasthttp frameworks to the new scopes API
Issues
Changelog Entry Instructions
To add a custom changelog entry, uncomment the section above. Supports:
For more details: custom changelog entries
Reminders
feat:,fix:,ref:,meta:)