Repository navigation
Conversation
…used connections - A session id that is not a session id printed a schema stack; every command that takes one now prints one error line. - A handler failure raised before its own catch reached the runtime's logger with a stack. The command wrapper now renders every handler failure as an error line. - A failed connection named no cause. The CLI now asks the home's server why and says when it refused the token or the host. - Give the CLI tests a 30 second timeout: they spawn the real CLI and server, which start slowly when many run at once. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ally The live sync suite assumed the main thread never commits last among four concurrent writes. When it does, its revision is the store head, which is legal. The stale-write check now targets whichever thread is older. The live suites share the OrbStack machines, so they are now a test project of their own that runs one file at a time. Co-Authored-By: Claude Fable 5.2 <[email protected]>
sanchitrk
added a commit
that referenced
this pull request
Nov 23, 2026
…rue (#177) Lands #173, #174, #175 and #176 with it: a per-home token on the RPC listener, plain CLI errors, a session per paired client, one Machines page and machines behind a TLS proxy. - Every remote client pairs a key of its own: a one-time code from `codework service pair`, then short-lived tickets signed with that key. - Relay alone decides whether a machine is in a workspace; while it can't be reached, its last status shows, or Unknown Link. - An unlink while Relay can't be reached keeps the link, marked leaving, until a heartbeat's revoke is confirmed. - Setup's last step is Link, and it can be skipped. User-facing copy calls the broker Relay. - The relay listens on HOST; a new E2E test links a paired machine through a real Relay. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
sanchitrk
added a commit
that referenced
this pull request
Nov 23, 2026
Accounts and workspaces through Clerk and the relay, and machines that connect, link and pair: - The relay holds accounts, workspaces and machine links; machines pair with it by a code a member approves, bound to one identity key per home (#172). - Local listeners take a per-home token; remote clients pair keys of their own and use short-lived tickets (#173, #175, #177). - One Machines page for this machine, paired machines and the workspace's machines (#176, #177). Relay alone decides membership; an unlink while Relay can't be reached finishes once it can. - Plain CLI errors for bad ids, flag checks and refused connections (#174). - E2E coverage: the relay suite, and a paired machine linked through a real Relay from the app server. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Stacked on #173.
CLI
codework thread list fooand every other command that takes a session id printed a schema stack. They now printerror: foo is not a session ID (ses_…).run. A failure raised before a handler's own catch reached the runtime's logger with a stack. The command wrapper now renders every handler failure as oneerror:line.Tests
apps/servernow has two test projects:server(parallel) andlive(one file at a time).vp test run --project serverruns only the non-live tests.Verified
vp check,vp run typecheck, knip exportspackages/codeworktests, in parallelapps/servernon-live suiteThe 28 skips are gated on provider API keys, the standalone binary, and a free default port.
Known gap
One test relies on
localhost.resolving to loopback; unchecked on Linux CI.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.