Skip to content

ci(mcpx): give the stress go test runs an explicit timeout - #11466

Merged
dezren39 merged 1 commit into
mainfrom
fix/10489-mcpx-stress-timeout
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/10489-mcpx-stress-timeout

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Closes #10489

Before: the mcpx stress jobs ran go test ... -race -shuffle=<seed> -count=3 with go test's default 10m timeout. -count=3 runs all three passes of a package inside one test binary, so the internal/e2e package hit panic: test timed out after 10m0s on 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 and pkgs/mcpx/docs/testing.md carry 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/e2e package 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


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

-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
dezren39 marked this pull request as ready for review November 18, 2026 01:10
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 01:10
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T01:11:28.193887Z a749175 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 79703da into main Nov 18, 2026
@dezren39
dezren39 deleted the fix/10489-mcpx-stress-timeout branch November 18, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mcpx nightly stress: e2e package hits 600s test timeout (run 43707720627)

2 participants