feat(adapters): add CreateOS sandbox provider - #1
Open
BhautikChudasama wants to merge 7 commits into
Open
Conversation
- Reuse the shared sandboxIdleMs() helper instead of a second idle-time computation with a different default and floor. - Wait for a reused sandbox to reach running from any non-running status, not only from paused or error. - Mark the workspace dirty on GUI actions so exportWorkspace no longer drops click-only and keystroke-only changes. - Report a timed-out command as exit code 124 instead of letting the HTTP abort escape the async generator. - Clear lastBrowserUris and dirtyWorkspaces on stop and destroy.
CREATEOS_API_KEY and CREATEOS_API_URL were never documented in .env.example. Keep one name per setting. Also revert the unrelated computer-status helper extraction.
Live CreateOS reports pausing -> paused and resuming -> running. stop() returns while the sandbox still reports pausing, so an immediate provision saw a transitional status, never issued resume, and timed out after 120 polls. Wait for the sandbox to settle first, then act on the final status. Adds a live canary, gated on VERIFY_PROVIDERS and CREATEOS_SANDBOX_API_KEY, which covers provision, prepare, execute, observe, connectScreen, GUI-only export, pause, resume, and destroy.
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.
No description provided.