From ac47493f9f25594cd7d6bb5fd469a2666607a021 Mon Sep 17 00:00:00 2001 From: roman Date: Fri, 5 Jun 2026 17:30:45 -0300 Subject: [PATCH] Ignore helper warming startup responses in Sentry. Treat chain `503` responses with `status:\"warming\"` as transient warm-up noise so helper startup windows do not trigger actionable Sentry alerts. --- sentry/sentry.go | 1 + sentry/sentry_test.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/sentry/sentry.go b/sentry/sentry.go index c412ed04..8ded903a 100644 --- a/sentry/sentry.go +++ b/sentry/sentry.go @@ -26,6 +26,7 @@ type TraceSpan struct { var knownNoisyErrorSignatures = []string{ "has no method 'updatefrom'", "nullifier already spent", + `"status":"warming"`, } // InitSentry initializes the Sentry SDK with the given DSN. If dsn is empty, diff --git a/sentry/sentry_test.go b/sentry/sentry_test.go index 3b07f7a1..5ecedfa7 100644 --- a/sentry/sentry_test.go +++ b/sentry/sentry_test.go @@ -51,6 +51,10 @@ func TestShouldDropEvent_MessageSignature(t *testing.T) { name: "duplicate nullifier noise", message: "chain rejected tx (code 2): nullifier already spent", }, + { + name: "helper warming status noise", + message: `submit: chain returned 503: {"status":"warming","started_at":"2026-06-05T20:23:39.398477557Z","duration_ms":37672}`, + }, } for _, tc := range tests {