Repository navigation
S25-I: verl Harbor agent loop on boat sandboxes - #277
Draft
michaellchung wants to merge 1 commit into
Draft
michaellchung wants to merge 1 commit into
michaellchung wants to merge 1 commit into
Conversation
Keep the admission gate and the boat quota per running event loop (LoopLocal): both hold asyncio primitives, which bind to the first loop that waits on them. verl's AgentLoopWorker is a Ray async actor, so this stays one per worker process; a process with several loops no longer fails with 'bound to a different event loop'. The Miles gate uses the same helper. HarborAgentLoop takes the provider from HARBOR_ENV_TYPE when the row has none, and refuses a boat task when YETO_HARBOR_MAX_IN_FLIGHT exceeds the boat active-sandbox cap. BoatEnvironment accepts an explicit quota. New CPU test drives HarborAgentLoop.run() through the real Harbor Trial and boat provider on a fake boat account (VM created and deleted, tokens assembled, ABORTED on a failed container start). 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