Commit b4c116d
feat: add Alibaba FC3 serverless runtime provider support
Add comprehensive support for Alibaba Cloud Function Compute 3.0 (FC3)
as a sandbox runtime provider, enabling serverless deployment of ROCK
sandboxes with three deployment modes:
- Custom Runtime: Lightweight Python runtime with bootstrap script
- Custom Container: Full Docker container deployment
- Hybrid Adapter: HTTP/WebSocket adapter for FC3 function integration
Key components:
- FC3 client with thread-safe CircuitBreaker for fault tolerance
- WebSocket reconnection and retry mechanisms
- Path traversal protection in server
- Session affinity configuration (HEADER_FIELD mode)
- Comprehensive test coverage (78 tests)
Change-Id: I757e00577a16c6dbbec1f65e09dbd0159c3579a4
Co-developed-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0d29f9e commit b4c116d
File tree
19 files changed
+4457
-0
lines changed- rock-conf
- rock
- actions/sandbox
- deployments
- fc3_rocklet
- adapter
- container
- runtime
- tests/integration/deployments
19 files changed
+4457
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments