adiranjan25 commented on issue #77618: URL: https://github.com/apache/airflow/issues/77618#issuecomment-7289197672
Thanks, @JoelEmmanuelCloud, for sharing Jarek's guidance and revisiting the architecture. I agree that whole-DAG testing should reuse Airflow's existing scheduler rather than reproduce dependency resolution, trigger rules, and branching behavior inside the TypeScript SDK. Extending `airflow dags test` to support TypeScript DAGs sounds like the more maintainable direction. I'm still interested in taking ownership of the **public single-task testing API** as a separate, focused contribution. My proposed scope would include: - Running individual TypeScript task handlers with supplied inputs and execution context. - Supporting configurable Variables and Connections without relying on private SDK storage. - Capturing task results and XCom behavior. - Adding regression coverage for `dag.if` deciders and relevant branching scenarios. I would keep full-DAG scheduling and CLI integration outside this initial implementation to avoid overlapping with your work. @jason810496, could you confirm whether this division aligns with the preferred architecture? If so, I can prepare a focused API design and initial regression tests before proceeding with implementation. Thanks again for coordinating this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
