Skip to content

fix(cli): add implicit limit to sandbox list#1164

Draft
jakubno wants to merge 3 commits intomainfrom
chore/add-default-limit-to-cli-list
Draft

fix(cli): add implicit limit to sandbox list#1164
jakubno wants to merge 3 commits intomainfrom
chore/add-default-limit-to-cli-list

Conversation

@jakubno
Copy link
Member

@jakubno jakubno commented Feb 25, 2026

Note

Low Risk
Low risk: CLI-only behavior change that adds a default cap and minor output messaging; main risk is surprising users who previously relied on unlimited listing unless they pass --limit 0.

Overview
Adds an implicit default limit to sandbox list (now defaults to 1000, with --limit 0 meaning no limit) to avoid unbounded sandbox listing.

Updates listSandboxes to return { sandboxes, hasMore } and prints a note in pretty output when results are truncated, while keeping API pagination capped at 100 per page.

Written by Cursor Bugbot for commit 3a29103. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2026

🦋 Changeset detected

Latest commit: 3a29103

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@e2b/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

Package Artifacts

Built from fbd1a1a. Download artifacts from this workflow run.

JS SDK (e2b@2.13.1-chore-add-default-limit-to-cli-list.0):

npm install ./e2b-2.13.1-chore-add-default-limit-to-cli-list.0.tgz

CLI (@e2b/cli@2.7.3-chore-add-default-limit-to-cli-list.0):

npm install ./e2b-cli-2.7.3-chore-add-default-limit-to-cli-list.0.tgz

Python SDK (e2b==2.14.0+chore-add-default-limit-to-cli-list):

pip install ./e2b-2.14.0+chore.add.default.limit.to.cli.list-py3-none-any.whl

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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