v0.3.1 #462
fslongjin
announced in
Announcements
v0.3.1
#462
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
2026.06.04 Release v0.3.1
CubeSandbox 0.3.1 is a stabilization and hardening release following v0.3.0, focused on one-click installer robustness, network stability fixes, AgentHub refinements, and expanded documentation with real-world benchmark data. 14 commits from 7 contributors.
✨ Enhancements
One-Click Deployment
CUBE_SANDBOX_NETWORK_CIDRat install time to avoid conflicts with existing host network subnets. Includes CIDR format validation, host interface/route overlap detection, and a bypass flag (CUBE_SANDBOX_NETWORK_CIDR_SKIP_CONFLICT_CHECK) for advanced scenarios. The chosen CIDR is persisted to.one-click.envafter successful config patching.ExecStart,ExecStartPre,ExecStartPost, andExecStopdirectives with/usr/bin/bashto avoid203/EXECerrors fromsystemd-executoron OpenCloudOS 9.4+.kvm_pvmkernel module is loaded on the host, the installer verifies thatCUBE_PVM_ENABLE=1is set. Without this check, PVM hosts would silently install the wrong guest kernel (ordinary vmlinux instead of vmlinux-pvm), causing VM template creation to fail later with obscure errors. Configurable viaONE_CLICK_SKIP_PVM_CHECK=1.AgentHub (Preview)
🐛 Bug Fixes
network-agentrestarted,restoreTap()unconditionally tried to acquire the tap fd viaTUNSETIFF, even when the TAP was still held by a running sandbox. WithIFF_ONE_QUEUE, the kernel rejected the second open withEBUSY, the TAP was pushed into the abnormal pool, and the stale-cleanup branch removed its BPF map entry — silently dropping egress traffic. The fix skipsgetTapFdwhentap.InUseis true and surfaces a clear error when no fd is available.resolv.confwas rewritten before CoreDNS was listening, causing a DNS deadlock. The installer now waits for CoreDNS to bind its port, preserves one upstream fallback resolver, and filters reserved nameserver addresses from upstream resolution paths.Dev Environment
mirrors.tencent.comis no longer available and downloads fail. Bumped the default image URL in bothprepare_image.shandrun_vm.shto the latest 9.6-20260514.2 GenericCloud image.📚 Documentation
trpc-agent-goleverages Cube Sandbox as a secure code execution backend, with sidebar entries in both EN and ZH documentation.vmm.logpath, added template creation command to section 2.2, and moved general conventions from section 3.1 to section 4.0 in both language versions./data/cubeletfrom 300 GB to 50 GB, with a 200 GB recommendation for building multiple templates.New Contributors
Full Changelog: v0.3.0...v0.3.1
This discussion was created from the release v0.3.1.
Beta Was this translation helpful? Give feedback.
All reactions