seanghaeli commented on PR #66611: URL: https://github.com/apache/airflow/pull/66611#issuecomment-4537383124
Good question. The plan is for PR #66608 to provide the context plumbing — once a callback has access to `dag_id` and `run_id` via its context (either through the triggerer supervisor or executor subprocess SUPERVISOR_COMMS), XCom.get() inside a callback can use those automatically rather than requiring the user to specify them manually. So this PR gives the mechanism (XCom comms channel), and #66608 gives the identifiers. Once #66608 lands, we can add a convenience wrapper that pre-fills `dag_id`/`run_id` from context. For now, the user passes them explicitly — still useful for callbacks that know which task's XCom they want to read. --- Drafted-by: Claude Code (Opus 4.6); reviewed by @seanghaeli before posting -- 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]
