Skip to content

feat: improve sandbox cli & add volumes management#38

Merged
crowlKats merged 4 commits into
mainfrom
improve-sandbox-cli
Jan 6, 2026
Merged

feat: improve sandbox cli & add volumes management#38
crowlKats merged 4 commits into
mainfrom
improve-sandbox-cli

Conversation

@crowlKats
Copy link
Copy Markdown
Member

@crowlKats crowlKats commented Jan 5, 2026

Also adds deno sandbox deploy subcommand

Closes #36
Closes https://github.com/denoland/deployng/issues/2287

Comment thread sandbox/mod.ts Outdated
Comment thread sandbox/mod.ts Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Line 93 is this:

    if (options.lifetime === "session" && options.ssh) {

So despite the description text here, you need to pass --ssh in order to ssh into the created sandbox even when the lifetime is session, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the description, but also the implmenetation, are wrong.

Now, --ssh is required to start a ssh, even with session lifetime (which, when --ssh is not passed, will keep the process open until exited).

@crowlKats crowlKats requested a review from magurotuna January 5, 2026 15:48
Copy link
Copy Markdown
Member

@magurotuna magurotuna left a comment

Choose a reason for hiding this comment

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

LGTM

@crowlKats crowlKats merged commit 028351e into main Jan 6, 2026
4 checks passed
@crowlKats crowlKats deleted the improve-sandbox-cli branch January 6, 2026 00:46
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.

deno sandbox new should not automatically SSH into it

2 participants