Repository navigation
fix(openshell-provider): allow sandboxes without providers - #13306
Merged
Merged
Conversation
openshell_sandbox marks providers optional, but an omitted or empty list failed while building the create request. Both now attach no providers, and the attachment list is recorded in the sandbox environment only as written, so either form reads back unchanged.
Contributor
This was referenced Oct 16, 2026
Closed
cv
pushed a commit
that referenced
this pull request
Oct 16, 2026
CI failed #13306 on Linux and Windows, then passed an unchanged rerun. Several build tests exceeded the 8-second budget, and some Windows cases reached the 24-second timeout. Limit the build integration binary to two concurrent tests. The three path matrices also reuse one private repository per test, reducing 24 repository setups to three. Each case resets to the original commit and checks that only its own path changed, so an earlier triggering edit cannot make a later case pass. Existing selection and no-fallback assertions remain. Three hosted ordinary-test measurements on the unchanged commit: | Slowest build-integration test | [Run 1](https://github.com/NVIDIA/NemoClaw/actions/runs/38861987558/attempts/1) | [Run 2](https://github.com/NVIDIA/NemoClaw/actions/runs/38861987558/attempts/2) | [Run 3](https://github.com/NVIDIA/NemoClaw/actions/runs/38861987558/attempts/3) | | --- | ---: | ---: | ---: | | Linux AMD64 | 3.89 s | 4.49 s | 2.90 s | | Linux ARM64 | 2.50 s | 3.05 s | 3.02 s | | Windows AMD64 | 13.27 s | 13.13 s | 12.78 s | All six Linux measurements passed the unchanged 8-second per-test and 45-second suite budgets. Windows passed without timeouts, but the same two Bake tests still exceeded its reported-only 8-second budget. This does not eliminate every reported overrun, so #13310 stays open. Locally, the same 114-test workload improved from 33.1 to 28.1 seconds, with its slowest test falling from 16.0 to 5.5 seconds. `cargo ci --full` passed formatting, Clippy, 1,483 ordinary tests, doctests, schema checks, a fresh bundle and 146 lifecycle tests. Its macOS timing overruns remain reported-only. Budgets, timeouts, retries and case coverage are unchanged. Related to #13310.
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.
Part of #13131.
Failure
openshell_sandboxmarksprovidersas optional, but a sandbox with none failed during apply withobservation query failed, before any request reached the gateway.provider_namestreated an omitted or empty list as invalid, and so did the inference environment built from it. Found while addingdriver_configin #13304.Decision
providers, orproviders = [], attaches no providers.NEMOCLAW_PROVIDER_NAMES) only to read it back, and nothing in the images reads it. It's now recorded exactly as written and omitted whenprovidersis omitted, so both forms read back unchanged.Validation
[]both attach nothing, and only an explicit list is recorded in the environment.providersand one withproviders = []against pinned OpenTofu and the fake gateway, then expects a no-op plan.cargo cipasses locally: 1535 unit tests and 146 lifecycle tests.