nyxrv0id commented on PR #75429:
URL: https://github.com/apache/airflow/pull/75429#issuecomment-7278402246
Thanks for the thorough reviews @kaxil, @amoghrajesh, and @varaprasadregani!
I have addressed all the feedback in the latest push:
1. **Immutability & Proxying:** Switched to `self.prepare_for_execution()`
in `_convert_to_databricks_workflow_task` across `DatabricksTaskBaseOperator`
and `DatabricksNotebookOperator`, locking `_lock_for_execution = True` to
prevent write-backs to `_BaseOperator__init_kwargs`.
2. **Databricks Dynamic References & `run_id`:** Added auto-escaping in
`render_template_fields()` for `DatabricksTaskOperator.task_config` and
`DatabricksNotebookOperator.notebook_params`. Legacy `{{ run_id }}` in workflow
groups is auto-escaped with a deprecation warning, while standalone tasks
evaluate Airflow's `run_id`.
3. **Template Fields Cleanup:** Dropped `notebook_path` and `source` from
`DatabricksNotebookOperator.template_fields` to preserve compatibility for
paths with literal braces.
4. **XComArg Safety:** External `XComArg` producers are now automatically
wired upstream of the launch task during `__exit__`, and intra-workflow
`XComArg` references are rejected at parse time.
5. **Templated Retry Arguments:** `operator_proxy._retry_settings()` now
reads rendered retry settings, resolving templated `max_retries`,
`min_retry_interval_millis`, and `retry_on_timeout` before integer coercion.
6. **Documentation & Changelog:** Added launch context semantics and a
warning regarding shared `{dag_id}.{group_id}` job resets during concurrent
backfills to `workflow.rst` and `changelog.rst`.
7. **Test Cleanup:** Removed `GH-46563` references, removed step comments,
and updated assertions to verify full payload dictionaries.
--
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]