| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(gateway): Integrate the dyn-sandbox execution backend on linux Co-Authored-By: DeepSeek v4 | 3 天前 | |
feat(gateway): Integrate the dyn-sandbox execution backend on linux Co-Authored-By: DeepSeek v4 | 3 天前 | |
fix(backend): flip registry to running on session bind to prevent root-turn eviction race When ensure_session_backend() registers a new sandbox, BackendRegistryEntry defaults to session_status="idle" + queue_depth=0, making it immediately eligible for eviction. Another process can steal the sandbox before the first turn's report_session_status(Running) lands. Fix (A + B): A - lease_backend_for_lane re-reports Running after binding. B - BackendEnsureSessionRequest and BackendCheckoutRequest carry an initial_session_status field; BackendRegistryEntry::new accepts it; ensure_session_backend forwards it on create/fast-path/re-check paths so the registry atomically starts at ("running", 1). Only e2b/conch backends (is_counted_kind) are written to the shared registry. Local backends skip the new writes via needs_counting guards, avoiding unnecessary IN_PROCESS_LOCK + flock contention. Co-Authored-By: GLM-5.2 | 12 天前 | |
fix(backend): flip registry to running on session bind to prevent root-turn eviction race When ensure_session_backend() registers a new sandbox, BackendRegistryEntry defaults to session_status="idle" + queue_depth=0, making it immediately eligible for eviction. Another process can steal the sandbox before the first turn's report_session_status(Running) lands. Fix (A + B): A - lease_backend_for_lane re-reports Running after binding. B - BackendEnsureSessionRequest and BackendCheckoutRequest carry an initial_session_status field; BackendRegistryEntry::new accepts it; ensure_session_backend forwards it on create/fast-path/re-check paths so the registry atomically starts at ("running", 1). Only e2b/conch backends (is_counted_kind) are written to the shared registry. Local backends skip the new writes via needs_counting guards, avoiding unnecessary IN_PROCESS_LOCK + flock contention. Co-Authored-By: GLM-5.2 | 12 天前 | |
fix(backend): flip registry to running on session bind to prevent root-turn eviction race When ensure_session_backend() registers a new sandbox, BackendRegistryEntry defaults to session_status="idle" + queue_depth=0, making it immediately eligible for eviction. Another process can steal the sandbox before the first turn's report_session_status(Running) lands. Fix (A + B): A - lease_backend_for_lane re-reports Running after binding. B - BackendEnsureSessionRequest and BackendCheckoutRequest carry an initial_session_status field; BackendRegistryEntry::new accepts it; ensure_session_backend forwards it on create/fast-path/re-check paths so the registry atomically starts at ("running", 1). Only e2b/conch backends (is_counted_kind) are written to the shared registry. Local backends skip the new writes via needs_counting guards, avoiding unnecessary IN_PROCESS_LOCK + flock contention. Co-Authored-By: GLM-5.2 | 12 天前 | |
feat(gateway): Integrate the dyn-sandbox execution backend on linux Co-Authored-By: DeepSeek v4 | 3 天前 | |
feat(gateway): Integrate the dyn-sandbox execution backend on linux Co-Authored-By: DeepSeek v4 | 3 天前 | |
fix: fix some bugs introduced in 'add sandbox scheduling support' Co-Authored-By: GLM-5.2 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 1 个月前 |