Skip to content

ci: raise go test -race timeout to 900s - #749

Open
remyluslosius wants to merge 1 commit into
mainfrom
ci/raise-go-test-timeout
Open

ci: raise go test -race timeout to 900s#749
remyluslosius wants to merge 1 commit into
mainfrom
ci/raise-go-test-timeout

Conversation

@remyluslosius

Copy link
Copy Markdown
Contributor

Why

Go CI #976 on main (the push after #748 merged) failed with:

internal/server: panic: test timed out after 10m0s

The identical commit passed as Go CI #975 on the PR branch — so it's a timeout/resource flake, not a regression. The internal/server suite (~470s without -race) rides right at the old per-package 600s limit under go test -race -p 4 with shared-Postgres contention; recent test additions (v0.6.0 lens-default / trend / api tests) pushed it over on the slower main runner.

Change

.github/workflows/go-ci.yml: go test -race … -timeout 600s900s. Per-package timeout, so it gives the heavy internal/server suite headroom; a genuine hang still fails within 15 min. No job-level timeout-minutes is set, so the job won't be killed early.

Follow-up (not in this PR)

If the suite keeps growing, the more durable fix is to split internal/server or scope -race more narrowly rather than raising the timeout again.

🤖 Generated with Claude Code

The internal/server suite (~470s without -race) rides near the old per-package
600s limit under `go test -race -p 4`, so it intermittently times out on slower
/ more-contended runners — e.g. Go CI #976 on main (post-#748 merge) timed out
at 10m0s while the identical commit passed on the PR branch. Recent test
additions pushed it over the edge. Raise the per-package timeout to 900s for
headroom; a genuine hang still fails within 15 min.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant