Skip to content

feat(sandbox): migrate to standalone Rust proxy and implement stateless WSS gateway with dynamic file sync#7034

Merged
c121914yu merged 14 commits into
labring:mainfrom
DigHuang:feat/sandbox-ws
Jun 16, 2026
Merged

feat(sandbox): migrate to standalone Rust proxy and implement stateless WSS gateway with dynamic file sync#7034
c121914yu merged 14 commits into
labring:mainfrom
DigHuang:feat/sandbox-ws

Conversation

@DigHuang

@DigHuang DigHuang commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 14.73% 1216 / 8250
🔵 Statements 14.7% 1272 / 8652
🔵 Functions 13% 257 / 1976
🔵 Branches 12.32% 559 / 4536
File CoverageNo changed files found.
Generated in workflow #858 for commit 4d3f385 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Build Successful - Preview fastgpt Image for this PR:

ghcr.io/labring/fastgpt-pr:fastgpt_4d3f38566d0d2d3de607967c10e66a749ce4a8ab

🕒 Time: 2026-06-16 14:42:50 (UTC+8)

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_4d3f38566d0d2d3de607967c10e66a749ce4a8ab

🕒 Time: 2026-06-16 14:42:05 (UTC+8)

@DigHuang DigHuang force-pushed the feat/sandbox-ws branch 7 times, most recently from b3b29f8 to 37f889b Compare June 3, 2026 05:17
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Docs Preview Deployed!

🔗 👀 Click here to visit preview

ghcr.io/labring/fastgpt-docs-pr:4d3f38566d0d2d3de607967c10e66a749ce4a8ab

🕒 Time: 2026-06-16 14:46:00 (UTC+8)

@DigHuang DigHuang force-pushed the feat/sandbox-ws branch 18 times, most recently from 62cd984 to 61c7daa Compare June 4, 2026 12:52
@DigHuang DigHuang force-pushed the feat/sandbox-ws branch 14 times, most recently from cc1f5a6 to 02b00df Compare June 15, 2026 08:59
DigHuang added 11 commits June 16, 2026 00:59
…ice, and interactive terminal

- Implement stateless WSS gateway for agent-sandbox connection.
- Migrate WSS proxy to a standalone Rust service.
- Integrate interactive PTY terminal and clean up obsolete APIs.
- Add unit & integration tests for Rust proxy & agent with CI workflow.
- Unify proxy secrets under AGENT_SANDBOX_PROXY_SECRET.
- Implement fine-grained session ticket permissions & enhance proxy log security.
…operations, and support connection limiting

- Implement dynamic file change sync with debounce and robust connection limiting.
- Upgrade Rust dependencies, split ide agent modules and enhance file access security.
- Optimize Docker build targets, configure default Sealos image, and implement native file operations.
- Support dynamic gateway hostnames, add proxy ping keepalive, and refine terminal resize checks.
- Upgrade to Rust 2024, secure workspace operations, and refine adapter helpers.
… cold-start

- Refine edit-debug sandbox hot-reload and auto resume logic.
- Skip S3 pull on cold-start when volume exists and fix OpenSandbox getInfo.
…y or archived workspaces

refactor(sandbox): enhance workspace archiving/restore, zip safety, and websocket stability
…terminal styling, and add archive progress tracking

- rust ide agent: Integrate notify-debouncer-full to debounce workspace file system events and broadcast batches with sequential numbers to handle lagged events.
- frontend/sandbox: Remove client-side debounce in favor of backend debouncing, refine workspace file tree refreshing, and adjust terminal background and horizontal padding.
- archive: Introduce onProgress callback for resource archiving and utilize it in initSandboxArchive API to log real-time progress and errors.
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.

2 participants