Received: from mail.netlandish.com (mail.netlandish.com [174.136.98.166]) by code.netlandish.com (Postfix) with ESMTP id C9F4F1EE for <~netlandish/links-dev@lists.code.netlandish.com>; Sat, 18 Oct 2025 00:35:20 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.217.53; helo=mail-vs1-f53.google.com; envelope-from=peter@netlandish.com; receiver= Authentication-Results: mail.netlandish.com; dkim=pass (1024-bit key; unprotected) header.d=netlandish.com header.i=@netlandish.com header.b=ZHkDz73q Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) by mail.netlandish.com (Postfix) with ESMTP id B02191D80BE for <~netlandish/links-dev@lists.code.netlandish.com>; Sat, 18 Oct 2025 00:36:36 +0000 (UTC) Received: by mail-vs1-f53.google.com with SMTP id ada2fe7eead31-58d377d786bso1637252137.1 for <~netlandish/links-dev@lists.code.netlandish.com>; Fri, 17 Oct 2025 17:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netlandish.com; s=google; t=1760747795; x=1761352595; darn=lists.code.netlandish.com; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Thb+nefzFXEaCrVUAoqgQkTIcuhOPMBf84CtM8P1jSI=; b=ZHkDz73q9NR8HgLvvU5rqoz2Ugt10s20woJiWhsjmeJy4zKA7Fi74cJzIqbOQmWqfs QCUqdkfIAxgDe28XulKrEBFXYb2Hvw8kvspdgGJpAEVMXq/NLK2+3jevguketbe1lR6m zNf2g1oldy0RaD949uFtN5VndrMkz+zZ4JQO0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760747795; x=1761352595; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Thb+nefzFXEaCrVUAoqgQkTIcuhOPMBf84CtM8P1jSI=; b=LSSxnf8YyfRIz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0:32ed with SMTP id ada2fe7eead31-5d7dd5eb045mr2636889137.34.1760747795400; Fri, 17 Oct 2025 17:36:35 -0700 (PDT) Received: from localhost ([186.77.196.208]) by smtp.gmail.com with UTF8SMTPSA id ada2fe7eead31-5d96c27a17dsm398511137.14.2025.10.17.17.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 17:36:35 -0700 (PDT) From: Peter Sanchez To: ~netlandish/links-dev@lists.code.netlandish.com Cc: Peter Sanchez Subject: [PATCH links] gobwebs bump Date: Fri, 17 Oct 2025 18:36:27 -0600 Message-ID: <20251018003630.764-1-peter@netlandish.com> X-Mailer: git-send-email 2.49.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Adding `server.ShouldProcessCommon` to ignore common errors and thus their error emails. --- cmd/api/main.go | 1 + cmd/links/main.go | 1 + cmd/list/main.go | 1 + cmd/short/main.go | 1 + go.mod | 12 ++++++------ go.sum | 24 ++++++++++++------------ 6 files changed, 22 insertions(+), 18 deletions(-) diff --git a/cmd/api/main.go b/cmd/api/main.go index ab6ee51..bfec080 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -127,6 +127,7 @@ func run() error { WithStorage(storesvc). DefaultMiddlewareWithConfig(mwConf). SetWorkerPoolFunc(cmd.GetWorkerPoolCount). + SetShouldProcessErrorFunc(server.ShouldProcessCommon). WithQueues(eq, wq). WithMiddleware( database.DBIMiddleware(db), diff --git a/cmd/links/main.go b/cmd/links/main.go index 8defffc..282c8a1 100644 --- a/cmd/links/main.go +++ b/cmd/links/main.go @@ -223,6 +223,7 @@ func run() error { WithStorage(storesvc). DefaultMiddlewareWithConfig(mwConf). SetWorkerPoolFunc(cmd.GetWorkerPoolCount). + SetShouldProcessErrorFunc(server.ShouldProcessCommon). WithQueues(eq, wq, wqi, imq). WithMiddleware( database.DBIMiddleware(db), diff --git a/cmd/list/main.go b/cmd/list/main.go index 56f535e..942ec79 100644 --- a/cmd/list/main.go +++ b/cmd/list/main.go @@ -89,6 +89,7 @@ func run() error { WithAppInfo("links-list", Version). DefaultMiddlewareWithConfig(mwConf). SetWorkerPoolFunc(cmd.GetWorkerPoolCount). + SetShouldProcessErrorFunc(server.ShouldProcessCommon). WithQueues(eq, wq). WithMiddleware( database.DBIMiddleware(db), diff --git a/cmd/short/main.go b/cmd/short/main.go index 01bcfb7..532e3b8 100644 --- a/cmd/short/main.go +++ b/cmd/short/main.go @@ -87,6 +87,7 @@ func run() error { WithAppInfo("links-short", Version). DefaultMiddlewareWithConfig(mwConf). SetWorkerPoolFunc(cmd.GetWorkerPoolCount). + SetShouldProcessErrorFunc(server.ShouldProcessCommon). WithQueues(eq, wq). WithMiddleware( database.DBIMiddleware(db), diff --git a/go.mod b/go.mod index fec5c14..eccd933 100644 --- a/go.mod +++ b/go.mod @@ -31,12 +31,12 @@ require ( golang.org/x/text v0.27.0 golang.org/x/time v0.8.0 hg.code.netlandish.com/~netlandish/sendygo v0.0.0-20230124192435-bbf347776232 - netlandish.com/x/gobwebs v0.1.12 - netlandish.com/x/gobwebs-auditlog v0.2.9 - netlandish.com/x/gobwebs-formguard v0.2.10 - netlandish.com/x/gobwebs-graphql v0.2.10 - netlandish.com/x/gobwebs-oauth2 v0.2.10 - netlandish.com/x/gobwebs-ses-feedback v0.2.10 + netlandish.com/x/gobwebs v0.1.13 + netlandish.com/x/gobwebs-auditlog v0.2.10 + netlandish.com/x/gobwebs-formguard v0.2.11 + netlandish.com/x/gobwebs-graphql v0.2.11 + netlandish.com/x/gobwebs-oauth2 v0.2.11 + netlandish.com/x/gobwebs-ses-feedback v0.2.11 petersanchez.com/x/carrier v0.2.3 petersanchez.com/x/carrier/ses v0.0.0-20250114214955-7f5d9b835a85 petersanchez.com/x/carrier/smtp v0.0.0-20250114214955-7f5d9b835a85 diff --git a/go.sum b/go.sum index 59d2840..c73d67e 100644 --- a/go.sum +++ b/go.sum @@ -2578,18 +2578,18 @@ modernc.org/z v1.0.1-0.20210308123920-1f282aa71362/go.mod h1:8/SRk5C/HgiQWCgXdfp modernc.org/z v1.0.1/go.mod h1:8/SRk5C/HgiQWCgXdfpb+1RvhORdkz5sw72d3jjtyqA= modernc.org/z v1.2.20/go.mod h1:zU9FiF4PbHdOTUxw+IF8j7ArBMRPsHgq10uVPt6xTzo= modernc.org/zappy v1.0.0/go.mod h1:hHe+oGahLVII/aTTyWK/b53VDHMAGCBYYeZ9sn83HC4= -netlandish.com/x/gobwebs v0.1.12 h1:T+XjmKZ7Cayn8jE/XXj9DoOcQprareFvQQhzb59IR8w= -netlandish.com/x/gobwebs v0.1.12/go.mod h1:RAf0VNiujzXen/pu0k6yyhvPWMgCY9tKD7ftXrkT53E= -netlandish.com/x/gobwebs-auditlog v0.2.9 h1:z6UZJYsuQSzKorbDDzwDQrd9kTfh5Cm4xlMQq30MTEw= -netlandish.com/x/gobwebs-auditlog v0.2.9/go.mod h1:jkiFRtJ3C4rUlJslwNTk7cV+76mGSv5szGxi6AOOyA4= -netlandish.com/x/gobwebs-formguard v0.2.10 h1:cZv/r6n6EEWsJ71uTjxjwy/QEnp+JQR+85IbpntiyAM= -netlandish.com/x/gobwebs-formguard v0.2.10/go.mod h1:FrJd8CjbxPakUIs0QGsmHUcobpKlCGBv1NLIjHTFkrg= -netlandish.com/x/gobwebs-graphql v0.2.10 h1:ZSH5KIoknWGGeIDufDg9Og9O5Qz/t4aPLD4nV31+lZE= -netlandish.com/x/gobwebs-graphql v0.2.10/go.mod h1:9SpuBA+3pJsCPAjoGAdzmG3zjja688cBanIeQOfM4b4= -netlandish.com/x/gobwebs-oauth2 v0.2.10 h1:NJ5ubWW7Tgm2MXt9JUuClAuCHklrD8zo1DUO0tDRl5k= -netlandish.com/x/gobwebs-oauth2 v0.2.10/go.mod h1:/XCYB/uCOCRKhwyO9Teq7WHg0q+rxFUhvek0BP6+ypg= -netlandish.com/x/gobwebs-ses-feedback v0.2.10 h1:IuRn5duBdW8GUQXnTmDfZmp5Eirq3joZp1Z0GGWLCWE= -netlandish.com/x/gobwebs-ses-feedback v0.2.10/go.mod h1:V0zZUfOxlZ/gosL597eIlSJWp3/qwN19uFWKCdF1SuE= +netlandish.com/x/gobwebs v0.1.13 h1:wdw2Ufmfmjb4cYCdCNbbRflWWF1Sod2IzTbE//WdGf8= +netlandish.com/x/gobwebs v0.1.13/go.mod h1:RAf0VNiujzXen/pu0k6yyhvPWMgCY9tKD7ftXrkT53E= +netlandish.com/x/gobwebs-auditlog v0.2.10 h1:dzdY58hdS8nD4J5uir9PzavTohWxxWdRb4qyV1ebeTA= +netlandish.com/x/gobwebs-auditlog v0.2.10/go.mod h1:TIiP98U0Mlgtn9ivjbDDg1X+Wnt8zq0hC3Ce7exqtlY= +netlandish.com/x/gobwebs-formguard v0.2.11 h1:/Vc8e1+Wpdd7y8A0wm954w+QOKuOvU6MXwFKXKRARpE= +netlandish.com/x/gobwebs-formguard v0.2.11/go.mod h1:b8b06b14PJMkeq0gjpwAm8qXDVnvYhT5eulkljBGhlQ= +netlandish.com/x/gobwebs-graphql v0.2.11 h1:Q0qAco2JfXzj+qYqUTXdf2uNPqqj66mYwjK4GwuzIkQ= +netlandish.com/x/gobwebs-graphql v0.2.11/go.mod h1:tRfppt6MobMyfgJOhZ2J6Em20X7tGKKTCETeOx/nVvk= +netlandish.com/x/gobwebs-oauth2 v0.2.11 h1:mI17IoQs8iwLNRtC1lysvMkGShVLNGXyzV96P3eT4n0= +netlandish.com/x/gobwebs-oauth2 v0.2.11/go.mod h1:7h2MfFMo9EJMLXyCNXAinLEOV9omU0uAT4al7+HcWm4= +netlandish.com/x/gobwebs-ses-feedback v0.2.11 h1:STbn+kYib8JhFUq8ZVTYoV973ZTmw5NOXObckFqHoI4= +netlandish.com/x/gobwebs-ses-feedback v0.2.11/go.mod h1:O6lzoNUtgsWSDrKcRodqwKjkXGJJkl9lMPqWlvo6u9Y= petersanchez.com/x/carrier v0.2.3 h1:6ScWG2HVFqeqafQp2D9kChNdXYkou4rduzppc3SDYMg= petersanchez.com/x/carrier v0.2.3/go.mod h1:GLiDI9OThDmruufk/VHlR6Ihvq/hIJQyA5beU6AFNYk= petersanchez.com/x/carrier/ses v0.0.0-20250114214955-7f5d9b835a85 h1:yy81/rrGdI+YWuTvv7JPvVnY104/g10vnloBnKxVAHk= -- 2.49.1