| Merge remote-tracking branch 'upstream/master' into fix/cube-71-persist-reconcile | 11 hours ago |
| fix(deploy): drop default kubelet switch and doc refs in k8s-deploy Address MR !285 review: keep cri-multiplex deploy from citing the user guide, and require an explicit kubelet-endpoint step instead of switching by default. Co-authored-by: Cursor <cursoragent@cursor.com> | 13 hours ago |
| fix(deploy): drop default kubelet switch and doc refs in k8s-deploy Address MR !285 review: keep cri-multiplex deploy from citing the user guide, and require an explicit kubelet-endpoint step instead of switching by default. Co-authored-by: Cursor <cursoragent@cursor.com> | 13 hours ago |
| feat: 新增沙箱创建耗时分解 - perftrace:按请求记录各阶段耗时并输出一行汇总日志,orchestrator 与 API 的 沙箱创建路径接入,替换原逐阶段 cost 日志。 - bench create/scale 输出客户端、API、orchestrator 三层耗时分解树,scale 支持达标标准。 | 1 month ago |
| Merge upstream master into feat/cube-engine. Keep Cube CUBE_TEAM_ID next to the AgentENV webhook env that landed on master. Co-authored-by: Cursor <cursoragent@cursor.com> | 3 days ago |
| feat(firecracker): in-place VM rollback via RollbackSnapshot API Nine-phase pipeline (validate -> quiesce -> fold live -> memory -> vCPUs -> GIC -> devices -> VMGenID -> baseline) with a commit point: failures before it leave the VM resumable, failures after mark the instance Faulted to refuse running on torn state. Memory restore merges writes page-by-page via restore_dirty, cost proportional to pages dirtied since the target snapshot. RollbackSnapshotParams with data_loss/data_loss_reason flags; documented in swagger. | 29 days ago |
| refactor(agentenv): share webhook registration and colocate unit tests | 8 days ago |
| feat(migrate-tool): 支持 Android 多盘并完善 Mooncake 导入 将本地 JSON Catalog 和对象目录作为正式迁移端点,补齐 CLI 帮助、 参数错误提示、使用示例和 Catalog 格式说明。 根据 metadata.os_type 收集内存及各磁盘 Header 引用的数据,支持 Android 的 rootfs、persistent 和 sdcard 三盘。纯 Linux 导出保持 Bundle v1,包含 Android 的导出使用 v2,并保留对象原始字节。 Mooncake 控制面预检支持 etcd 多端点;迁移客户端固定零存储容量, 已有对象通过完整摘要比对后复用,关闭写客户端后用独立客户端读回, 全部对象校验通过才提交 Catalog。导入时补查孤立 Build 主键冲突。 同步工具版本至 0.3.1,完善构建依赖配置、架构说明及对应回归测试。 验证:Linux/ARM64 普通及 Mooncake tag 全量 race 测试、go vet、 go mod verify 和构建通过;Linux/Android 测试样本的 File 路径 导出、校验、dry-run、apply 与重复 skip-identical 导入通过。 | 2 months ago |
| feat(py-sdk): add sandbox.checkpoint module (sync + async) create/restore/list/delete plus is_available liveness probe; CheckpointInfo exposes mem_mode so callers can observe silent degradation to full-memory captures when host dirty tracking is off. Errors map to NotFound/InvalidArgument/Authentication exceptions. | 29 days ago |
| chore: drop the e2b orchestration stack, keep cri-multiplex and e2b-webhook The orchestration sources (packages/*: api, orchestrator, envd, client-proxy, db, clickhouse, shared, auth, dashboard-api, docker-reverse-proxy, local-dev, nomad-nodepool-apm) duplicated the e2b-infra repository and are no longer built or shipped: the e2b-infra package now provides those binaries. Remove the packages tree together with its integration tests, the go.work workspace that only covered those modules, and the build/test/Makefile plumbing that referenced them. What remains is the KASandbox-specific runtime: cri-multiplex, e2b-webhook, the deployment assets (deploy, helm), and the supporting tooling. Verified: ./build.sh produces bin/arm64/e2b-webhook and ./build.sh -c produces bin/arm64/cri-multiplex on a clean pruned tree. | 2 days ago |
| 迁移e2b仓库的代码 | 4 months ago |
| chore: drop spec assets, helper scripts and rewrite the README for cri-multiplex The remaining upstream-era pieces no longer have a consumer: spec/ only held the openapi/checkpointd documents referenced by the deleted redocly config and the broken py-sdk generator, readme-assets/ only served the old upstream README images, scripts/ was left with dead helpers (the build-rpm.sh/KASandbox.spec pair even pinned an ancient 1.0.0 spec) plus golang-dependencies-integrity.sh, whose only caller was the make tidy target that goes away with it. CLAUDE.md described the removed full stack. The Makefile keeps test/fmt/lint. README.md is rewritten as a short introduction to the repository's remaining purpose: the cri-multiplex CRI shim (layout, common commands, interface gate) plus e2b-webhook and the deployment assets, with the install-order relationship to the e2b-infra package. | 2 days ago |
| chore: drop spec assets, helper scripts and rewrite the README for cri-multiplex The remaining upstream-era pieces no longer have a consumer: spec/ only held the openapi/checkpointd documents referenced by the deleted redocly config and the broken py-sdk generator, readme-assets/ only served the old upstream README images, scripts/ was left with dead helpers (the build-rpm.sh/KASandbox.spec pair even pinned an ancient 1.0.0 spec) plus golang-dependencies-integrity.sh, whose only caller was the make tidy target that goes away with it. CLAUDE.md described the removed full stack. The Makefile keeps test/fmt/lint. README.md is rewritten as a short introduction to the repository's remaining purpose: the cri-multiplex CRI shim (layout, common commands, interface gate) plus e2b-webhook and the deployment assets, with the install-order relationship to the e2b-infra package. | 2 days ago |
| chore: drop upstream cloud/dev leftovers and refocus the gate on cri-multiplex Remove the upstream e2b cloud-deployment and full-stack development artifacts that no longer have a role now that the orchestration stack (packages/*) is maintained by the e2b-infra repository: the iac/ terraform tree, CODEOWNERS, DEV.md, DEV-LOCAL.md, self-host.md, redocly.yaml, and the VERSION file. The version string previously read from VERSION is inlined in build.sh as PROJECT_VERSION (keep it in sync with the packaging spec pkg_version); make version and its increment-version.sh/semver.sh helpers go away with the file. The Makefile keeps only the targets that still work for the remaining modules (test, fmt, lint, tidy), and golang-dependencies-integrity.sh iterates the standalone modules directly since go.work is gone. check_interface.sh is rewritten from the full-stack interface gate into a cri-multiplex-only gate: it compares BASE..TARGET for cri-multiplex/proto and the generated *.pb.go, fails on wire-incompatible proto changes (field number/name rebinding, removals without reserved, removed RPCs or files) and on generated-code edits without their proto source, and regenerates with protoc when available to catch drift. run-ut.sh now runs only the cri-multiplex unit tests. Verified: the gate passes with no cri-multiplex changes and rejects a field-number change in orchestrator.proto; build.sh --package-slim names its output with the inlined version. | 2 days ago |
| chore: drop upstream cloud/dev leftovers and refocus the gate on cri-multiplex Remove the upstream e2b cloud-deployment and full-stack development artifacts that no longer have a role now that the orchestration stack (packages/*) is maintained by the e2b-infra repository: the iac/ terraform tree, CODEOWNERS, DEV.md, DEV-LOCAL.md, self-host.md, redocly.yaml, and the VERSION file. The version string previously read from VERSION is inlined in build.sh as PROJECT_VERSION (keep it in sync with the packaging spec pkg_version); make version and its increment-version.sh/semver.sh helpers go away with the file. The Makefile keeps only the targets that still work for the remaining modules (test, fmt, lint, tidy), and golang-dependencies-integrity.sh iterates the standalone modules directly since go.work is gone. check_interface.sh is rewritten from the full-stack interface gate into a cri-multiplex-only gate: it compares BASE..TARGET for cri-multiplex/proto and the generated *.pb.go, fails on wire-incompatible proto changes (field number/name rebinding, removals without reserved, removed RPCs or files) and on generated-code edits without their proto source, and regenerates with protoc when available to catch drift. run-ut.sh now runs only the cri-multiplex unit tests. Verified: the gate passes with no cri-multiplex changes and rejects a field-number change in orchestrator.proto; build.sh --package-slim names its output with the inlined version. | 2 days ago |
| chore: drop upstream cloud/dev leftovers and refocus the gate on cri-multiplex Remove the upstream e2b cloud-deployment and full-stack development artifacts that no longer have a role now that the orchestration stack (packages/*) is maintained by the e2b-infra repository: the iac/ terraform tree, CODEOWNERS, DEV.md, DEV-LOCAL.md, self-host.md, redocly.yaml, and the VERSION file. The version string previously read from VERSION is inlined in build.sh as PROJECT_VERSION (keep it in sync with the packaging spec pkg_version); make version and its increment-version.sh/semver.sh helpers go away with the file. The Makefile keeps only the targets that still work for the remaining modules (test, fmt, lint, tidy), and golang-dependencies-integrity.sh iterates the standalone modules directly since go.work is gone. check_interface.sh is rewritten from the full-stack interface gate into a cri-multiplex-only gate: it compares BASE..TARGET for cri-multiplex/proto and the generated *.pb.go, fails on wire-incompatible proto changes (field number/name rebinding, removals without reserved, removed RPCs or files) and on generated-code edits without their proto source, and regenerates with protoc when available to catch drift. run-ut.sh now runs only the cri-multiplex unit tests. Verified: the gate passes with no cri-multiplex changes and rejects a field-number change in orchestrator.proto; build.sh --package-slim names its output with the inlined version. | 2 days ago |