Repository navigation
ci(mcpx): give the stress go test runs an explicit timeout - #11466
Merged
Merged
Conversation
-count=3 runs every pass of a package inside one test binary, and one internal/e2e pass alone is over five minutes of real-time waits, so go test's default 10m timeout cannot hold the e2e package's three passes under -race. Pass -timeout 25m to the PR e2e stress run and -timeout 50m to the nightly, each under its job's own limit, so a real hang still panics with goroutine dumps rather than being killed by the runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dezren39
marked this pull request as ready for review
November 18, 2026 01:10
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Closes #10489
Before: the mcpx stress jobs ran
go test ... -race -shuffle=<seed> -count=3with go test's default 10m timeout.-count=3runs all three passes of a package inside one test binary, so theinternal/e2epackage hitpanic: test timed out after 10m0son both nightly OSes (run 43707720627) without any test actually hanging.After: the PR e2e stress run passes
-timeout 25m(job limit 30m) and the nightly passes-timeout 50m(job limit 60m). The three passes fit, and a real hang still panics with goroutine dumps before the runner kills the job. The nightly failure issue's reproduce line andpkgs/mcpx/docs/testing.mdcarry the same flag.How: workflow flags and a comment on each, plus a short "Explicit timeouts" bullet in the testing doc. No test or assertion changes; the shutdown-semantics tests keep their real-time waits as the issue asks.
Testing: timed the whole
internal/e2epackage locally in a single pass with no-race(go test ./internal/e2e -count=1 -v -timeout 28m): the top-level tests alone summed to more than 330s before the run finished, so three passes are past 10m before the race detector's slowdown is counted. CI not dispatched.Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.