-
-
Notifications
You must be signed in to change notification settings - Fork 15
src: migrate from toucan-js to sentry sdk #833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
3dc4709 to
02dcaae
Compare
toucan-js has been deprecated in favor of the official Sentry SDK Signed-off-by: flakey5 <[email protected]>
02dcaae to
0d4dc76
Compare
| exit 1 | ||
| fi | ||
|
|
||
| SENTRY_RELEASE=$(npx sentry-cli releases propose-version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is npx sentry-cli releases propose-version guaranteed to produce the same result when run multiple times, as we've already run this in the deploy step?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afaict yes, I think it's just returning the current version plus 1. It's being ran multiple times in the official docs at least, https://docs.sentry.io/platforms/javascript/guides/cloudflare/sourcemaps/uploading/wrangler/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Matt Cowley <[email protected]>
Signed-off-by: flakey5 <[email protected]>

Still a wiptoucan-js has been deprecated in favor of the official Sentry SDK re robertcepa/toucan-js#250
Also should fix #742