Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

fix(init): extend API timeout to 210 seconds - #1252

Merged
betegon merged 1 commit into
mainfrom
fix/init-api-timeout-210s
Jul 15, 2026
Merged

betegon merged 1 commit into
mainfrom
fix/init-api-timeout-210s

Conversation

@betegon

@betegon betegon commented Jul 15, 2026

Copy link
Copy Markdown
Member

Summary

Extends the Sentry Init Mastra API timeout from 180 seconds to 210 seconds.

A recent Next.js run completed the server-side Plan code changes step in 192.97 seconds, but the CLI crossed its 180-second deadline before the result arrived. The additional 30 seconds covers that observed case while the underlying Docs MCP latency is tracked separately in getsentry/cli-init-api#199.

The recovery test now proves the exact boundary: recovery has not started at 209,999 ms and starts after the final millisecond.

Test plan

  • pnpm exec vitest run test/lib/init/wizard-runner.test.ts — 56 tests pass
  • pnpm run lint — 917 files pass
  • pnpm run generate:schema && pnpm run typecheck — passes
  • git diff --check — passes

@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

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

Built to branch gh-pages at 2026-07-15 14:08 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@betegon
betegon marked this pull request as ready for review July 15, 2026 14:09
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

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

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    81.77%    81.76%    -0.01%
==========================================
  Files          424       424         —
  Lines        29452     29452         —
  Branches     19190     19190         —
==========================================
+ Hits         24085     24081        -4
- Misses        5367      5371        +4
- Partials      1999      2000        +1

Generated by Codecov Action

@betegon
betegon merged commit 8d76bda into main Jul 15, 2026
30 checks passed
@betegon
betegon deleted the fix/init-api-timeout-210s branch July 15, 2026 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant