Skip to content

fix(sandbox): pause and reuse OpenSandbox resources#7363

Draft
DigHuang wants to merge 1 commit into
labring:agent-sandox-userfrom
DigHuang:feat/opensandbox
Draft

fix(sandbox): pause and reuse OpenSandbox resources#7363
DigHuang wants to merge 1 commit into
labring:agent-sandox-userfrom
DigHuang:feat/opensandbox

Conversation

@DigHuang

@DigHuang DigHuang commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • change OpenSandboxAdapter.stop() from deleting the remote sandbox to pausing it and wait for the asynchronous Pausing -> Paused transition
  • preserve metadata-based remote reuse and reuse an already-bound running SDK client without reconnecting
  • align lifecycle, readiness, endpoint cache invalidation, transport cleanup, and command output handling with OpenSandbox SDK 0.1.10
  • allow paused sandbox info lookup without connecting to execd
  • consolidate deterministic OpenSandbox adapter tests and restore the stop/start integration contract

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 18.37% 1629 / 8865
🔵 Statements 18.36% 1710 / 9310
🔵 Functions 16.12% 340 / 2108
🔵 Branches 15.12% 761 / 5032
File CoverageNo changed files found.
Generated in workflow #1664 for commit ab2d077 by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_ab2d0775fde8573b0ea6e18710d4a9a0c6d49f61

🕒 Time: 2026-07-23 17:41:00 (UTC+8)

@github-actions

Copy link
Copy Markdown

Build Successful - Preview fastgpt Image for this PR:

ghcr.io/labring/fastgpt-pr:fastgpt_ab2d0775fde8573b0ea6e18710d4a9a0c6d49f61

🕒 Time: 2026-07-23 17:44:21 (UTC+8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant