Repository navigation
Conversation
size-limit report 📦Compared: c040112 (PR test merge using develop at 4fc3f29) Against: 14e0d56 (develop) · base run #66054
|
Optional E2E testsSome optional checks were not successful. They do not block the merge. 4 not successful, 57 successful. See the run.
Successful checks
|
d17e4c0 to
56b314e
Compare
18e73f2 to
2968e79
Compare
|
bugbot run |
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.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2968e79. Configure here.
nicohrubec
left a comment
There was a problem hiding this comment.
does it provide any benefit for us to actually send this to sentry instead of just checking the data that leaves the sdk as we do with other e2e tests? this introduces risk of flakiness and we also moved away from this again for the ai tests
2968e79 to
9a3e16f
Compare
We actually check if the live instance is picking up the correct Cloudflare trace in a live environment and we cross check it with Cloudflare itself. I see the point of not having too many send-to-sentry tests, I focus on having just a minimum and most important set there. About the AI, good choice - was never a big fan of the actual deployed AI tests. |
…acing The new `cloudflare-workers-without-tracing-send-to-sentry` app deploys a real Worker without Sentry tracing (no `tracesSampleRate`) and with Cloudflare traces on. Its test checks that an error in Sentry has the trace id of the Cloudflare trace and the Cloudflare request span as its parent. The test finds the Cloudflare request span in Workers Logs by the `cf-ray` of the request, with the new `fetchWorkersLogsEvents` helper. The query endpoint needs a `CLOUDFLARE_API_TOKEN` with "Workers Observability: Edit". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Jan Peer Stöcklmair <jan.peer@sentry.io>
9a3e16f to
3fa92a6
Compare

This adds the e2e app
cloudflare-workers-without-tracing-send-to-sentry. It deploys a real Worker without Sentry tracing (notracesSampleRate) and with Cloudflare traces on, and checks that an error in Sentry has the Cloudflare trace id and the Cloudflare request span as its parent. More tests without tracing can go into this app.Why
The integration tests of #25613 run on a local workerd. This test checks the fix on Cloudflare, against the span that Workers Observability stores for the request.
Sentry traces
With #25613, the error is in the Cloudflare trace: https://sentry-sdks.sentry.io/explore/traces/trace/666e09b1979b18724b8fd77faed99e1b/?project=4510555608449024&statsPeriod=14d (captured with
tracesSampleRate: 0, before #25613 limited the behavior to setups without tracing)Without #25613, the error has its own trace: https://sentry-sdks.sentry.io/explore/traces/trace/bc56b593dcf941c7b21af6216f215dff/?project=4510555608449024&statsPeriod=14d
via Jan Peer Stöcklmair.
--
View Session [Sentry]