This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
fix(init): extend API timeout to 210 seconds - #1252
Merged
Merged
Conversation
Contributor
|
betegon
marked this pull request as ready for review
July 15, 2026 14:09
Contributor
Codecov Results 📊✅ Patch coverage is 100.00%. Project has 5371 uncovered lines. 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 +1Generated by Codecov Action |
5 tasks
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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 passpnpm run lint— 917 files passpnpm run generate:schema && pnpm run typecheck— passesgit diff --check— passes