dify/api/core/app/apps
GareArc 4d47339ce6
feat: Add parent trace context propagation for workflow-as-tool hierarchy
Enables distributed tracing for nested workflows across all trace providers
(Langfuse, LangSmith, community providers). When a workflow invokes another
workflow via workflow-as-tool, the child workflow now includes parent context
attributes that allow trace systems to reconstruct the full execution tree.

Changes:
- Add parent_trace_context field to WorkflowTool
- Set parent context in tool node when invoking workflow-as-tool
- Extract and pass parent context through app generator

This is a community enhancement (ungated) that improves distributed tracing
for all users. Parent context includes: trace_id, node_execution_id,
workflow_run_id, and app_id.
2026-02-05 20:19:29 -08:00
..
advanced_chat refactor(telemetry): migrate to type-safe enum-based event routing with centralized enterprise filtering 2026-02-05 20:15:12 -08:00
agent_chat feat: chatflow support multimodal (#31293) 2026-01-27 00:24:48 +08:00
chat feat: chatflow support multimodal (#31293) 2026-01-27 00:24:48 +08:00
common refactor(typing): use enum types for workflow status fields (#31792) 2026-02-02 09:41:34 +08:00
completion feat: chatflow support multimodal (#31293) 2026-01-27 00:24:48 +08:00
pipeline refactor: port api/controllers/console/datasets/datasets_document.py api/controllers/service_api/app/annotation.py api/core/app/app_config/easy_ui_based_app/agent/manager.py api/core/app/apps/pipeline/pipeline_generator.py api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py to match case (#31832) 2026-02-02 19:07:30 +09:00
workflow feat: Add parent trace context propagation for workflow-as-tool hierarchy 2026-02-05 20:19:29 -08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
base_app_generate_response_converter.py feat: Add summary index for knowledge. (#31625) 2026-01-29 13:47:35 +08:00
base_app_generator.py fix: fix object value is optional should skip validate (#30894) 2026-01-13 15:21:06 +08:00
base_app_queue_manager.py fix: release graph_runtime_state reference to prevent memory leak under high load (#30236) 2025-12-29 10:35:47 +08:00
base_app_runner.py feat: chatflow support multimodal (#31293) 2026-01-27 00:24:48 +08:00
exc.py refactor: decouple Node and NodeData (#22581) 2025-07-18 10:08:51 +08:00
message_based_app_generator.py revert: revert human input relevant code (#31766) 2026-01-30 19:18:49 +08:00
message_based_app_queue_manager.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
workflow_app_runner.py revert: revert human input relevant code (#31766) 2026-01-30 19:18:49 +08:00