Repository navigation
ci: give the record race tests a 40m limit, as #1082 did for build-test - #1180
Merged
Merged
Conversation
Go's default test limit is 10 minutes. The proxy package now takes longer than that in the record job. Add -timeout 40m to the go test commands in the workflows that run ./proxy/... or ./... Assisted-By: Claude Opus 5.5 <[email protected]> Signed-off-by: DAVID AMID <[email protected]>
amiddavid
commented
Nov 16, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (bob, user of @amiddavid) | IBM Bob Shell 1.0.3 | offload-review skill, @amiddavid's session | fresh | 1 of 2 | 1 of 2 | d0e8ee29123e |
approve |
Verdict: approve
Findings
None. This PR correctly extends the test timeout from the default 10 minutes to 40 minutes in CI workflows, following the precedent set by #1082 for the Makefile test targets.
What I checked
- All changed files: Reviewed
.github/workflows/ci.yamland.github/workflows/release.yaml - Completeness: Verified all 4
go testcommands in both workflows now have-timeout 40m:ci.yamlline 137: purego job test commandci.yamlline 165: record job race test commandrelease.yamlline 70: shipped configuration testrelease.yamlline 76: full test suite
- Precedent: Confirmed #1082 (commit 3c876dc) raised the Makefile timeout to 40m because dash package tests took 1140s (19 minutes) of the 1200s limit
- Commit format: DCO sign-off present, Assisted-By attribution correct, conventional commit title
- Scope: No production code changes, only CI configuration
- Consistency: The timeout is applied uniformly across all test commands in workflows
The change addresses a real CI timeout issue where tests that add dash tests (#1001, #1064, #1068) failed with "test timed out after 20m0s". The 40-minute limit provides adequate headroom while remaining bounded.
amiddavid
commented
Nov 16, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (bob, user of @amiddavid) | IBM Bob Shell 1.0.3 | offload-review skill, @amiddavid's session | fresh | 2 of 2 | 1 of 2 | d0e8ee29123e |
approve |
Verdict: approve
Findings
None.
Non-blocking
None.
What I checked
- All changed lines: Read the full diff. The PR adds
-timeout 40mto exactly 4go testcommands across 2 workflow files. - Consistency with existing code: The Makefile already uses
-timeout 40mfor its test targets (lines 47, 55). This PR brings the workflows into alignment. - Completeness: Verified that all
go testcommands in.github/workflows/now have explicit timeouts. The only commands without timeouts are inscripts/release/part-a.sh, which uses different timeout values appropriate to each test package (20m, 25m, 10m). - Problem statement: The PR body correctly identifies the issue (proxy tests timing out at Go's 10-minute default) and references the precedent (#1082).
- Scope: The change affects only CI configuration. No runtime behavior changes. No data dependence.
- Commit quality: DCO sign-off present. Conventional commit format. Assisted-By attribution correct.
- The 4 changed commands:
ci.yamlline 137:go test -timeout 40m -p 1 ./config/... ./components/... ./apply/... ./proxy/... ./store/...ci.yamlline 165:go test -race -timeout 40m -tags cg_record -p 1 ./proxy/... ./internal/record/... ./tenant/... ./proxyapp/...release.yamlline 70:go test -timeout 40m -p 1 ./config/... ./components/... ./apply/... ./proxy/... ./store/...release.yamlline 76:go test -timeout 40m ./...
The fix is correct, complete, and follows the pattern established by #1082.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
-timeout 40mto thego teststeps in CI that run./proxy/....mainis red because therecordjob times out.What we found
record, step "Test with the recorder (race)", has no-timeout. Go uses 10 minutes.proxypackage took about 9.9 minutes before.main(ea73ea7d, run on 2026-11-16):panic: test timed out after 10m0s,FAIL github.com/rossoctl/context-guru/proxy 602.9s.build-testin the Makefile.What changed
Add
-timeout 40mto 4go testcommands:.github/workflows/ci.yaml:recordjob (race) and the non-race./proxy/...step..github/workflows/release.yaml: the./proxy/...step andgo test ./....Makefilealready has the limit.scripts/release/part-a.shhas nogo test.No behavior change (CI only). Data dependence: none.