| feat(orchestrator): sandbox network isolation via env-configurable pod CIDR deny - network.Config: add SANDBOX_DENIED_POD_CIDR and SANDBOX_FIREWALL_ALLOWED_CIDRS, merged into the per-sandbox nftables predefinedDenySet/predefinedAllowSet so sandboxes on the shared cni0 bridge cannot reach each other's PodIPs while host and internet access stay intact - firewall: user allow/deny rules match all protocols in external netns (CNI) mode, which has no TCP egress proxy; native mode unchanged - sandbox: call ConfigureInternet for external netns slots - user egress config (allow-internet=false, DenyOut) was previously ignored on this path - helm: inject the new env vars into orchestrator and template-manager daemonsets - e2b-verify: extend cases 14/15/16 for sandbox-to-sandbox isolation, allowlist exceptions, allow-internet=false TCP blocking and ingress preservation; | 2 months ago |
| feat(deploy): make api component optional in k8s mode Add ENABLE_API switch (default true): when false, helm skips rendering the api Deployment/Service so the API can be hosted externally. | 2 months ago |
| feat(deploy): make api component optional in k8s mode Add ENABLE_API switch (default true): when false, helm skips rendering the api Deployment/Service so the API can be hosted externally. | 2 months ago |
| test:update-e2b-validation-suite-and-config-guide | 2 months ago |
| fix(cri-multiplex,e2b-webhook): align allow-internet defaults and tighten annotation validation - default e2b.dev/allow-internet to true in webhook and cri-multiplex - reject non-positive integers for vcpu/ram-mb/max-sandbox-length/total-disk-size-mb - accept only true/false for boolean annotations - keep env-vars/network/volume-mounts lenient - validate auto-resume policy against any/off | 3 months ago |
| fix: deploy module, firecracker coredump in 2403 | 3 months ago |
| feat(deploy): make api component optional in k8s mode Add ENABLE_API switch (default true): when false, helm skips rendering the api Deployment/Service so the API can be hosted externally. | 2 months ago |
| 迁移e2b仓库的代码 | 4 months 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(deploy): make redis/edge/postgres optional and tolerate missing Redis in API - Add ENABLE_REDIS / ENABLE_EDGE / ENABLE_POSTGRES deploy switches (default true) to skip the corresponding images, helm resources and nomad jobs when disabled - Inject an empty REDIS_URL and force SANDBOX_STORAGE_BACKEND=memory when Redis is disabled - Add nil-client guards in the API RedisCache, populate_redis shadow writes and orchestrator storage so the API starts cleanly without Redis (single-instance deployments only) | 2 months ago |
| fix(py-sdk): serialize shared HTTP transport initialization | 2 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| feat(scripts): add RPM build script and spec with optional Mooncake build Package KASandbox as an RPM from a clean git-archive HEAD snapshot so release artifacts are reproducible. The spec exposes a --with mooncake bcond wired to build.sh -m, and build-rpm.sh supports -v/-r/-o/--srpm with relative output paths resolved against the caller's cwd. | 2 months ago |
| feat: add internal snapshot metadata APIs and orchestrator pause/delete fixes - api: add 9 /internal endpoints for pause/checkpoint/resume metadata (pause-snapshot, snapshot-templates, last-snapshot, build status, snapshot-state, resolve, delete snapshot/snapshot-template/template), guarded by AdminTokenAuth, with integration tests - db: add deleted_at soft-delete columns to envs/snapshots, filter all read paths, add SoftDeleteTemplate/SoftDeleteSnapshotBySandboxID/ GetSnapshotTemplateWithReadyBuild and 4 supporting queries - orchestrator: Pause waits for snapshot upload before returning; Delete is idempotent for already-paused sandboxes | 3 months ago |
| feat: add node-local admin service for sandbox pause/checkpoint/resume cri-multiplex: - add node-local Admin gRPC service (proto/admin.proto, pkg/admin/*) on unix socket /run/cri-multiplex/admin.sock with PauseSandbox, CheckpointSandbox and GetSandboxRuntime RPCs - add stable logical sandbox ID via e2b.dev/sandbox-id annotation with bidirectional cri_sandbox_id <-> e2b_sandbox_id indexing in the pod tracker (pkg/engine/pod_tracker.go) - implement AdminPause/AdminCheckpoint in the E2B engine (pkg/engine/admin_ops.go): operation_id-based idempotency (succeeded replay / aborted on in-flight / retry on failed), per-sandbox op lock, team ownership and dual-index consistency validation, and operation records persisted in the state store - RunPodSandbox now reads e2b.dev/* annotations into SandboxConfig and supports snapshot=true restore via orchestrator Create - persist e2b pod state (E2BPodState) across restarts and extend the orphan reconcile / cleanup task flow - main.go: start the admin listener alongside the CRI mux server - README/AGENTS updated for the new service e2b-verify: - add 22_pause_checkpoint_resume.sh: self-contained end-to-end script covering create -> pause (API pre-alloc + Admin PauseSandbox + idempotent retry + pod delete + build status write-back) -> resume (stable sandbox ID, new cri ID) -> checkpoint -> create-from-checkpoint -> delete/409/404 assertions (34 checks); logs every internal API / admin gRPC request and response and kubectl-describes pods at each stage; annotated with which parameters the webhook stub generates vs assembles from E2B API / pod objects | 3 months ago |
| fix(deploy): sync deploy from android branch | 3 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| fix(build): fail on child build errors and isolate Mooncake CGO flags Parallel image and binary builds only logged errors from failed children, so the script could exit 0 with missing artifacts. Accumulate wait failures and return non-zero, and abort a module build with the module name when its compile fails. Merge Mooncake build handling from the android branch: - restrict the mooncake build tag and CGO flags to the orchestrator module; api, client-proxy, migrator and seed-db no longer link against mooncake libraries - link libspdiag instead of libubdiag and honor user-provided MOONCAKE_CGO_CFLAGS/MOONCAKE_CGO_LDFLAGS - build the orchestrator image from orchestrator-mooncake.Dockerfile with RPM staging and cleanup when ENABLE_MOONCAKE=true - use e2b-webhook/webhook.Dockerfile for the webhook image | 2 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| Optimized the provision script to prevent some OS setups from breaking commands and added the orchestrator's ability to return host IPs. | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 添加run-ut.sh,并将当前门禁中不支持的测试跳过。 | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |