dify/api/core/workflow/nodes
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
..
agent refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
agent_v2 fix(api): resolve sandbox deadlock under gevent and refine integration 2026-04-10 10:51:40 +08:00
command refactor(api): replace legacy agent runners with StrategyFactory in AgentChatAppRunner (Phase 4) 2026-04-09 09:42:23 +08:00
datasource refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
file_upload refactor(api): replace legacy agent runners with StrategyFactory in AgentChatAppRunner (Phase 4) 2026-04-09 09:42:23 +08:00
knowledge_index refactor(api): migrate consumers to shared RAG domain entities from core/rag/entities/ (#34692) 2026-04-07 23:22:56 +00:00
knowledge_retrieval refactor(api): migrate consumers to shared RAG domain entities from core/rag/entities/ (#34692) 2026-04-07 23:22:56 +00:00
trigger_plugin refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
trigger_schedule refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
trigger_webhook chore: normalize frozenset literals and myscale typing (#34327) 2026-03-31 08:21:22 +00:00
__init__.py refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00