Skip to content

Commit e6545bf

Browse files
committed
chore: removed Sentry and related reporting code. Automated reporting of Wrangler errors will be reimplemented after further planning.
1 parent daed3c3 commit e6545bf

File tree

12 files changed

+6
-928
lines changed

12 files changed

+6
-928
lines changed

.changeset/smooth-planes-serve.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
chore: removed Sentry and related reporting code. Automated reporting of Wrangler errors will be reimplemented after further planning.

.github/sourcemap-url.js

-16
This file was deleted.

.github/workflows/prereleases.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,7 @@ jobs:
4848
- name: Get Package Version
4949
run: echo "WRANGLER_VERSION=$(npm view wrangler@beta version)" >> $GITHUB_ENV
5050
working-directory: packages/wrangler
51-
# The Sourcemap rewrite script is necessary due to how Sentry handles Events, Sourcemaps and sourcemapping URLs, all of which need to reference each other.
52-
# The script will rewrite the sourcemap URLs to point to the correct location of the sourcemap and what the Event is being processed (with RewriteFrames)
53-
# In the Sentry project there is a concept of a filesystem which if they are all referencing root can be used to determine the correct location of the sourcemap.z
54-
# The unmodified released version of the sourcemap is done in the Create Version PR or Publish to NPM two steps above.
55-
- name: SourceMapping Rewrite & Sentry Upload
56-
run: node .github/sourcemap-url.js
57-
- run: npx sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} releases --org ${{ secrets.SENTRY_ORG }} --project ${{ secrets.SENTRY_PROJECT}} files "wrangler@$WRANGLER_VERSION" upload-sourcemaps ./wrangler-dist --url-prefix /
58-
working-directory: packages/wrangler
51+
5952
publish_prerelease_registry:
6053
if: ${{ github.repository_owner == 'cloudflare' }}
6154
name: Publish Prerelease Registry

0 commit comments

Comments
 (0)