Turn on automatic retries for sandbox requests
[!NOTE] Adds up to 3 automatic retries when sending sandbox PTY input, retrying on common transient/network errors.
- CLI –
packages/cli/src/terminal.ts
- Retry logic: Wraps
sandbox.pty.sendInputwith a retry loop (max 3 attempts).- Retryable detection: New
isRetryableErrorhelper to classify transient errors (e.g.,TimeoutError,AbortError, network codes likeECONNRESET, andTypeError: fetch failed).- Non-retryable errors are surfaced immediately; existing batching and terminal session handling unchanged.
Written by Cursor Bugbot for commit 66ff8e03ffc279b52a4295ca7ec2f324f4f7d51b. This will update automatically on new commits. Configure here.
⚠️ No Changeset found
Latest commit: 66ff8e03ffc279b52a4295ca7ec2f324f4f7d51b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR