Repository navigation
Let every device of a lease's owner use it over SSH - #35
Conversation
A cloud peer is an errand daemon with machine offers. When no runner you own matches --where (new terms: gpu, gpus>=N, gpu=MODEL, vram>=N), it leases a machine, the machine joins as a runner, and the job runs there. Leases end on idle, at a max lifetime, or with `errand leases rm`, and survive restarts. Providers are two commands (acquire, release) or the built-in Lambda Cloud provider, which installs errand over SSH and never leaves an instance billing after a crash. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
- Ctrl-C during the lease request no longer drops the lease: the request finishes, and the launching lease it names is released. - A launch is canceled at the offer's max_lifetime, not only at acquire_timeout. - A lease is ready only once that is recorded; a failed write releases it instead of leaving a record a restart would release under a job. - The running broker forgets leases that ended over a week ago, as startup already did. - Offers are shown only to callers that may see their lease IDs, so a caller without the lease action never forgets live lease peers. - doctor still runs its automatic-apply checks when a run would lease. - GPU facts refresh in the background, so a hung nvidia-smi cannot push /v0/info past the client's placement deadline. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Without tailscale_auth_key_file, a leased Lambda machine runs its runner with transport = "ssh": no network port, and jobs reach it over SSH on port 22 like any SSH peer. Clients' public keys come from the offer's authorized_keys. The lease carries the host key the machine booted with, and errand pins it for that target, so no known_hosts entry or prompt is needed and a reused IP cannot impersonate the machine. The cloud peer watches the runner with the key it installed it with. Command providers can return the same host_key with an ssh target. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
- A workspace's own run.where never rents a machine; personal defaults, profiles and --where can. - Lease requests must be application/json without an Origin header, so a web page cannot start a billable machine. - A run rents a machine only after its local preparation (forwards, snapshot) succeeds. - Placement drops ended lease peers and runs again, even when the machine still answers. - Releases are acknowledged only once recorded. - The reaper checks max lifetime before probing and probes ready leases concurrently. - static-pool.sh claims a slot and records its lease in one atomic step. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
The cloud peer makes its own SSH key on first use, adds it to the Lambda account, and installs and watches machines with it, so ssh_key_name and ssh_private_key_file are gone. Each client makes an errand SSH key of its own and sends the public half with the lease request; the machine admits only that key, so authorized_keys is gone too. A lease is reused only for the same client key. Command providers get the key as ERRAND_LEASE_SSH_KEY. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
- Tailnet leases run Tailscale-only, so no SSH key reaches their runner. - A runner with active leases refuses to start without its [cloud] section, and a command offer's leases are bound to its exact commands. - Host key pins live in the state directory and are written before the lease is recorded; pinned connections get their own control path. - The idle check records a release before destroying the machine. - Lease records keep their cloud peer's entry, so release works after the name changes. - workspaces create rents only after its snapshot is prepared. - Provider stderr is drained past an over-long line. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
The cloud peer now drives each lease with one worker goroutine that makes every provider call. Every change goes through one update that writes the whole record before readers see it, and only moves leases forward. A lease records how to release itself (release command or Lambda API key file), its idle timeout and the key the cloud peer probes it with, so changing or removing offers or the whole [cloud] section only stops new leases. Every runner now has a broker; the refuse-to-start checks are gone. A restart still releases interrupted launches. Clients keep no lease records, pin files or peer aliases. /v0/info lists the caller's active leases with their targets, host keys and admitted SSH key; placement, ps, peers and lease peer names (cloud-7f3a, any unambiguous ending of the lease ID) all come from that list, and host keys are trusted in memory for the process. Lease requests carry a request ID, so a client that lost the answer gets the same lease again. Release cancels a running acquire or probe. Leases reached over the tailnet are reused across a user's machines; SSH ones only by the machine whose key they admit. Offer gpus is capped at 64 and acquire stdout at 16 KiB, which keeps release's state within Windows' environment limit. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…lease Ctrl-C before the job starts now withdraws the run's lease request. The cloud peer ends the lease only if that request made it and no other request was handed it; a ready lease is released at its next check unless a job is running on it. This replaces the client deciding from the lease state. Also: a cloud peer without offers keeps leftover [cloud] settings and stays listed by errand leases while it holds leases, and the client SSH key is placed private half first, with a missing public half derived again. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
… terminated A leased machine admits its owner for every action, so holding a lease needs submit on the cloud peer. A caller without it is no longer shown lease targets, and its leases end when it next asks about them. Lambda release now counts only once Lambda's instance list shows every instance of the lease terminated (or gone). Release returns ReleasePending while termination is under way, and the broker asks again shortly. Docs say the idle and lifetime limits hold only while the cloud peer runs and are not a spending cap. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…s leases A lease now records each request it was handed. An interrupted run withdraws its own request, and the lease ends only once no request still holds it; a job seen running, or more than 32 requests, leaves it to the idle rule. A withdrawal the cloud peer no longer ties to a lease is reported as kept rather than as a failure. errand leases also asks the implicit local peer, which placement can rent from. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
A run that resolved a lease now withdraws its request whenever it ends before anything was submitted there, not only on Ctrl-C. The idle deadline is derived from when the lease was last busy, so it is right after a restart. The state directory is made absolute so recorded identity paths survive a different working directory, and pinned lease sessions offer only their own keys. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
A machine resolved for one run is now held by an explicit claim, which the run settles once with what became of its request there: nothing admitted (not submitted, or definitely refused) withdraws the lease request; admitted, or possibly admitted after a lost answer, leaves the lease to the cloud peer's idle rule. Run and workspace creation share the contract, and a target never tried also gives up its claim. The cloud peer decides an automatic release against the lease record as it is when the release is recorded, not as it was when the idle probe began, so a lease handed to a request during a probe is not released. Handing out a ready lease counts as use. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
The broker's ownership fields (request ID, request list, kept, unwanted) become one holder set and a "a job has used this machine" bit, from which everything else is derived. docs/DESIGN.md states the lease guarantees, and the broker tests name the guarantee they check. A lease takes at most 32 waiting runs. From the first real Lambda run: errand leases rm finds a bare lease ID's cloud peer without --on, and the cloud peer logs each lease's lifecycle. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Runners report the GPUs nvidia-smi lists, refreshed at most once a minute in the background so a slow driver never holds up info. --where gains gpu, gpus>=N, gpu=MODEL and vram>=N, combined per GPU, plus os=windows. Runners recheck them at admission, and errand peers shows a GPUS column. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…ases # Conflicts: # cmd/errand/peers_render.go # docs/CONFIGURATION.md # internal/daemon/server.go # internal/placement/requirements.go # internal/placement/requirements_test.go
This branch carries cloud leasing with provider commands: the broker, the CLI, the daemon endpoints and the client lease flow. The built-in Lambda provider follows separately. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Active copied the stored lease instead of its view, so /v0/info listed ready leases without the derived idle deadline. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
The test waited for a second probe that a withdraw could make unnecessary, so it sometimes hung. It now reuses the lease while the first idle probe is held, which is the window the guarantee is about. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…s --on errand peers lists leased machines, so peers --on now accepts their names too. leases rm becomes leases release, which says what it does to a rented machine. The lease endpoints, including the internal per-run withdraw, are written down with the rest of the protocol. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
launch looked up the lease's offer and creation time without the lock while a withdraw could replace the record, which the race detector caught in CI. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Every reachable cloud peer with a matching offer can supply a machine. --where ranks their cheapest matching offers by price, priced before unpriced and equal ones at random, and asks the next cloud peer when one turns the request down before starting anything. A cloud peer leases its own cheapest matching offer the same way. The default peer and a cloud peer's own load play no part. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
When ssh exited with 255 before saying anything, a read reported the peer unreachable but a write reported only that ssh ended. Whether the request write or the response read hit the closed pipe first depended on timing, so TestSSHConnectFailureIsUnreachable was flaky in CI. Both now explain the error through one function. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
A lease reached over SSH let in only the key of the device that asked for it, so the owner's other devices could not see it as a peer and leased a second machine instead. The lease now keeps the keys it admits. When another device of the owner's asks for a machine the lease matches, or names the lease with --on, the cloud peer's worker adds that device's public key to the machine over its own SSH access and the device waits until it has. No private key leaves its device. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
The check that ends the leases of a caller that lost submit ran only in lease handlers and in /v0/info behind the lease action, so a caller left with read-own, or with nothing at all, kept its leased machine until the idle or lifetime limit. It now runs in the auth wrapper for every identified caller, before the action check. Also take lease offers only from configured peers. A leased runner that offers machines itself is probed as a runner, and renting from it would leave a machine nobody ends once the intermediate lease goes idle. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…vices # Conflicts: # internal/daemon/auth_test.go
|
Generated by Claude Code |
/bin/true is /usr/bin/true on macOS, so the lease ended in the first step stayed releasing and the next step saw two leases. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…vices # Conflicts: # internal/daemon/auth_test.go
A buffer that limits what it keeps by overriding Write while embedding bytes.Buffer also exposes Buffer.ReadFrom. exec.Cmd copies a child's output with io.Copy, which prefers ReadFrom, so the limit never applied: git merge-file's stderr was kept in full. internal/limitbuf wraps the buffer instead, and merge uses it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
limitedBuffer embedded bytes.Buffer, so exec copied acquire's stdout and release's output through Buffer.ReadFrom and never hit the limit: an acquire that printed more than 16 KiB was accepted and kept in memory in full. The provider now uses limitbuf.Buffer, which is also on its way to main for the same bug in merge. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
…vices # Conflicts: # internal/cloud/broker.go
The cloud peer ran the admission ssh with CombinedOutput, so whatever the leased machine's shell printed was held in full in the cloud peer's memory for up to the 30-second admission timeout. It now discards stdout and keeps the first 4 KiB of stderr to explain a failure. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d69061c67
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- The admission script adds a newline before appending when authorized_keys ends without one, so the first added key is not glued onto the last line. - A lease name only resolves against ready leases with valid ULIDs, and a suffix shared by several of the owner's ready leases is an ambiguity error whether or not this device was admitted to them. - Admitting keys into a lease registers its cancel func, so releasing or withdrawing the lease stops an in-flight admission instead of waiting out its timeout. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
A caller that keeps the lease action but loses submit has its leases ended, and list and get already hid their targets from it. Release returned the raw lease, so its target leaked. Every response that carries one lease now goes through leaseView. Also covers a child of the acquire command that keeps stderr open: a release still goes ahead once the command is stopped. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
… claude/errand-lease-devices
… too Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
--where turned a ready lease the cloud peer listed into an ordinary candidate and ran on it directly. Nothing then held the lease for the run, so it could go idle and be released while the run was still preparing (lease guarantee 5). A ready lease is no longer a placement candidate: the run asks the cloud peer, whose Acquire already hands a matching ready lease to the request as a holder and starts a full idle window. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
… claude/errand-lease-devices
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0cef48c44a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A caller with lease but not submit was shown its leases without their targets, but the progress and error lines still carried the provider's output, and a pool provider prints the URL it claimed. Those callers now see neither. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
… claude/errand-lease-devices
Since 307e8df every --where run that reuses a ready lease is handed it by the cloud peer, and each hand-out added a holder. A run whose job started and ended between two idle checks never withdraws, so holders piled up until the 32-holder bound turned later runs away. Handing out a ready lease now counts as use, as a job seen on the machine does: holders stop mattering and only the idle and lifetime rules end it. The latest run is kept as the one holder, so its retry and withdrawal still find the lease. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
… claude/errand-lease-devices
The release script returns at once, so by the time info answers the lease can already be released and is no longer listed. What the test checks is that no listed lease shows its target. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
… claude/errand-lease-devices
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b872a8ff23
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
* Give the Lambda broker test a way to admit SSH keys #35 made the broker require one, and #26's test was written before it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6 * Wait for the broker instead of sleeping in two lease tests TestFailedLaunchesAreReleased gave the acquire command 200ms, which a loaded machine can exceed before readiness is ever checked, and TestReleaseRetriesUntilItSucceeds assumed the first release attempt had failed after a fixed 100ms. Both failed under a full -race run on a Mac. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6 --------- Co-authored-by: Claude <[email protected]>
* Give the Lambda broker test a way to admit SSH keys #35 made the broker require one, and #26's test was written before it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6 * Give the Lambda broker test a way to admit SSH keys #35 made the broker require one, and #26's test was written before it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6 * End ready leases only by the idle and lifetime rules A run no longer holds its lease once the machine is ready. Withdrawing now only cancels a launch that no other run is waiting for; a ready lease ends when it is idle, at its lifetime, or when released. This drops the Used bit, the client's claim and settle step, and the Shared field, at the cost of up to one idle window after a run that stops once its machine is ready. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6 * Wait for the broker instead of sleeping in two lease tests TestFailedLaunchesAreReleased gave the acquire command 200ms, which a loaded machine can exceed before readiness is ever checked, and TestReleaseRetriesUntilItSucceeds assumed the first release attempt had failed after a fixed 100ms. Both failed under a full -race run on a Mac. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6 --------- Co-authored-by: Claude <[email protected]>
Before: a leased machine reached over SSH let in only the device that asked for it. From your other laptop, the lease didn't show up as a peer, and
--where gpulaunched and paid for a second machine.After: a lease belongs to you, not to one device. If another of your devices asks for a machine the lease matches, or names it with
--on cabal-7f3a, the cloud peer adds that device's public key to the machine, and the device waits until it's in, then uses the same machine. No private key ever leaves its device, and there are no new commands or flags.Stacked on #32.
How:
SSHKeys), plus the keys still waiting to be added (PendingKeys).authorized_keys. A key that can't be added stays pending and is retried at the next check.--on <lease>from a device the lease doesn't admit yet calls a new internal endpoint,POST /v0/leases/<id>/ssh-keys. Like a lease request, that endpoint needsleaseandsubmit.🤖 Generated with Claude Code
https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Generated by Claude Code