dify/api/core/app/apps
GareArc 915b4ce840
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-01-29 20:05:11 -08:00
..
advanced_chat feat: enhance start node object value check (#30732) 2026-01-09 16:13:17 +08:00
agent_chat refactor(api): set default value for EasyUIBasedAppGenerateEntity.query (#27712) 2025-11-04 10:22:43 +08:00
chat Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
common fix: catch error in response converter (#29056) 2025-12-04 11:25:16 +08:00
completion Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
pipeline fix(workflow): pass correct user_from/invoke_from into graph init (#30637) 2026-01-07 21:47:23 +08:00
workflow feat: Add parent trace context propagation for workflow-as-tool hierarchy 2026-01-29 20:05:11 -08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
base_app_generate_response_converter.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +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/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
exc.py refactor: decouple Node and NodeData (#22581) 2025-07-18 10:08:51 +08:00
message_based_app_generator.py fix: fix db session already begin (#29160) 2025-12-05 09:39:39 +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 fix(workflow): pass correct user_from/invoke_from into graph init (#30637) 2026-01-07 21:47:23 +08:00