Skip to content

ci: give the Windows unit-test leg a 20m package timeout - #1269

Merged
Dumbris merged 1 commit into
mainfrom
ci/windows-unit-test-timeout
Sep 12, 2026
Merged

Dumbris merged 1 commit into
mainfrom
ci/windows-unit-test-timeout

Conversation

@Dumbris

@Dumbris Dumbris commented Sep 12, 2026

Copy link
Copy Markdown
Member

Follow-up to #1268 / #1266. The first push-to-main run after the handle-leak fix no longer fails on TempDir cleanup, but Unit Tests (windows-latest, 1.25) hit panic: test timed out after 10m0s in internal/server (run 34692065096): under -race + atomic coverage that package takes 450–600 s on that runner class, so the default 10 m was one slow runner away from red. The E2E workflow's -short, coverage-free run of the same package took 449 s and passed on the same commit.

Raises the Windows leg's -timeout to 20 m; the Unix legs are unchanged.

Not touched: a recovered nil-pointer panic in handleAddFromRegistry during TestMutatingServerRoutes_AdminAllowed/registry-add-server (the test's stub controller returns a nil config with a nil error; chi's Recoverer turns it into a 500 and the test still passes). Pre-existing on every platform and every earlier run; worth its own fix.

🤖 Generated with Claude Code

internal/server takes 450-600s on windows-latest under -race with
atomic coverage, so the 10m default was one slow runner away from
"panic: test timed out" — the failure the leg produced on dc84174,
the first push after the #1266 handle leak was fixed. The E2E
workflow's -short, coverage-free run of the same package on the same
runner class takes ~450s.

Co-Authored-By: Claude Opus 5 <[email protected]>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

📦 Build Artifacts

Workflow Run: View Run
Branch: ci/windows-unit-test-timeout

Available Artifacts

  • archive-darwin-amd64 (29 MB)
  • archive-darwin-arm64 (27 MB)
  • archive-linux-amd64 (17 MB)
  • archive-linux-arm64 (16 MB)
  • archive-windows-amd64 (29 MB)
  • archive-windows-arm64 (26 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (24 MB)
  • installer-dmg-darwin-arm64 (21 MB)
  • smart-mcp-proxymcpproxy-goTORWR3.dockerbuild (0 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 34693354437 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris
Dumbris merged commit a74a7cf into main Sep 12, 2026
39 of 40 checks passed
Dumbris added a commit that referenced this pull request Sep 12, 2026
)

Same cumulative-slowness signature as #1034, one rung up: internal/server
on windows-latest took 449s on dc84174 and blew the 10m cap on
a74a7cf with a 4s test in flight. unit-tests.yml moved to 20m in
#1269; the comment here asks for the two budgets to stay in step.

Co-authored-by: Claude Opus 5 <[email protected]>
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.

2 participants