Conversation
Documents what shipped with exec.session and the filesystem release. Adds a Live Sessions page covering the interaction model that exec.command cannot express: starting a process and holding it open, writing to stdin and closing it so an EOF-reading command finishes, allocating a real terminal with a size, signalling the process tree, and the ownership rule that closing the handle or losing the connection stops the command. Includes the Node-only restriction, a table for choosing between command, stream, and session, and worked examples for driving a REPL, answering an installer prompt, and stopping a build that overruns. Extends the Filesystem page with ranged reads, stat (including follow and the version token for optimistic concurrency), mkdir with parents, rename, and remove with recursive. Every snippet on both pages was run against a real box in both SDKs. The new examples use workspace-relative paths, which resolve, rather than the /work prefix used elsewhere on these pages, which does not exist in a box.
…trix
Addresses review on DX-2953.
The teardown section claimed both SDKs expose a context manager. Only Python
does; the JavaScript handle has no Symbol.dispose, so the try/finally in its
example was right and the prose was wrong.
The terminate note said to "send KILL", which reads as an argument to terminate.
It now names kill("KILL"), matching the snippet below it.
Timeout units were mixed: Python wait() takes seconds while terminate() takes
milliseconds, so wait(300) next to terminate(5000) invited a copy-paste error.
Examples now use wait() with no argument as the analogue of the JavaScript call,
every remaining timeout is labelled with its unit, and the difference between
the two wait() signatures is stated once up front.
The EphemeralBox capability matrix predated both releases. EphemeralBox forwards
exec and files wholesale, so it already has exec.session and stat/mkdir/rename/
remove; verified against a real ephemeral box rather than inferred from the
forwarding.
Also links the how-it-works Shell row to the new page, widens its Filesystem row
now that files does more than transfer, and regenerates llms.txt and
llms-full.txt so CI does not have to commit them.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
|
Docs7 preview for upstash.com
|
Contributor
|
Docs7 review for upstash.com · No problems found. |
CahidArda
approved these changes
Aug 25, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.