-
Notifications
You must be signed in to change notification settings - Fork 83
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
Using EAS update, there's no revisionId
in releases
#297
Comments
That is correct. We are currently working on the |
To elaborate, based on your comments on the docs PR, So you can tweak this any way you want, as long as you pass in |
Thanks! Reading through https://docs.sentry.io/product/releases/, I think Wouldn't it make more sense to have the JS bundle then be a "release"? I might very well be wrong tho, far from a Sentry expert 🙂 |
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Sort of addressed in #302 I guess? |
I agree with @SimenB. We can't get sourcemaps to work properly using dists, so we have configured release name to be
Our Sentry now functions essentially the same way it used to with expo-updates. What is the reasoning for using dists? We think it makes sense that the js bundle should map to the release in Sentry, not the binary build. |
Agreed. When I press "resolve in next release" in sentry, I have to make an entirely new build for it to work. Seems counter intuitive. Would also still like a matching id on all platforms. |
I agree with @SimenB. Still can't find a way to pull the group id instead of the platform-specific id within the client, and I'd love to do either that or have some config on expo sentry to use either the platform-specific or the group id automatically. |
Update group is available in the |
Gotcha! Thanks @kbrandwijk for that info, do you think it's safe to use it as dist? Asking because manifest.metadata does not have defined types |
Yeah that field is safe to use. |
Any particular reason why it's not the default |
Not really, most of the people we talked to about this had separate releases for iOS and Android already in Sentry, so looking for a different field didn't seem necessary. We can reconsider, but a bigger problem is that updates are applied to builds based on runtimeVersion, so that means that a single update can actually apply to multiple different builds. |
Summary
When using classix updates (
expo publish
), a revision ID is used as therelease
in Sentry, meaning one can track issues between JS updates, and mark them as resolved.This field doesn't exist with EAS Updates.
sentry-expo/src/sentry.ts
Lines 20 to 41 in b79ac90
In my own project, I've migrated to
expo-update
'supdateId
, like so:`${nativeApplicationVersion}-${Updates.updateId}`
. This is sorta fine except that this ID is different between ios and android - ideally we'd have access to the update group ID.There's even a comment about this is the code I linked:
// Want to make sure this still exists in EAS update: equal on iOS & Android
Managed or bare workflow? If you have
ios/
orandroid/
directories in your project, the answer is bare!managed
What platform(s) does this occur on?
Android, iOS
SDK Version (managed workflow only)
46
Environment
Reproducible demo or steps to reproduce from a blank project
Just use
expo-sentry
with EAS Update and see no new release is shown in Sentry after making an update.The text was updated successfully, but these errors were encountered: