dify/api/configs
Yansong Zhang 73fd439541 fix(api): resolve sandbox deadlock under gevent and refine integration
- Skip Local sandbox provider under gevent worker (subprocess pipes
  cause cooperative threading deadlock with Celery's gevent pool).
- Add non-blocking sandbox readiness check before tool execution.
- Add gevent timeout wrapper for sandbox bash session.
- Fix CLI binary resolution: add SANDBOX_DIFY_CLI_ROOT config field.
- Fix ExecutionContext.node_id propagation.
- Fix SkillInitializer to gracefully handle missing skill bundles.
- Update _invoke_tool_in_sandbox to use correct `dify execute` CLI
  subcommand format (not `invoke-tool`).

The full sandbox-in-agent pipeline works end-to-end for network-based
providers (Docker, E2B, SSH). Local provider is skipped under gevent
but works in non-gevent contexts.

Made-with: Cursor
2026-04-10 10:51:40 +08:00
..
deploy feat: add debug log for request and response (#19781) (#19783) 2025-05-17 17:31:09 +08:00
enterprise feat: enterprise otel exporter (#33138) 2026-03-27 07:56:31 +00:00
extra feat: add archive storage client and env config (#30422) 2025-12-31 16:14:46 +08:00
feature fix(api): resolve sandbox deadlock under gevent and refine integration 2026-04-10 10:51:40 +08:00
middleware fix: do not block upsert for baidu vdb (#33280) 2026-03-23 20:42:57 +08:00
observability feat: add otel endpoint config (#22492) 2025-07-16 18:24:17 +08:00
packaging fix: resolve typing errors in configs module (#25268) 2025-09-06 16:08:14 +08:00
remote_settings_sources more httpx (#25651) 2025-09-22 23:07:09 +08:00
__init__.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
app_config.py feat: enterprise otel exporter (#33138) 2026-03-27 07:56:31 +00:00