Skip to content

Commit 09a3ac8

Browse files
authored
chore: remove sentry (#120)
* fix: remove sentry from backend and desktop * fix: remove sentry from backend * fix: desktop workflow
1 parent 8e71009 commit 09a3ac8

File tree

21 files changed

+18
-644
lines changed

21 files changed

+18
-644
lines changed

.github/workflows/build-desktop.yml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -135,41 +135,9 @@ jobs:
135135
# Increase network timeout threshold to reduce build failures on Windows
136136
run: yarn --network-timeout 1000000
137137

138-
- name: Rebuild backend actor system with Sentry DSN and environment
138+
- name: Rebuild backend actor system
139139
run: yarn build:binding
140140
working-directory: packages/backend/bindings/node
141-
env:
142-
SENTRY_DSN: ${{ secrets.SENTRY_DSN_PROD_BACKEND }}
143-
SENTRY_ENVIRONMENT: ${{ env.STAGE }}
144-
145-
- name: Install Sentry CLI
146-
# Yarn has issues putting binaries in the PATH on Windows
147-
run: npm i -g @sentry/cli
148-
if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.os != 'macos-13' }}
149-
150-
- name: Strip backend debug info and upload to Sentry (Linux)
151-
run: |
152-
cp index.node index.node.dbg
153-
strip -S index.node
154-
objcopy --add-gnu-debuglink=index.node.dbg index.node
155-
sentry-cli difutil check index.node.dbg
156-
sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool-backend" --include-sources index.node.dbg
157-
sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool-desktop" --include-sources index.node.dbg
158-
working-directory: packages/backend/bindings/node
159-
env:
160-
SENTRY_LOG_LEVEL: 'debug'
161-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
162-
if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-20.04' }}
163-
164-
- name: Upload backend debug info to Sentry (Windows)
165-
run: |
166-
sentry-cli difutil check node_neon.pdb
167-
sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool-backend" --include-sources node_neon.pdb
168-
sentry-cli upload-dif -o "iota-foundation-h4" -p "iota-legacy-migration-tool-desktop" --include-sources node_neon.pdb
169-
working-directory: packages/backend/bindings/node/native/target/x86_64-pc-windows-msvc/release
170-
env:
171-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
172-
if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest' }}
173141

174142
- name: Set productName
175143
run: node scripts/fix-productName.js
@@ -181,9 +149,6 @@ jobs:
181149
shell: bash
182150
env:
183151
HARDCODE_NODE_ENV: true
184-
SENTRY: ${{ startsWith(github.ref, 'refs/tags/v') }}
185-
SENTRY_DSN: ${{ secrets.SENTRY_DSN_PROD_DESKTOP }}
186-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
187152

188153
- name: Set up Python 2.x (macOS)
189154
if: matrix.os == 'macos-13'
@@ -271,9 +236,6 @@ jobs:
271236
steps:
272237
- run: echo ${{ github.ref }}
273238

274-
- name: Checkout code
275-
uses: actions/checkout@v2
276-
277239
- name: Downloading artifacts windows
278240
uses: actions/download-artifact@v2
279241
with:
@@ -303,7 +265,7 @@ jobs:
303265
echo '### Changelog' >> CHANGELOG.md
304266
echo '------' >> CHANGELOG.md
305267
echo '### File Hashes' >> CHANGELOG.md
306-
echo '[How to verify the authenticity of your IOTA Legacy Migration Tool Desktop download](https://wiki.iota.org/chrysalis-docs/firefly/verify_download)' >> CHANGELOG.md
268+
echo '[How to verify the authenticity of your IOTA Legacy Migration Tool Desktop download](https://wiki.iota.org/introduction/stardust/how_tos/verify_download)' >> CHANGELOG.md
307269
echo '| File | Platform | SHA256 Hash |' >> CHANGELOG.md
308270
echo '| --- | --- | --- |' >> CHANGELOG.md
309271
echo '| iota-legacy-migration-tool-desktop-${{ env.VERSION }}.exe | Windows |' $WIN_SHA256 '|' >> CHANGELOG.md

packages/backend/Cargo.lock

Lines changed: 0 additions & 118 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/backend/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ serde_json = { version = "1.0.68", default-features = false }
1515
riker = "0.4.2"
1616
bee-common = { version = "0.4.1", default-features = false }
1717
log = { version = "0.4.14", default-features = false }
18-
sentry = { version = "0.24.3", default-features = false, features = ["backtrace", "contexts", "panic", "reqwest", "rustls"] }
1918

2019
[dev-dependencies]
2120
futures = "0.3"

0 commit comments

Comments
 (0)