Skip to content

Feature/remove container#608

Closed
Issac-Newton wants to merge 11 commits intoalibaba:release/v1.3from
Issac-Newton:feature/remove_container
Closed

Feature/remove container#608
Issac-Newton wants to merge 11 commits intoalibaba:release/v1.3from
Issac-Newton:feature/remove_container

Conversation

@Issac-Newton
Copy link
Collaborator

close #601

kkkky123 and others added 11 commits March 4, 2026 16:59
…libaba#571)

* support create standard_spec sandbox

* rename enforce_standard_spec to use_standard_spec_only
…t retrieval script (alibaba#581)

* feat: update the parameter passing in the CI trigger script and result retrieval script

* feat: update the parameter passing in the CI trigger script and result retrieval script
- Add /sandboxes/{id}/portforward WebSocket endpoint in proxy layer
- Add /portforward WebSocket endpoint in rocklet for internal TCP proxy
- Support port range 1024-65535, excluding port 22 (SSH)
- Implement two-layer architecture: external proxy -> rocklet -> TCP port
- Add comprehensive logging with target_port in all messages
- Handle both FastAPI WebSocket and websockets library APIs
- Add unit tests for port validation, URL building, and route handling
- Capture close frame (code, reason) when rocklet closes connection
- Forward close frame to client instead of silently dropping
- Properly wait for cancelled tasks to complete
- Improve logging for connection close events
Address PR alibaba#523 review feedback - duplicate _validate_port function
exists in both sandbox_proxy_service.py and local_api.py.

- Add rock/common/port_validation.py with shared validate_port_forward_port()
- Update sandbox_proxy_service.py to use shared function
- Update local_api.py to use shared function
- Add unit tests for the shared module
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.

6 participants