dify/api/core/app
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
..
app_config feat: enhance start node object value check (#30732) 2026-01-09 16:13:17 +08:00
apps feat: Add parent trace context propagation for workflow-as-tool hierarchy 2026-01-29 20:05:11 -08:00
entities refactor(api): clarify published RAG pipeline invoke naming (#30644) 2026-01-06 23:48:06 +09:00
features refactor(models): Add mapped type hints to MessageAnnotation (#27751) 2026-01-05 15:50:03 +08:00
layers feat: Add conversation variable persistence layer (#30531) 2026-01-06 14:05:33 +08:00
task_pipeline perf: decrease db query (#29837) 2025-12-18 15:35:52 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00