feat: manage hosted sandboxes across local and remote nodes - #46
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.
Hosted Sessions can now use local or remote sandbox nodes. Core chooses an eligible node automatically unless creation names one; placement stays fixed across retries, disconnects, restarts and resume. The Hosted Sandbox Manager shows node health, capacity, allocations and Session placement, with enrollment and guarded removal.
Each deployment selects one provider, Docker or microsandbox, behind the common sandbox API. Nodes reconnect without replacing retained resources or replaying uncertain operations. Independent node lifecycle workers prevent one blocked provider from stalling another. Provider switching requires clean maintenance, and legacy adoption requires positive ownership evidence for every retained resource.
The default installer still creates no execution node. Opt-in local providers use private persistent node state outside read-only configuration. Administrator, project, enrollment and node credentials remain separate; the production console forwards explicit administrator credentials only on management routes.
Validation:
No Core HA, cross-node restore, provider migration, node drain or cross-Turn Agent process residency is added. Volume-only legacy remnants and incomplete consumed-restore transitions must be resolved on the original backend before upgrade. Live checks cover two nodes, not a 32+ VM load test or full release-bundle qualification; production-console checks use fixture HTML, with browser acceptance covered separately by the repository fixtures.