GitHub user RehanAhmad25 added a comment to the discussion: Runtime dynamic DAGs: letting each DagRun build its own graph
Really interesting pattern, especially at the reported scale. I’m curious how this would fit Airflow 3’s Task SDK and Task Execution API boundary: 1. **Task representation and retries:** Does the initial model only support operators whose class and arguments are serializable, or could it also handle TaskFlow functions, Python callables, and callbacks? On a retry or clear, how would workers resolve the right Dag bundle/code version alongside the stored layout? 2. **Storage and Execution API boundary:** At 2M+ layouts, are identical layouts deduplicated or offloaded outside the metadata DB? And how would `__compute_layout` publish a graph through the Task Execution API while keeping worker tokens task-scoped and avoiding persisting resolved secrets in the stored layout? It would help to understand which of these are already handled in Pinterest’s implementation versus open design questions for an upstream proposal. GitHub link: https://github.com/apache/airflow/discussions/77421#discussioncomment-19846972 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
