| feat(cri-multiplex): add CNI netns/veth prewarm pool for concurrent sandbox creation Optimizations in the cri-multiplex call layer: - Add a CNI prewarm pool (pkg/engine/cni_pool.go) - Add -cni-pool-enabled (default off) and -cni-pool-size (default 0) - Use a reversible short warmID format - Fix netns name collisions - Fix in-flight netns being reclaimed by the orphan reconciler - Add -T 900s request cancellation deadline | 3 months ago |
| fix(deploy): remove harbor.key, remove install package cherry-pick merge request: fix(deploy): remove harbor.key, remove install package 2e44b2e4b9818271f731ee31fab758d365775be2 This cherry-pick merge request !86 | 3 months ago |
| docs(e2b-scripts): README 补充性能测试各命令参数说明 - 5.1 执行方式补充档位规则(未指定档位按配置逐档、指定任一档位参数 只执行单档)与 -n 在各测试项中的不同含义 - 按通用参数、bench all、各测试项与清理命令分节列出全部命令行参数、 含义与单档默认值,并给出常用示例(与各子命令 --help 及代码核对) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> | 1 month 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 |
| fix(deploy): sync deploy from android branch | 3 months ago |
| 迁移e2b仓库的代码 | 4 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 |
| 修改文件名为py-sdk | 4 months ago |
| 迁移e2b仓库的代码 | 4 months ago |
| 迁移e2b仓库的代码 | 4 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 |
| feat(e2b-scripts): 新增统一性能基准测试体系(bench) - 新增 e2b_validator/bench 包:create/scale/density/snapshot-concurrency/snapshot-dirty/ create-from-snapshot/rollback/clone/pause-resume 九个测试项 + all 编排 + clean-host 维护命令 - 指标口径对标 CubeSandbox 性能基准(avg/min/p95/max/wall/per/吞吐/成功率) - bench.toml 单一配置源:全局参数 + 各测试项档位 + profiles(quick/full),支持 --print-config - 默认 2U2G 基准模板(bench-standard-2c2g)自动创建/复用,无需用户指定模板 ID - 并发计时采用 barrier 同步起跑(burst 全同步,流水线同步首波) - 档位前后清理:ensure_clean_slate 收敛等待 + clean_host_orphans 宿主孤儿资源清理 (netns/veth 半对子、引用失效 veth 的 iptables 规则、10.11 段 MASQUERADE 孤儿规则) - 重压档位支持 pre_wait 池恢复等待(不计入测量) - 与 test-e2e 互斥锁隔离(test-results/.run.lock),test-e2e 最小侵入接入 - .gitignore 排除 __pycache__、test-results、e2b-scripts/.env | 2 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: deploy module, firecracker coredump in 2403 | 3 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 |