Skip to content

chore(sentry): Update SDK to v1.0.0-alpha.1 - #729

Merged
mjq merged 1 commit into
mainfrom
mjq/use-latest-sentry-new-scopes-api
Oct 19, 2026
Merged

mjq merged 1 commit into
mainfrom
mjq/use-latest-sentry-new-scopes-api

Conversation

@mjq

@mjq mjq commented Oct 13, 2026

Copy link
Copy Markdown
Member

Use the new scopes API, which replaces the old Hub-based one.

This new API is much more straightforward to use concurrently, so we can get rid of the forbidigo rules disallowing the SDK's concurrency-unsafe methods.

Base automatically changed from mjq/use-latest-go to main October 14, 2026 13:52
@mjq
mjq force-pushed the mjq/use-latest-sentry-new-scopes-api branch from f44c888 to b10721a Compare October 14, 2026 14:00

@giortzisg giortzisg left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, thanks for trying out the new API 🙏. Just left a small comment.

Comment thread cmd/vroom/main.go
@mjq
mjq force-pushed the mjq/use-latest-sentry-new-scopes-api branch from b10721a to 6fad880 Compare October 19, 2026 14:51
@mjq mjq changed the title chore(sentry): Update to latest alpha SDK chore(sentry): Update SDK to v1.0.0-alpha.1 Oct 19, 2026
@mjq
mjq marked this pull request as ready for review October 19, 2026 14:52
@mjq
mjq requested a review from a team as a code owner October 19, 2026 14:52
@mjq
mjq merged commit a71bb2a into main Oct 19, 2026
22 checks passed
@mjq
mjq deleted the mjq/use-latest-sentry-new-scopes-api branch October 19, 2026 15:00
Comment thread cmd/vroom/main.go
err = server.ListenAndServe()
if err != nil && err != http.ErrServerClosed {
rootHub.CaptureException(err)
sentry.CaptureException(context.Background(), err)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unexpected - would we not use the same context for these calls vs making a new empty one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants