You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== FAIL: coderd/x/nats TestPubsub_Metrics (10.05s)
metrics_test.go:84:
Error: Condition never satisfied
Test: TestPubsub_Metrics
t.go:111: 2026-06-25 10:36:05.425 [info] embedded nats server started client_url=nats://127.0.0.1:36355
t.go:111: 2026-06-25 10:36:15.446 [info] nats server shut down
DONE 26850 tests, 63 skipped, 1 failure in 333.357s
Error analysis:
Single failing test in coderd/x/nats/metrics_test.go.
The require.Eventually at metrics_test.go:84 timed out waiting for expected Prometheus metric values (pubsub counters/gauges/latency) after publish/subscribe activity.
No panic/OOM indicators observed in the job logs around the failure.
Root cause classification: Flaky test (timing-sensitive metrics collection / eventual consistency in NATS pubsub metrics).
Activity
linear-code commentedon Jun 25, 2026
ENG-2962
flake-investigator commentedon Jul 1, 2026
New occurrence on 2026-07-01 in nightly gauntlet.
CI Run: https://github.com/coder/coder/actions/runs/28496003256
Failed Job: https://github.com/coder/coder/actions/runs/28496003256/job/84462298128 (test-go-pg (windows-2022))
Commit: cb1a87b9c0d0d04e4e1079a2f0c1203904c4f27b (Jake Howell) coder/coder@cb1a87b
Failure time: 2026-07-01T05:52:31Z
Failure evidence:
flake-investigator commentedon Jul 2, 2026
New occurrence:
Failure evidence:
Notes:
flake-investigator commentedon Jul 5, 2026
New occurrence:
Failure evidence:
Notes: