Workflows declare their sandbox: Sandbox(setup=...), ensured at install, leased by hash - #325
Open
czpython wants to merge 1 commit into
Open
Workflows declare their sandbox: Sandbox(setup=...), ensured at install, leased by hash#325czpython wants to merge 1 commit into
czpython wants to merge 1 commit into
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.
ENG-882 — the druks half of the sandbox-needs design.
A workflow ships the tools its agents need as a plain shell file:
Sandboxjoins the author surface indruks.workflows. The declaration holds the path; resolution reads raw bytes from the app package'stemplates/at use time, like agent prompts. Identity is the content hash of(base, script bytes). Apps never name images.druks doctor. The request is async (202); druks never builds on a lease miss.druks doctorreports each declared sandbox: available, building (pending), missing, or failed.[sandbox.pins]in druks.toml. No pin is ever required.Activates when drukbox ENG-877/ENG-879 and their drukbox-python-sdk mirror land; until then the new client calls (
create_template,list_templates,create_host(template=...)) are exercised only by tests, and ordinary leases are unchanged on the current SDK.