Repository navigation
S25-G: boat sandbox provider for Harbor (N10.8) - #275
Draft
michaellchung wants to merge 2 commits into
Draft
michaellchung wants to merge 2 commits into
michaellchung wants to merge 2 commits into
Conversation
BoatEnvironment implements Harbor's BaseEnvironment (pinned harbor-miles-v0.20.0) and loads through EnvironmentConfig.import_path, so Harbor stays unchanged. One boat VM per environment runs the task's prebuilt image as container main; exec goes through boat's detached command API, files through signed URLs and docker cp. The VM is deleted on stop, on any start failure and after cancellation. A per-process quota holds the plan's active-sandbox and starts-per-minute caps. Verified on boat with Harbor's oracle and nop agents on 6 TB2 tasks: oracle reward 1 and nop reward 0 on all 6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cancel during the create thread lost the new sandbox id, and a cancel during the usage read in close() skipped the delete; both left a billed VM until its TTL. Wait for the create thread on cancel and shield the usage read and delete as one step. Add CPU tests for both paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Testing: Full remote test suite on the stack tip: 0 failures. Not validated on PPU/NPU hardware (machines busy).
Part of the S25 stack (NPU+PPU heterogeneous GLM5.3-Flash full-param RL). Draft; do not merge before the S24 stack (#262–#268).
🤖 Generated with Claude Code