Claude Opus 5.5 · Balanced
plugins-chore-renamed-instrumentation-middleware-to-metrics-middleware-grafana-codex
Grafana · Go · M · 100–299 lines · 6 files
The normal review, with one generalist agent. Judge: Claude Haiku 5.5.
- Gold bugs found
- 0 of 0
- Comments published
- 1
- Comments matching a bug
- 0
- Comments not matching
- 1
- Cost of this PR
- $0.452
Published comments (1)
mediumbugpkg/plugins/log/fake.go:46-48
TestLogger.FromContext returns a new logger, so injected logs are lost — Since `LoggerMiddleware.logRequest` logs only via `m.logger.FromContext(ctx).Info(...)`, tests injecting a `TestLogger` always see `InfoLogs.Calls == 0`. Return `f` instead of `NewTestLogger()` so calls land on the instance the test holds.
Gold bugs found (0)
None.
Gold bugs missed (0)
None.