Shopify Integration
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Problem Statement
Sentry Customers that use Shopify (e.g. shopify ui-extensions) are often unable to obtain Sourcemaps for the code+app built by Shopify.
These customers have a `shopify` cli tool for building and deploying but it does not provide an option for obtaining the sourcemaps.
[Shopify's recommended error-handling with Sentry.]()
[Shopify's shopify cli]()
There's a worker.js file that's part of Shopify code and not the customer's app, it's the Worker that shopify creates for running the extensions. The worker.js file we see in sourcemaps was deployed with the Vite Sentry plugin when customer ran a build with shopify-cli, but when customer deployed the extensions with the shopify-cli the build and deploy were on Shopify's side and customer was not generating new sourcemaps.
### Solution Brainstorm
In order to deminify these stacktraces from shopify, I think the easiest path forward here is for Shopify to add a `shopify` cli option for obtaining the sourcemaps. Then, the Sentry Customer can upload the sorucemaps to Sentry. I opened this [GH Issue with Shopify]() requesting that feature.
Integration - Sentry & Shopify could form a partnership and integration so that Shopify could send the sourcemaps to Sentry, via an integration, for the right release.
### Product Area
Settings - Integrations
Contributor guide
Assessment
This issue has not been assessed yet.