Repository navigation
feat(console): support multiple worker systems per user - #23
Merged
Merged
Conversation
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.
Summary
worker-sysworkers; removes theworker_sys_owner_claimssingle-per-account constraint and the409conflict on create.computerUsenow dispatches only whenworker_idselects a caller-owned Worker System (pinned, no fallback); withoutworker_idthe task completes locally and returnsworker_listof all owned Worker Systems.readImage/exportFiletarget a Worker System viasession_id="CU:<worker_id>"; other values keep sandbox session semantics. Prefix is configurable viacomputer_use_session_id_prefix/CONSOLE_COMPUTER_USE_SESSION_ID_PREFIX(defaultCU:), andterminalExecrejectscreate_if_missingon reserved-prefix session IDs.worker-sysworkers.docs/API*.md, website docs (EN/zh-CN), and added0.12.0-beta.1release notes.Test plan
task_worker_sys_routing_test.go:computerUselist mode /worker_idrouting,readImageprefix routing, reserved-prefix rejectiondb_test.go/ migration tests: rollback guard with multipleworker-sysper ownercommand_handler_test.go,mcp_handler_test.go,connect_service_test.go,integration_test.goupdated for new semantics