Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit db62edf

Browse files
authored
Merge branch 'main' into dependabot/docker/node-22.18.0-slim
2 parents 54b5e01 + 36750de commit db62edf

File tree

12 files changed

+18
-879
lines changed

12 files changed

+18
-879
lines changed

.github/workflows/dependabot-auto-approve-minor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
strategy:
1212
matrix:
1313
dependencyStartsWith:
14-
- '@types/'
15-
- '@sentry/'
1614
- '@types/'
1715
- mocha
1816
- light-my-request

api/bin/spark.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import '../lib/instrument.js'
21
import assert from 'node:assert'
32
import http from 'node:http'
43
import { once } from 'node:events'

api/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { json, redirect, status } from 'http-responders'
2-
import * as Sentry from '@sentry/node'
32
import getRawBody from 'raw-body'
43
import assert from 'http-assert'
54
import { validate } from './lib/validate.js'
@@ -308,10 +307,6 @@ const errorHandler = (res, err, logger) => {
308307
logger.error(err)
309308
status(res, 500)
310309
}
311-
312-
if (res.statusCode >= 500) {
313-
Sentry.captureException(err)
314-
}
315310
}
316311

317312
const getSummaryOfEligibleDealsForMiner = async (_req, res, client, minerId) => {

api/lib/instrument.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

api/lib/round-tracker.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import assert from 'node:assert'
2-
import * as Sentry from '@sentry/node'
2+
33
import { createMeridianContract } from './ie-contract.js'
44

55
export const TASKS_PER_ROUND = 100
@@ -34,7 +34,6 @@ export async function startRoundTracker ({ pgPool, signal, recordTelemetry }) {
3434

3535
updateSparkRound(pgPool, contract, newRoundIndex, recordTelemetry, blockNumber).catch(err => {
3636
console.error('Cannot handle RoundStart:', err)
37-
Sentry.captureException(err)
3837
})
3938
}
4039
contract.on('RoundStart', onRoundStart)

api/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
"@filecoin-station/spark-impact-evaluator": "^1.2.4",
2222
"@glif/filecoin-address": "^4.0.0",
2323
"@influxdata/influxdb-client": "^1.35.0",
24-
"@sentry/node": "^9.43.0",
2524
"compare-versions": "^6.1.1",
2625
"ethers": "^6.15.0",
2726
"http-assert": "^1.5.0",
2827
"http-responders": "^2.2.0",
29-
"multiformats": "^13.3.7",
28+
"multiformats": "^13.4.0",
3029
"pg": "^8.16.3",
3130
"postgrator": "^8.0.0",
3231
"raw-body": "^3.0.0"

0 commit comments

Comments
 (0)