Repository navigation
Place Sessions on the agent host - #550
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.
Every Session now runs on an agent host. The sandbox serves its Link resource through
oac-sandbox-io, and no Runtime runs inside a sandbox or on a tenant device.ListAgentHostsreplacesListExecutionDevices, andBindSessionDevicerequires an agent host and, with an Environment, a live resource.EnrollRuntimerecords the enrollment (first key wins, 409 for another key) and returns{link_url, resource}. The Linux launcher supervisesoac-sandbox-io --bootstrap-file, which ships as a second binary in the installer bundle. darwin and windows return a typed unsupported error before enrolling.RuntimeConnected,enrolled_at,bound_key_id);last_seen_atis gone from the route, OpenAPI and Web.The guest
connect --remote/--environment-id/--credential-fileflow and the application-managed E2B example that uses it stop working here; PR6 deletes them with the rest of the guest path.Checks:
go vet ./...; unit tests of the changed packages; the changed sessionpg and integration tests (-run);-race -count=50on the gateway, enrollment, launcher and Link-authority tests; darwin and windows builds of the daemon;make openapi(no diff);make check-names check-docs check-ci; Web vitest andtsc; one end-to-endnative-onboarding-smoke.mjsrun.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.