Nishieee opened a new pull request, #66966:
URL: https://github.com/apache/airflow/pull/66966

   `LivyTrigger` accepted `endpoint_prefix` for `LivyAsyncHook`, but 
`serialize()` omitted it, so the triggerer could not restore that value after a 
restart or handoff. Serialize `endpoint_prefix` with the other constructor 
kwargs, document it in the class docstring, and extend unit tests so the 
default payload includes `None` and a non-default value round-trips through 
`serialize()` -> `LivyTrigger(**kwargs)`.
   
   `KNOWN_VIOLATIONS` cleanup for this trigger is deferred until 
`check_trigger_serialize_init` lands on `main` 
([#66960](https://github.com/apache/airflow/issues/66960)); this PR can be 
rebased when that file exists.
   
   related: #66961
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Cursor
   
   Generated-by: Cursor 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]

Reply via email to