From 194d79402ec3552db3efb686e7f6bc7d93c6aea8 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Thu, 12 Feb 2026 09:06:33 +0000 Subject: [PATCH] chore: remove dbmem comment references (#22056) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 👻 The ghost of dbmem managed to live on... until now. --- coderd/database/db.go | 1 - coderd/notifications/notifications_test.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/coderd/database/db.go b/coderd/database/db.go index 23ee5028e3..6d5ad99576 100644 --- a/coderd/database/db.go +++ b/coderd/database/db.go @@ -93,7 +93,6 @@ type TxOptions struct { // IncrementExecutionCount is a helper function for external packages // to increment the unexported count. -// Mainly for `dbmem`. func IncrementExecutionCount(opts *TxOptions) { opts.executionCount++ } diff --git a/coderd/notifications/notifications_test.go b/coderd/notifications/notifications_test.go index d70fa7456d..96d5c0b923 100644 --- a/coderd/notifications/notifications_test.go +++ b/coderd/notifications/notifications_test.go @@ -262,8 +262,6 @@ func TestWebhookDispatch(t *testing.T) { // This is not strictly necessary for this test, but it's testing some side logic which is too small for its own test. require.Equal(t, payload.Payload.UserName, name) require.Equal(t, payload.Payload.UserUsername, username) - // Right now we don't have a way to query notification templates by ID in dbmem, and it's not necessary to add this - // just to satisfy this test. We can safely assume that as long as this value is not empty that the given value was delivered. require.NotEmpty(t, payload.Payload.NotificationName) }