Skip to content

ci: give the record race tests a 40m limit, as #1082 did for build-test - #1180

Merged
amiddavid merged 1 commit into
mainfrom
ci/record-timeout-40m
Nov 16, 2026
Merged

amiddavid merged 1 commit into
mainfrom
ci/record-timeout-40m

Conversation

@amiddavid

Copy link
Copy Markdown
Collaborator

Summary

Add -timeout 40m to the go test steps in CI that run ./proxy/.... main is red because the record job times out.

What we found

  • Job record, step "Test with the recorder (race)", has no -timeout. Go uses 10 minutes.
  • The proxy package took about 9.9 minutes before.
  • On main (ea73ea7d, run on 2026-11-16): panic: test timed out after 10m0s, FAIL github.com/rossoctl/context-guru/proxy 602.9s.
  • ci: raise the go test timeout to 40m (dash takes 1140 s of 1200 s) #1082 fixed the same problem for build-test in the Makefile.

What changed

Add -timeout 40m to 4 go test commands:

  • .github/workflows/ci.yaml: record job (race) and the non-race ./proxy/... step.
  • .github/workflows/release.yaml: the ./proxy/... step and go test ./....

Makefile already has the limit. scripts/release/part-a.sh has no go test.

No behavior change (CI only). Data dependence: none.

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 amiddavid left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yaml and .github/workflows/release.yaml
  • Completeness: Verified all 4 go test commands in both workflows now have -timeout 40m:
    • ci.yaml line 137: purego job test command
    • ci.yaml line 165: record job race test command
    • release.yaml line 70: shipped configuration test
    • release.yaml line 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 amiddavid left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 40m to exactly 4 go test commands across 2 workflow files.
  • Consistency with existing code: The Makefile already uses -timeout 40m for its test targets (lines 47, 55). This PR brings the workflows into alignment.
  • Completeness: Verified that all go test commands in .github/workflows/ now have explicit timeouts. The only commands without timeouts are in scripts/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:
    1. ci.yaml line 137: go test -timeout 40m -p 1 ./config/... ./components/... ./apply/... ./proxy/... ./store/...
    2. ci.yaml line 165: go test -race -timeout 40m -tags cg_record -p 1 ./proxy/... ./internal/record/... ./tenant/... ./proxyapp/...
    3. release.yaml line 70: go test -timeout 40m -p 1 ./config/... ./components/... ./apply/... ./proxy/... ./store/...
    4. release.yaml line 76: go test -timeout 40m ./...

The fix is correct, complete, and follows the pattern established by #1082.

@amiddavid
amiddavid merged commit 3cf68f2 into main Nov 16, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant