Quantum0uasar commented on issue #64649: URL: https://github.com/apache/airflow/issues/64649#issuecomment-4504405130
I'd like to work on this fix! The issue is that when running `airflow dags test`, the DAG context doesn't set up the same task context as a real run, so notifiers that call `task` (from `airflow.sdk`) may fail with a serialization or context error. Looking at the commit `a67e9a7` (Handle serialized DAGs in notifier templating), I'll investigate whether the fix is complete or if there are remaining edge cases. My plan: 1. Reproduce the issue locally with the minimal example from the report 2. Trace through the `BaseNotifier` rendering and `airflow dags test` code path 3. Ensure serialized DAG context is properly handled during templating 4. Add a test case to prevent regression Could a maintainer confirm whether this is still open after `a67e9a7` or if there are specific edge cases remaining? -- 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]
