jason810496 opened a new pull request, #73438: URL: https://github.com/apache/airflow/pull/73438
# TS SDK: draw order-only edges with before and after - **Depends on the PR for `feature/ts-sdk/default-task-id-at-pack-time` getting merged first** (only the last commit is new here). - **Diff for early review**: https://github.com/jason810496/airflow/compare/feature/ts-sdk/default-task-id-at-pack-time...feature/ts-sdk/order-only-edges - **next**: `feature/ts-sdk/task-groups` ## Why An edge that carries no value has no argument name to travel under, so the wiring object cannot express it. This is the TypeScript pair for Python's `>>` and `<<`. ## How - `before` and `after` on `TaskRef`, both variadic so one call fans out, and both returning their own receiver since a fan-out has no single next reference to hand back. - Declaring an edge that already exists is idempotent, so drawing one from both ends records one edge. ## What - Order-only edges recorded on the Dag, deduplicated and insertion-ordered. - A reference from another Dag, or from another Dag object with the same id, is rejected by identity rather than by matching ids. - `listBundleTasks` returns a plain identity type: enumerating what a bundle can dispatch has no business drawing edges. --- ##### Was generative AI tooling used to co-author this PR? - [x] Yes, with help of Claude Code Opus 5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
