Skip to content

fix(init): extend workflow API timeout#932

Merged
betegon merged 1 commit intomainfrom
fix/docs-mcp-timeout
May 8, 2026
Merged

fix(init): extend workflow API timeout#932
betegon merged 1 commit intomainfrom
fix/docs-mcp-timeout

Conversation

@betegon
Copy link
Copy Markdown
Member

@betegon betegon commented May 8, 2026

Summary

The docs-MCP get-docs timeout is being raised to 100s in the server, but the CLI still had a 120s outer timeout for workflow start/resume calls. A slow-but-successful docs tailoring run plus the codemod planner could run past that and surface as a CLI workflow timeout instead.

This gives init workflow API calls a 3 minute budget so the outer client stays above the new server-side docs budget.

Changes

  • raise API_TIMEOUT_MS from 120s to 180s
  • leave local command execution timeout unchanged at 120s

Test Plan

bun test test/lib/init/wizard-runner.test.ts
bunx ultracite check src/lib/init/constants.ts
git diff --check

Note: bunx ultracite check src/lib/init/constants.ts exits 0, but Biome still prints an existing internal warning about src/lib/custom-ca.ts exceeding its type limit.

Companion PR

Server-side timeout change: https://github.com/getsentry/cli-init-api/pull/129

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/_preview/pr-932/

Built to branch gh-pages at 2026-05-08 12:03 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Codecov Results 📊

6835 passed | Total: 6835 | Pass Rate: 100% | Execution Time: 0ms

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 13954 uncovered lines.
❌ Project coverage is 76.99%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    77.04%    76.99%    -0.05%
==========================================
  Files          317       317         —
  Lines        60603     60639       +36
  Branches         0         0         —
==========================================
+ Hits         46688     46685        -3
- Misses       13915     13954       +39
- Partials         0         0         —

Generated by Codecov Action

@betegon betegon force-pushed the fix/docs-mcp-timeout branch from 29bf9cb to e7d8b9b Compare May 8, 2026 12:03
@betegon betegon marked this pull request as ready for review May 8, 2026 12:21
@betegon betegon merged commit f646355 into main May 8, 2026
44 of 46 checks passed
@betegon betegon deleted the fix/docs-mcp-timeout branch May 8, 2026 12:21
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.

1 participant