Skip to content

OpenSandbox: use the proxy as the default endpoint - #283

Merged
mzueri merged 1 commit into
mainfrom
opensandbox-proxy-default
Nov 30, 2026
Merged

mzueri merged 1 commit into
mainfrom
opensandbox-proxy-default

Conversation

@mzueri

@mzueri mzueri commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

OPENSANDBOX_DOMAIN now defaults to the OpenSandbox proxy (opensandbox_proxy in configs/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_KEY is the key of the server in OPENSANDBOX_DOMAIN, so by default it is now the proxy's key. Whoever has a separate OPENSANDBOX_PROXY_API_KEY in scripts/secrets.env must put that value in OPENSANDBOX_API_KEY (the runners read no other name). The direct Kata endpoint still works: set OPENSANDBOX_DOMAIN=opensandbox-kata.breithorn.svc.cscs.ch and its own key.

  • scripts/common/opensandbox_sandbox.py, scripts/harbor/run.py: the default domain comes from opensandbox_proxy (OPENSANDBOX_KATA_DOMAIN is now OPENSANDBOX_DEFAULT_DOMAIN).
  • Docs, runner usage text and secrets.env.example say the default is the proxy and what the key is.
  • Tests: the two default-domain assertions follow the new default; test_harbor_runner, test_opensandbox_sandbox and test_direct_serving pass.

Verified: a Harbor SWE-bench smoke on Clariden (Qwen3.6-35B-A3B, 3 tasks, OPENSANDBOX_DOMAIN set 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.

@mzueri
mzueri merged commit 5f68ea5 into main Nov 30, 2026
3 checks passed
@mzueri
mzueri deleted the opensandbox-proxy-default branch November 30, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant