Commit 8d76bda
authored
fix(init): extend API timeout to 210 seconds (#1252)
## 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` — passes1 parent 48f5e63 commit 8d76bda
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | | - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1279 | 1282 | | |
1280 | 1283 | | |
1281 | 1284 | | |
| |||
0 commit comments