[DEP-0] feat(sandbox): rename compute -> sandbox#451
Conversation
| Short: "Execute a command within the compute, then stream bytes to stdin", | ||
| Long: "Execute a command within the compute, then stream bytes to stdin", | ||
| Example: ` | ||
| # Pipe text into a file in the compute | ||
| echo "Hello Depot" | depot compute exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tee /tmp/hello.txt" | ||
| echo "Hello Depot" | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tee /tmp/hello.txt" | ||
|
|
||
| # Pipe a tarball into the compute | ||
| tar czf - ./src | depot compute exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tar xzf - -C /workspace" | ||
| tar czf - ./src | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tar xzf - -C /workspace" |
There was a problem hiding this comment.
The help text still references "compute" instead of "sandbox". This creates inconsistent user-facing documentation.
The Short, Long, and Example descriptions should be updated:
Short: "Execute a command within the sandbox, then stream bytes to stdin",
Long: "Execute a command within the sandbox, then stream bytes to stdin",
Example: `
# Pipe text into a file in the sandbox
echo "Hello Depot" | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tee /tmp/hello.txt"
# Pipe a tarball into the sandbox
tar czf - ./src | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tar xzf - -C /workspace"
`,| Short: "Execute a command within the compute, then stream bytes to stdin", | |
| Long: "Execute a command within the compute, then stream bytes to stdin", | |
| Example: ` | |
| # Pipe text into a file in the compute | |
| echo "Hello Depot" | depot compute exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tee /tmp/hello.txt" | |
| echo "Hello Depot" | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tee /tmp/hello.txt" | |
| # Pipe a tarball into the compute | |
| tar czf - ./src | depot compute exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tar xzf - -C /workspace" | |
| tar czf - ./src | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tar xzf - -C /workspace" | |
| Short: "Execute a command within the sandbox, then stream bytes to stdin", | |
| Long: "Execute a command within the sandbox, then stream bytes to stdin", | |
| Example: ` | |
| # Pipe text into a file in the sandbox | |
| echo "Hello Depot" | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tee /tmp/hello.txt" | |
| # Pipe a tarball into the sandbox | |
| tar czf - ./src | depot sandbox exec-pipe --sandbox-id 1234567890 --session-id 1234567890 -- /bin/bash -lc "tar xzf - -C /workspace" | |
Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.
| Short: "Execute a command within the compute", | ||
| Long: "Execute a command within the compute", | ||
| Example: ` | ||
| # execute command within the compute |
There was a problem hiding this comment.
The help text still references "compute" instead of "sandbox". This creates inconsistent user-facing documentation.
Should be updated to:
Short: "Execute a command within the sandbox",
Long: "Execute a command within the sandbox",
Example: `
# execute command within the sandbox| Short: "Execute a command within the compute", | |
| Long: "Execute a command within the compute", | |
| Example: ` | |
| # execute command within the compute | |
| Short: "Execute a command within the sandbox", | |
| Long: "Execute a command within the sandbox", | |
| Example: ` | |
| # execute command within the sandbox | |
Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.
| Short: "Open a pseudo-terminal within the compute", | ||
| Long: "Open a pseudo-terminal within the compute", | ||
| Example: ` | ||
| # open a pseudo-terminal within the compute |
There was a problem hiding this comment.
The help text still references "compute" instead of "sandbox". This creates inconsistent user-facing documentation.
Should be updated to:
Short: "Open a pseudo-terminal within the sandbox",
Long: "Open a pseudo-terminal within the sandbox",
Example: `
# open a pseudo-terminal within the sandbox| Short: "Open a pseudo-terminal within the compute", | |
| Long: "Open a pseudo-terminal within the compute", | |
| Example: ` | |
| # open a pseudo-terminal within the compute | |
| Short: "Open a pseudo-terminal within the sandbox", | |
| Long: "Open a pseudo-terminal within the sandbox", | |
| Example: ` | |
| # open a pseudo-terminal within the sandbox | |
Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.
| Use: "sandbox [flags] [compute args...]", | ||
| Short: "Manage Depot compute", | ||
| Long: `Compute is the building block of Depot CI. |
There was a problem hiding this comment.
The help text still references "compute" instead of "sandbox". This creates inconsistent user-facing documentation.
Should be updated to:
Use: "sandbox [flags] [sandbox args...]",
Short: "Manage Depot sandbox",
Long: `Sandbox is the building block of Depot CI.| Use: "sandbox [flags] [compute args...]", | |
| Short: "Manage Depot compute", | |
| Long: `Compute is the building block of Depot CI. | |
| Use: "sandbox [flags] [sandbox args...]", | |
| Short: "Manage Depot sandbox", | |
| Long: `Sandbox is the building block of Depot CI. |
Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.
Note
Cursor Bugbot is generating a summary for commit 2740cb1. Configure here.