Repository navigation
Conversation
64ae601 to
2f456ee
Compare
|
/ok to test 2f456ee |
Added reconnect, endpoints, network policies, mounts, and snapshots Verified on harbor-dev: 89 tests passed, model rollout reward 1.0, live feature checks passed |
|
@cmunley1 could you please help to take another look? Thanks in advance! |
|
/ok to test 4f443bf |
|
/review |
|
Thanks for the lock refresh. The lock checks pass now. One CI failure is from this PR, and the fix is a one-liner:
The other required failure, |
43482fd to
96d477d
Compare
|
@hemildesai Rebased onto main and removed the duplicate heading. Docs tests, Fern, all 315 lock checks, and pre-commit pass. New head for CI: |
|
/ok to test 96d477d |
hemildesai
left a comment
There was a problem hiding this comment.
Approving at 96d477d. Everything from my earlier reviews is addressed: the CI install and guards for cwsandbox, the confirmed command deadline returning error_type="timeout", the supported-range message, Harbor's opt-in extra wired through component_extras, the refreshed locks, and the duplicate docs heading.
Required CI is green. A re-run cleared an unrelated flaky codex_agent timing test. The remaining failures are the non-blocking Environment Server compliance check and the advisory lock-freshness check. Thanks for working through all of this!
96d477d to
513c74e
Compare
|
/ok to test 513c74e |
hemildesai
left a comment
There was a problem hiding this comment.
Re-approving at 513c74e after the rebase dismissed my approval. The non-lock changes are identical to the version I approved, and the new commit only refreshes uv.lock metadata. Required CI is green (a re-run cleared an unrelated flaky pi_agent timing test); the only failure is the non-blocking Environment Server compliance check.
Signed-off-by: Anson Qian <[email protected]>
Signed-off-by: Anson Qian <[email protected]>
Keep command PATH overrides from hiding the wrapper interpreter. Add execution-backed shell regressions and retain quoting, cwd, timeout, output and user-switch contracts. Verified on harbor-dev with a real CoreWeave sandbox as root, worker and UID 1000: builtins, restricted PATH, user identity and literal environment values passed. Signed-off-by: Anson Qian <[email protected]>
Use the SDK public awaitable instead of running synchronous readiness waiting in a non-cancellable worker thread. Centralize and guard client-only cleanup with an actionable SDK compatibility error when the private hook is missing or not callable, preserving the owner sandbox. Validation: 72 provider/resolver tests passed, 1 skipped with cwsandbox 1.21.0; 64 provider tests passed, 1 skipped against the declared minimum 1.19.1. Real SDK event-loop cancellation, timeout-before-deletion ordering, and unavailable cleanup-hook regressions passed. All-file pre-commit passed; private guardwords catalog unavailable. Live rerun was unavailable because harbor-dev was not found in the current Coder account. Signed-off-by: Anson Qian <[email protected]>
Signed-off-by: Anson Qian <[email protected]>
Keep SDK request and reconnect timeouts distinct from confirmed command deadlines. Translate provider failures into sandbox events with explicit causes and preserve cancellation and existing typed events. Detach the original SDK client after successful deletion, including already-terminal sandboxes. Verification: 1000 focused provider, shared failure-report and import-policy tests passed, 1 skipped. All-file pre-commit passed; private guardwords catalog unavailable. Provider regressions also passed against SDK 1.19.1 and 1.21.0. Live SDK 1.28.0 CoreWeave creation, exec, binary file round-trip and cleanup passed. Model-backed smoke could not complete: the previously configured W&B inference credential returned 401. harbor-dev Coder hostname no longer resolves. Signed-off-by: Anson Qian <[email protected]>
Rebase onto current main and refresh the Gym metadata embedded in 280 dependent component locks. Only the cwsandbox optional requirement and provided-extra declaration change; no package versions or resolver policies change. Validation: scripts/component_locks.py passed for all 289 managed projects (UV_SYSTEM_CERTS=true for local TLS trust). Provider, shared failure-report and import-policy regressions: 1116 passed, 1 skipped. All-file pre-commit passed; private guardwords catalog unavailable. Model rollout N/A for these lock metadata changes. Signed-off-by: Anson Qian <[email protected]>
Install cwsandbox in sandbox CI and guard SDK-only tests. Return a timeout result and observe the typed event only for confirmed command deadlines; preserve unknown remote outcomes for generic SDK timeouts. Use the supported SDK range in cleanup diagnostics and make Harbor SDK installation opt-in. Validation: 1118 focused tests passed, 1 skipped. Provider tests passed with SDKs 1.19.1, 1.21.0, 1.27.0, and 1.28.0; simulated SDK absence passed 63 tests with 23 skipped. All 289 component locks, all-file pre-commit, CI-extra install dry-run, and Fern check passed (Fern: 1 existing warning). Live deadline probe returned a generic SDK timeout; provider_io_timeout preserved the unknown command outcome and cleanup succeeded. The optional Harbor extra excludes cwsandbox from default installs, but uv resolves all extras together and still selects protobuf 6.33.6 in the shared lock. Signed-off-by: Anson Qian <[email protected]>
Retain main catalog entries and update the nine newly added managed components with the optional CoreWeave extra metadata. No package versions change. Validation after rebase: 1135 focused tests passed, 1 skipped; all 298 component locks and all-file pre-commit passed. Signed-off-by: Anson Qian <[email protected]>
Request cwsandbox through component_extras so ng_run installs the optional SDK into the managed Harbor environment. Document config-based selection instead of a manual project sync. Validation: loaded the actual config and verified setup_env_command forwards --extra cwsandbox only for Harbor. Managed server and locked-environment tests: 159 passed. All-file pre-commit and Fern check passed (Fern: 1 warning; private guardwords catalog unavailable). Signed-off-by: Anson Qian <[email protected]>
Rebase onto current main and refresh the six components identified in review plus five newer components. Changes only add the optional CoreWeave requirement and extra to Gym metadata; package versions and resolver policies are unchanged. Validation: all 309 managed lock checks passed. CI-style ng_test runs with should_validate_data=true passed for collab_intel_agent (20 tests) and video_caption (169 tests plus data validation). Provider, shared failure-report and public-facade regressions: 1144 passed, 1 skipped. All-file pre-commit passed; private guardwords catalog unavailable. Model rollout N/A for lock metadata updates. Signed-off-by: Anson Qian <[email protected]>
Remove the body heading that duplicates the Fern frontmatter title, as requested in review. Refresh the optional-extra metadata in five newly added component locks without package version changes. Validation: test_fern_docs_links.py passed 30 tests and 24 subtests; Fern check passed with 0 errors and 1 warning; all 315 managed lock checks and all-file pre-commit passed. Private guardwords catalog unavailable. The unrelated OpenClaw process-supervision test requires Linux and must rerun in CI. Signed-off-by: Anson Qian <[email protected]>
Refresh the optional CoreWeave extra metadata in 11 components added to main. Package versions and resolver policies are unchanged. Validation: all 326 managed lock checks passed; CoreWeave provider, shared sandbox failure, and docs regressions passed 189 tests and 24 subtests, with 1 Harbor-dependent test skipped. All-file pre-commit passed; private guardwords catalog unavailable. Model rollout N/A for metadata-only lock updates. Signed-off-by: Anson Qian <[email protected]>
Resolve the root lock conflict by retaining both cwevals and cwsandbox, and preserve main deletion of the obsolete compaction component. Refresh only the optional-extra metadata in two newly added component locks; package versions are unchanged. Validation: all 327 managed lock checks passed; provider, sandbox failure-report and docs regressions passed 189 tests and 24 subtests, with 1 Harbor-dependent test skipped. All-file pre-commit passed; private guardwords catalog unavailable. Model rollout N/A for lock metadata changes. Signed-off-by: Anson Qian <[email protected]>
|
@hemildesai Could we merge this PR soon? Keeping it up to date has required repeated conflict resolution. |
|
/ok to test e8cc58a |
hemildesai
left a comment
There was a problem hiding this comment.
Re-approving on e8cc58a: CI is green, and the only failures are the non-blocking compliance and conformance checks. LGTM.
giuliolovisotto
left a comment
There was a problem hiding this comment.
Re-approving e8cc58a after reviewing the delta from my previously approved 70f58ff. The CoreWeave implementation, provider tests and Harbor configuration are unchanged. Checked the updated shared sandbox lifecycle/timeout paths and the subsequent review discussion; no new blocker found within the sandbox failure-evidence, timeout/cancellation and lifecycle-ownership scope.
Fresh validation at this head: 159 passed, 1 skipped across the CoreWeave provider and sandbox failure suites with cwsandbox 1.27.0; the skip requires Harbor. Diff whitespace check passed. No live CoreWeave/model rollout or CI monitoring was performed.
|
Hi @hemildesai @giuliolovisotto, could you help merge this PR when the required checks pass? Both reviews are approved, and keeping it current has required repeated rebases and lock refreshes. Thanks! |
Add a CoreWeave provider for Gym sandboxes: exec, file transfer, reconnect, HTTPS endpoints, network policy, volumes, and snapshots. No separate issue is needed for this requested provider integration. Shared session cleanup moved to #5088.
Verification:
collab_intel_agent20 tests;video_caption169 tests plus data validation.--extra cwsandboxto its installer only; server-venv and locked-environment tests: 159 passed.pytest tests/unit_tests/test_cwsandbox_provider.py tests/unit_tests/sandbox/test_sandbox_failures.py tests/unit_tests/test_public_api_facades.py -q -o addopts='': 1,144 passed, 1 skipped (Harbor SDK integration unavailable).CWSANDBOX_COMMAND_TIMEOUTtranslates toSandboxCommandTimeoutErroron each version. Generic RPC deadlines stay distinct.cwsandboxso real-SDK tests run there.scripts/component_locks.py: all 327 projects passed.pre-commit run --all-filespassed; private guardwords catalog unavailable. Sandbox CI extras resolved withuv sync --locked --dry-run. Fern check: 0 errors, 1 warning.fix-gitrollout: reward 1.0, both verifier tests passed. Earlier live reconnect, endpoints, mounts, network policy, and snapshot checks also passed.Compatibility:
provider_io_timeoutevents. Confirmed command deadlines return exit 124 witherror_type="timeout"and record the typed event.harbor_agent_cwsandbox.yamlrequests it throughcomponent_extras, song_runinstalls the SDK in the managed Harbor environment. Default Harbor installs exclude the SDK. The shared Harbor lock still selects protobuf 6.33.6 because uv resolves all extras together; the optional extra does not restore the previous protobuf version.cryptography; no OSWorld exclusion change is required.