Skip to content

fix(opensandbox): honor TLS settings with null keepalive - #3438

Merged
bxyu-nvidia merged 1 commit into
mainfrom
stepheng/opensandbox-tls-keepalive
Sep 16, 2026
Merged

bxyu-nvidia merged 1 commit into
mainfrom
stepheng/opensandbox-tls-keepalive

Conversation

@stephencge

@stephencge stephencge commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

With connection.keepalive_expiry_s: null and connection.tls_verify: false, the OpenSandbox provider omitted its configured transport. The SDK then verified certificates anyway, so requests to self-signed HTTPS endpoints failed even though PTY connections honored the same TLS setting.

Keep the shared provider transport when certificate verification is disabled, including when keepalive is unset. Preserve the SDK-default path when verification is enabled and pooling remains enabled. This completes the TLS configuration support from #3104 without changing the current TLS default.

Adds a 16-case regression matrix across TLS verification, HTTP backend, and pooling settings, and documents when the SDK-default transport is used.

Validation

  • Focused sandbox/docs suite: 336 passed, 3 skipped, plus 20 passing subtests. The regression matrix fails in the two affected cases before the fix.
  • Real OpenSandbox SDK requests against a local self-signed HTTPS server: all six checks behaved as expected. Both HTTP backends succeed with verification disabled after the fix; verification enabled still rejects the certificate; unchanged main reproduces the failure with verification disabled.
  • pre-commit run --all-files: passed.
  • make docs-check: zero errors; the redirect check is skipped without Fern authentication.
  • Full core run on macOS in CPU mode: 4,832 passed, 107 skipped, 1 failed. Unchanged main (676cf1f4e) gives 4,816 passed, 107 skipped, 1 failed with the same Enroot /proc failure (test_create_start_timeout_cleans_up) and the same 93.07% aggregate coverage, below the configured gate. The 16 additional tests pass; the changed OpenSandbox provider has 97.90% coverage. The full-suite checkbox remains unchecked.
  • Public lint, copyright, secret-scanning and DCO checks passed. Full test CI has not started; per CONTRIBUTING.md, an NVIDIA-NeMo member can authorize it with /ok to test 5fe5bd309b2dc680b28319798a13c77dd52b7e94.

Checklist

  • I have read the contributing guidelines.
  • The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs.
  • Tests added or updated and pass locally, or N/A for docs-only / non-code changes (so CI unit/server checks pass when applicable).
  • Pre-commit checks pass locally (pre-commit run --all-files) (so CI lint/format/copyright pass).
  • All commits have DCO sign-off (git commit -s) (so the DCO check passes).

@copy-pr-bot

copy-pr-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

@bxyu-nvidia

Copy link
Copy Markdown
Contributor

/ok to test 5fe5bd3

@bxyu-nvidia
bxyu-nvidia merged commit 22ac2e3 into main Sep 16, 2026
41 checks passed
@bxyu-nvidia
bxyu-nvidia deleted the stepheng/opensandbox-tls-keepalive branch September 16, 2026 18:08

This branch was previously deployed

1 inactive deployment
public — 5fe5bd30 Deployed Sep 16, 2026 by copy-pr-bot[bot] via release / finalize / notify #3059
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.

2 participants