Skip to content

feat: support read-only root filesystem for sandboxes - #1590

Draft
GodBlf wants to merge 1 commit into
opensandbox-group:mainfrom
GodBlf:feat/1549-read-only-rootfs
Draft

feat: support read-only root filesystem for sandboxes#1590
GodBlf wants to merge 1 commit into
opensandbox-group:mainfrom
GodBlf:feat/1549-read-only-rootfs

Conversation

@GodBlf

@GodBlf GodBlf commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #1549.

  • Add the readOnlyRootFilesystem lifecycle API field with tri-state request handling and runtime-derived responses.
  • Implement read-only root filesystem support for Docker and Kubernetes template workloads, including writable runtime storage, gate-based Docker injection, volume protection, and final-state validation.
  • Reject unsupported Windows and Pool request combinations without overriding existing template or operator security policies.
  • Regenerate and align Python, JavaScript, Kotlin, Go, and C# SDK models and Sandbox creation options.
  • Add server, SDK, runtime, and documentation coverage.

Validation

  • Server pytest: 1499 passed
  • Kubernetes provider tests: 186 passed
  • Kubernetes mini E2E: 16 passed, 6 skipped
  • Kubernetes operator make test: passed
  • Python, JavaScript, Kotlin, Go, and C# SDK tests and generation checks: passed
  • Docker and Kubernetes read-only root filesystem runtime validation: passed
  • Documentation build: passed

The repository-wide Python Docker E2E script could not reach its test phase because the local cached Go image is 1.24 while the current execd modules require Go 1.25, after a transient Docker registry metadata failure.

@github-actions github-actions Bot added component/server documentation Improvements or additions to documentation sdk/c# sdk/go sdk/java sdk/js sdk/python sdks size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/server documentation Improvements or additions to documentation sdk/c# sdk/go sdk/java sdk/js sdk/python sdks size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(server): enforce read-only root filesystems for Docker sandboxes

1 participant