Repository navigation
OpenSandbox: use the proxy as the default endpoint - #283
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.
OPENSANDBOX_DOMAINnow defaults to the OpenSandbox proxy (opensandbox_proxyinconfigs/endpoints.json,osb-gw-ka.swissai.svc.cscs.ch) instead of Breithorn's direct Kata endpoint. One default for Harbor, EvalScope, Inspect and the GDPval runner.Key change:
OPENSANDBOX_API_KEYis the key of the server inOPENSANDBOX_DOMAIN, so by default it is now the proxy's key. Whoever has a separateOPENSANDBOX_PROXY_API_KEYinscripts/secrets.envmust put that value inOPENSANDBOX_API_KEY(the runners read no other name). The direct Kata endpoint still works: setOPENSANDBOX_DOMAIN=opensandbox-kata.breithorn.svc.cscs.chand its own key.scripts/common/opensandbox_sandbox.py,scripts/harbor/run.py: the default domain comes fromopensandbox_proxy(OPENSANDBOX_KATA_DOMAINis nowOPENSANDBOX_DEFAULT_DOMAIN).secrets.env.examplesay the default is the proxy and what the key is.test_harbor_runner,test_opensandbox_sandboxandtest_direct_servingpass.Verified: a Harbor SWE-bench smoke on Clariden (Qwen3.6-35B-A3B, 3 tasks,
OPENSANDBOX_DOMAINset to the proxy) scored 3/3 trials through the proxy with no gateway errors, and a gold run on 1 task scored 1.0 through it. Neither ran with this PR's default, only with the same endpoint set by hand. Not run: Inspect, EvalScope and GDPval sandboxes against the proxy.