feat(compute): sandbox ssh command#276
Open
samcm wants to merge 1 commit into
Open
Conversation
Adds 'panda compute sandboxes ssh <id>': sends the public half of
--identity to the control plane (compute.prepare_sandbox_ssh -> POST
/v1/sandboxes/{id}/ssh), writes the returned short-lived gateway
certificate under the user cache dir, and execs ssh against the gateway
immediately (certificates expire within minutes). --print renders the
ssh command instead. Arguments after -- pass through to ssh.
Also exposes prepare_sandbox_ssh in the Python compute module so
sandboxed analysis code can mint certificates.
Contributor
🐼 Smoke eval —
|
| question | result | tokens | tools |
|---|---|---|---|
forky_node_coverage |
❌ | 16,184 | 5 |
tracoor_node_coverage |
❌ | 13,881 | 4 |
mainnet_block_arrival_p50 |
❌ | 15,639 | 7 |
list_datasources |
❌ | 12,745 | 2 |
block_count_24h |
❌ | 15,200 | 8 |
missed_slots_24h |
❌ | 15,385 | 7 |
chartkit_default_arrival_distribution |
❌ | 45,489 | 17 |
storage_upload_session_scoped |
❌ | 18,134 | 12 |
🔭 Langfuse traces (8 runs; ⚠️ = failed)
The report walks this branch's commits against the master baseline and the most recent release. A self-contained copy is in the run's eval-smoke-* artifact.
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.
Adds
panda compute sandboxes ssh <id>— the missing last hop for compute sandboxes:--identity(default~/.ssh/id_ed25519, register it once withpanda compute keys add).compute.prepare_sandbox_sshop (POST /v1/sandboxes/{id}/sshon the compute backend, rides the existing caller-token forwarding — no proxy changes).sshagainst the gateway immediately (certs expire in ~2 minutes).--printrenders the command instead; args after--pass through to ssh.Also adds
prepare_sandbox_sshto the Python compute module.Verified end-to-end against the shadowrealm farplane deployment: minted a cert and opened an interactive shell in a running ethereum-devnet microVM through the gateway. Note: the guest agent currently accepts only interactive sessions (
pty-req+shell), sossh ... <command>fails until farplane#107 lands exec support — interactive use works today.