Commit Graph
46 Commits
Author SHA1 Message Date
argoyleandClaude Opus 5.5 ff0585ad68 feat: add gqlgen Recover that logs panics as one structured record
otelsetup / vulnerabilities (pull_request) Successful in 31s
otelsetup / test (pull_request) Successful in 3m41s
pre-commit / pre-commit (pull_request) Successful in 3m2s
gqlgen's DefaultRecover prints the panic and debug.PrintStack() to stderr, so the log collector stores every stack line as a separate, level-less entry. Recover logs the panic as a single ERROR record via slog.Default() with panic, stack and path attributes, records it on the active span with status Error, and returns the generic "internal system error" without leaking the panic text. Install with srv.SetRecoverFunc(otelsetup.Recover).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H6eVuR4Yt3m7TbDTDwyZJi
2026-10-17 01:04:48 +02:00
argoyle 63a04e8044 fix(deps): update golang.org/x/net to v0.60.0 and golang.org/x/tools to v0.51.0 (#203)
Unbound Release / Create Release (push) Canceled after 0s
Unbound Release / Generate Changelog and Handle PR (push) Canceled after 0s
Release / release (push) Canceled after 29h34m15s
otelsetup / test (push) Successful in 14m49s
otelsetup / vulnerabilities (push) Successful in 12m17s
Unbound Release / Check Preconditions (push) Successful in 5m18s
Unbound Release / Create Tag (push) Skipped
pre-commit / pre-commit (push) Failing after 24m13s
2026-10-11 06:56:54 +00:00
renovate ffaf6a7f27 fix(deps): update opentelemetry (#198)
Unbound Release / Check Preconditions (push) Successful in 20s
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 40s
Release / release (push) Successful in 17m53s
Unbound Release / Create Release (push) Successful in 24s
2026-10-05 18:16:37 +00:00
renovate a16f09de4a fix(deps): update module codeberg.org/eventsourced/pg/v2 to v2.3.0 (#200)
Unbound Release / Check Preconditions (push) Successful in 29s
Unbound Release / Create Tag (push) Skipped
Release / release (push) Successful in 4m17s
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 44s
Unbound Release / Create Release (push) Successful in 33s
2026-10-05 17:24:43 +00:00
renovate 6a3256c9b6 fix(deps): update module codeberg.org/eventsourced/pg/v2 to v2.2.1 (#188)
Unbound Release / Check Preconditions (push) Successful in 22s
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 45s
Unbound Release / Create Release (push) Successful in 28s
Release / release (push) Successful in 1m24s
pre-commit / pre-commit (push) Successful in 2m36s
2026-09-21 07:19:07 +00:00
renovate 8a5c8dcdb7 fix(deps): update module codeberg.org/eventsourced/pg/v2 to v2.2.0 (#186)
Unbound Release / Check Preconditions (push) Successful in 27s
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
Unbound Release / Create Release (push) Successful in 28s
Release / release (push) Successful in 1m14s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 40s
pre-commit / pre-commit (push) Successful in 3m21s
2026-09-20 17:19:12 +00:00
argoyle 88dde56687 feat(metrics): record eventsourced pg outbox publishes and retries (#182)
Unbound Release / Check Preconditions (push) Successful in 22s
Unbound Release / Create Tag (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 37s
pre-commit / pre-commit (push) Successful in 2m45s
Unbound Release / Create Release (push) Successful in 23s
otelsetup / test (push) Successful in 58s
otelsetup / vulnerabilities (push) Successful in 53s
Release / release (push) Successful in 1m2s
## Why
authz-service now publishes through pg/v2's transactional outbox, and nothing measured it: `NewEventsourcedMetrics` ignored the `pg.Outbox*` metrics. Without them a failing or abandoned publish (a lost privilege revocation for running authz_clients) can't be alerted on.

## What
- `pg.OutboxPublish` → histogram `eventsourced.outbox.publish.duration` (`event.type`, `success`)
- `pg.OutboxRetry` → counter `eventsourced.outbox.retries` (`event.type`, `permanent`)
- `pg.OutboxBatch` / `pg.OutboxCleanup` stay ignored.

otelsetup now imports `codeberg.org/eventsourced/pg/v2` v2.1.1 (`go` directive becomes 1.26.0; grpc patch bump via MVS). All current consumers already depend on pg/v2; a release raises their minimum to v2.1.1.

## Tests
`go test -race ./...` green; the contract test records both new metrics.

## Review
Go Backend expert reviewed: no Critical/High. Noted: the test checks instrument names only, not attributes; the pg/v2 dependency is worth a line in the release notes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_013DJouG8ZZZxKtodF9kDvzj
Reviewed-on: https://gitea.unbound.se/shiny/otelsetup/pulls/182
2026-09-17 11:54:05 +00:00
argoyle d8ed1a9bf8 feat!: use eventsourced from Codeberg (#178)
Unbound Release / Generate Changelog and Handle PR (push) Successful in 45s
Unbound Release / Check Preconditions (push) Successful in 21s
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
Unbound Release / Create Release (push) Successful in 24s
Release / release (push) Successful in 1m9s
pre-commit / pre-commit (push) Successful in 2m50s
2026-09-11 20:52:42 +00:00
renovate d1e99a1f1f fix(deps): update module github.com/99designs/gqlgen to v0.17.95 (#176)
Unbound Release / Create Tag (push) Skipped
Unbound Release / Check Preconditions (push) Successful in 31s
Unbound Release / Create Release (push) Successful in 23s
Release / release (push) Successful in 1m59s
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 35s
2026-09-04 21:13:00 +00:00
renovate 9b04b1b897 fix(deps): update opentelemetry-go monorepo (#172)
otelsetup / vulnerabilities (push) Successful in 59s
pre-commit / pre-commit (push) Successful in 3m16s
Unbound Release / Check Preconditions (push) Successful in 33s
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Successful in 1m9s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 43s
Unbound Release / Create Release (push) Successful in 42s
Release / release (push) Successful in 1m32s
2026-08-28 17:14:50 +00:00
renovate 81231179c8 fix(deps): update opentelemetry-go monorepo (#166)
Unbound Release / Check Preconditions (push) Successful in 21s
Unbound Release / Create Release (push) Successful in 22s
otelsetup / test (push) Successful in 1m23s
Release / release (push) Successful in 1m17s
otelsetup / vulnerabilities (push) Successful in 49s
Unbound Release / Create Tag (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 50s
pre-commit / pre-commit (push) Successful in 2m25s
2026-08-06 20:14:21 +00:00
renovate c41b3ea911 fix(deps): update module github.com/99designs/gqlgen to v0.17.94 (#160)
otelsetup / vulnerabilities (push) Successful in 56s
otelsetup / test (push) Successful in 1m18s
Release / release (push) Successful in 1m6s
pre-commit / pre-commit (push) Successful in 3m12s
2026-07-12 15:24:43 +00:00
renovate c436c8219c fix(deps): update module github.com/99designs/gqlgen to v0.17.93 (#158)
Release / release (push) Successful in 51s
pre-commit / pre-commit (push) Successful in 3m49s
otelsetup / vulnerabilities (push) Failing after 10m46s
otelsetup / test (push) Failing after 11m17s
2026-06-29 00:58:34 +00:00
renovate 8c9e9e3876 fix(deps): update module github.com/99designs/gqlgen to v0.17.92 (#154)
pre-commit / pre-commit (push) Successful in 3m48s
Release / release (push) Successful in 48s
otelsetup / test (push) Successful in 1m41s
otelsetup / vulnerabilities (push) Successful in 1m10s
2026-06-24 15:12:35 +00:00
renovate 2836af0242 fix(deps): update module github.com/99designs/gqlgen to v0.17.91 (#148)
otelsetup / test (push) Successful in 2m24s
otelsetup / vulnerabilities (push) Successful in 1m39s
Release / release (push) Successful in 1m0s
pre-commit / pre-commit (push) Successful in 6m2s
2026-06-14 15:33:23 +00:00
renovate 212369811f fix(deps): update opentelemetry-go monorepo (#146)
otelsetup / test (push) Successful in 2m23s
Release / release (push) Failing after 1m3s
otelsetup / vulnerabilities (push) Successful in 1m39s
pre-commit / pre-commit (push) Successful in 6m1s
2026-05-31 12:07:55 +00:00
argoyle 7bc3101cee feat: add eventsourced MetricsRecorder adapter for OpenTelemetry (#142)
Release / release (push) Failing after 51s
otelsetup / test (push) Successful in 2m43s
otelsetup / vulnerabilities (push) Successful in 2m44s
pre-commit / pre-commit (push) Successful in 5m55s
2026-05-26 17:57:27 +00:00
renovate ec0ea2a287 fix(deps): update module github.com/99designs/gqlgen to v0.17.90 (#133)
otelsetup / vulnerabilities (push) Successful in 2m18s
otelsetup / test (push) Successful in 3m18s
Release / release (push) Successful in 1m2s
pre-commit / pre-commit (push) Successful in 6m15s
2026-04-29 06:18:29 +00:00
renovate e92f853311 fix(deps): update opentelemetry-go monorepo (#131)
Release / release (push) Failing after 1m4s
otelsetup / vulnerabilities (push) Successful in 1m48s
otelsetup / test (push) Successful in 2m22s
pre-commit / pre-commit (push) Successful in 6m31s
2026-04-06 10:14:40 +00:00
renovate cbf01d4546 fix(deps): update module github.com/99designs/gqlgen to v0.17.89 (#129)
Release / release (push) Successful in 54s
otelsetup / vulnerabilities (push) Successful in 1m48s
otelsetup / test (push) Successful in 2m39s
pre-commit / pre-commit (push) Successful in 6m7s
2026-03-24 19:16:50 +00:00
renovate f1cfd58922 fix(deps): update module github.com/99designs/gqlgen to v0.17.88 (#121)
Release / release (push) Successful in 56s
otelsetup / vulnerabilities (push) Successful in 1m51s
otelsetup / test (push) Successful in 2m24s
pre-commit / pre-commit (push) Successful in 7m7s
2026-03-09 01:40:04 +00:00
renovate 4e2f496f5d fix(deps): update opentelemetry-go monorepo to v1.42.0 (#117)
Release / release (push) Failing after 1m2s
otelsetup / test (push) Successful in 2m21s
otelsetup / vulnerabilities (push) Successful in 2m59s
pre-commit / pre-commit (push) Successful in 16m36s
2026-03-06 20:28:23 +00:00
renovate af15b97d05 fix(deps): update opentelemetry-go monorepo (#115)
Release / release (push) Successful in 1m4s
otelsetup / vulnerabilities (push) Successful in 1m45s
otelsetup / test (push) Successful in 2m32s
pre-commit / pre-commit (push) Successful in 6m32s
2026-03-06 19:41:00 +00:00
renovate 235083bb95 fix(deps): update opentelemetry-go monorepo (#110)
Release / release (push) Failing after 1m11s
otelsetup / vulnerabilities (push) Successful in 2m1s
otelsetup / test (push) Successful in 2m43s
pre-commit / pre-commit (push) Successful in 6m7s
2026-03-02 20:18:25 +00:00
argoyleandClaude Opus 4.6 54e7739ea5 fix(deps): update golang.org/x/net to v0.51.0
otelsetup / vulnerabilities (pull_request) Successful in 2m23s
otelsetup / test (pull_request) Successful in 4m47s
pre-commit / pre-commit (pull_request) Successful in 9m11s
Fixes GO-2026-4559: HTTP/2 server panic vulnerability.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 23:57:54 +01:00
renovate d7261826b4 fix(deps): update module github.com/99designs/gqlgen to v0.17.87
otelsetup / test (pull_request) Successful in 6m40s
pre-commit / pre-commit (pull_request) Successful in 9m52s
otelsetup / vulnerabilities (pull_request) Successful in 3m36s
2026-02-19 14:59:12 +00:00
renovate 4aa3e361b5 fix(deps): update opentelemetry-go monorepo (#99)
pre-commit / pre-commit (push) Successful in 10m51s
otelsetup / test (push) Successful in 1m46s
Release / release (push) Successful in 1m9s
otelsetup / vulnerabilities (push) Successful in 5m29s
2026-02-02 19:21:07 +00:00
renovate 639148e40a fix(deps): update opentelemetry-go monorepo to v1.40.0 (#98)
Release / release (push) Failing after 34s
otelsetup / vulnerabilities (push) Successful in 2m25s
otelsetup / test (push) Successful in 3m49s
pre-commit / pre-commit (push) Successful in 5m20s
2026-02-02 18:14:50 +00:00
renovate ae2ca7265b fix(deps): update module github.com/99designs/gqlgen to v0.17.86 (#90)
otelsetup / test (push) Has been cancelled
otelsetup / vulnerabilities (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Release / release (push) Has been cancelled
2026-01-12 02:20:04 +00:00
argoyle 450cc99f41 chore: migrate module path to gitea.unbound.se
otelsetup / vulnerabilities (pull_request) Successful in 2m58s
otelsetup / test (pull_request) Successful in 3m20s
pre-commit / pre-commit (pull_request) Successful in 8m10s
Update module path from git.unbound.se to gitea.unbound.se for Go module
discovery over HTTPS.
2026-01-09 14:30:41 +01:00
argoyle da69271e82 refactor: update import paths to the new repository location
otelsetup / vulnerabilities (pull_request) Successful in 3m55s
otelsetup / test (pull_request) Successful in 4m2s
Change the import paths in CLAUDE.md and go.mod to reflect the
migration of the otelsetup module from GitLab to a new Git server.
Remove the build status and code coverage badges from README.md as
they are no longer applicable. Update configuration in
.pre-commit-config.yaml to match the new module path.
2026-01-09 09:27:06 +01:00
Renovate e7f1a833d2 fix(deps): update module github.com/99designs/gqlgen to v0.17.85 2025-12-17 03:07:01 +00:00
Renovate e3cae200f4 fix(deps): update opentelemetry-go monorepo 2025-12-08 17:56:31 +00:00
Renovate 8c40221d60 fix(deps): update module github.com/99designs/gqlgen to v0.17.84 2025-11-24 17:57:03 +00:00
Renovate a7c50ed3c1 fix(deps): update module github.com/99designs/gqlgen to v0.17.83 2025-11-10 23:07:04 +00:00
Renovate 1e6f84a61c fix(deps): update module github.com/99designs/gqlgen to v0.17.82 2025-11-07 01:56:18 +00:00
Renovate ca88ba0e59 fix(deps): update module github.com/99designs/gqlgen to v0.17.81 2025-09-25 22:54:54 +00:00
Renovate fd966fb90c fix(deps): update module github.com/99designs/gqlgen to v0.17.80 2025-09-17 16:54:59 +00:00
Renovate 308a60a12c fix(deps): update module github.com/99designs/gqlgen to v0.17.79 2025-09-14 20:54:52 +00:00
Renovate ae84f584a2 fix(deps): update opentelemetry-go monorepo 2025-08-29 19:54:56 +00:00
Renovate 104d51278c fix(deps): update module github.com/99designs/gqlgen to v0.17.78 2025-07-27 23:54:15 +00:00
Renovate 53915436b0 fix(deps): update module github.com/99designs/gqlgen to v0.17.76 2025-06-28 23:51:34 +00:00
Renovate d47ecae9ef fix(deps): update opentelemetry-go monorepo 2025-06-25 07:51:42 +00:00
Renovate a75c28a6a3 fix(deps): update module github.com/99designs/gqlgen to v0.17.75 2025-06-16 14:51:40 +00:00
Renovate d9f45d6007 fix(deps): update module github.com/99designs/gqlgen to v0.17.74 2025-06-02 17:51:22 +00:00
argoyle cb92cf7f78 feat: initial version 2025-05-29 20:12:20 +02:00