WeKnora/internal/sandbox
wizardchen af0aeb7cc2 fix(sandbox): treat in-use snapshot deletes as retryable conflicts
E2B refuses to delete a skill template while paused session sandboxes
still reference it, but reports that as HTTP 400. Classify it as
Conflict, leave the ledger row for the next sweep, and do not mark the
Langfuse span ERROR — this is expected until those sandboxes expire.
2026-08-31 19:42:32 +08:00
..
capabilities.go feat(agent): write workspace scripts and run them with installed skills 2026-08-29 22:45:18 +08:00
check_client_guard_test.go feat(sandbox): 沙箱后端改为按空间配置,并补齐 E2B 模板与检测诊断 2026-08-11 15:42:02 +08:00
config_identity.go feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
config_identity_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
config_required.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
config_sandboxes.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00
config_sandboxes_test.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00
cube_dns.go feat(sandbox): pin Cube DNS on templates and freeze skill snapshot configs 2026-08-26 16:56:26 +08:00
cube_dns_test.go feat(sandbox): pin Cube DNS on templates and freeze skill snapshot configs 2026-08-26 16:56:26 +08:00
cube_egress_integration_test.go feat(sandbox): pin Cube DNS on templates and freeze skill snapshot configs 2026-08-26 16:56:26 +08:00
cube_integration_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
cube_mock_test.go feat(sandbox): add tenant skill snapshot infrastructure 2026-08-24 16:00:23 +08:00
cube_remote_client.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
cube_remote_client_test.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
cube_template_catalog_test.go test(sandbox): drop TEST-NET DNS fixture from Cube tests 2026-08-27 11:09:09 +08:00
docker_engine.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
docker_host.go feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
docker_host_test.go feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
docker_idle_sweeper.go fix(sandbox): record product-level Langfuse spans and detach idle sweeps 2026-08-31 19:42:32 +08:00
docker_idle_sweeper_test.go feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
docker_integration_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
docker_remote_client.go fix(sandbox): wait until Docker containers are running before exec 2026-08-27 16:55:09 +08:00
docker_remote_client_test.go fix(sandbox): wait until Docker containers are running before exec 2026-08-27 16:55:09 +08:00
docker_rpc_timeout.go fix(sandbox): rebuild templates without dropping the live ID 2026-08-26 16:56:26 +08:00
docker_snapshot.go fix(sandbox): delete replaced templates only after persist succeeds 2026-08-26 16:56:26 +08:00
docker_snapshot_test.go fix(sandbox): delete replaced templates only after persist succeeds 2026-08-26 16:56:26 +08:00
docker_template_catalog.go fix(sandbox): delete replaced templates only after persist succeeds 2026-08-26 16:56:26 +08:00
e2b_compatible_integration_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
e2b_integration_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
e2b_remote_client.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
e2b_remote_client_test.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
envd_compat_transport.go feat(sandbox): unify remote sandbox on E2B protocol with self-hosted support (#2655) 2026-08-11 20:14:19 +08:00
envd_compat_transport_test.go feat(sandbox): unify remote sandbox on E2B protocol with self-hosted support (#2655) 2026-08-11 20:14:19 +08:00
gateway_transport.go feat(sandbox): unify remote sandbox on E2B protocol with self-hosted support (#2655) 2026-08-11 20:14:19 +08:00
gateway_transport_test.go feat(sandbox): unify remote sandbox on E2B protocol with self-hosted support (#2655) 2026-08-11 20:14:19 +08:00
langfuse.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
langfuse_test.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
manager.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
orphan_reaper.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00
orphan_reaper_test.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00
remote_client.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
remote_client_test.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00
remote_errors.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
remote_errors_test.go fix(sandbox): treat in-use snapshot deletes as retryable conflicts 2026-08-31 19:42:32 +08:00
remote_fake_test.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
remote_sandbox.go feat(agent): write workspace scripts and run them with installed skills 2026-08-29 22:45:18 +08:00
remote_sandbox_test.go feat(agent): write workspace scripts and run them with installed skills 2026-08-29 22:45:18 +08:00
remote_snapshot_test.go fix(sandbox): keep skill image pointer out of sandbox config PUT 2026-08-24 16:00:23 +08:00
runtime_defaults.go feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
sandbox.go feat(agent): write workspace scripts and run them with installed skills 2026-08-29 22:45:18 +08:00
sandbox_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
session_binding.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
session_binding_redis.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
session_binding_redis_test.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
session_binding_tenant_test.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00
session_binding_test.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
session_lifecycle.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
session_lifecycle_test.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
session_manager.go fix(sandbox): record product-level Langfuse spans and detach idle sweeps 2026-08-31 19:42:32 +08:00
session_manager_test.go feat(agent): write workspace scripts and run them with installed skills 2026-08-29 22:45:18 +08:00
shell_quote.go feat(sandbox): add tenant skill install and remove service layer 2026-08-24 17:51:13 +08:00
shell_quote_test.go feat(sandbox): add tenant skill install and remove service layer 2026-08-24 17:51:13 +08:00
skill_image.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
skill_paths.go fix(skills): verify installs by loadability and repair missing deps 2026-08-31 12:02:38 +08:00
skill_paths_test.go fix(skills): verify installs by loadability and repair missing deps 2026-08-31 12:02:38 +08:00
template_catalog.go fix(sandbox): delete replaced templates only after persist succeeds 2026-08-26 16:56:26 +08:00
template_catalog_test.go feat(sandbox): 沙箱后端改为按空间配置,并补齐 E2B 模板与检测诊断 2026-08-11 15:42:02 +08:00
tenant_config.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
tenant_config_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
tenant_resolver.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
tenant_resolver_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
url_guard.go feat(sandbox): 沙箱后端改为按空间配置,并补齐 E2B 模板与检测诊断 2026-08-11 15:42:02 +08:00
url_guard_test.go feat(sandbox): 沙箱后端改为按空间配置,并补齐 E2B 模板与检测诊断 2026-08-11 15:42:02 +08:00
validator.go perf(sandbox): compile command-substitution regexps once 2026-06-16 19:51:32 +08:00
validator_test.go feat(sandbox) (#2301) 2026-08-10 21:28:20 +08:00