Pranaykarvi commented on PR #64022:
URL: https://github.com/apache/airflow/pull/64022#issuecomment-4479994873

   Hi @potiuk both threads have been addressed and I've now resolved them:
   
   1. **Double `try` in `_execute()`** — collapsed into a single 
`try/except/finally` with `_prev_ctx` restored at the bottom of the `finally` 
block, matching @amoghrajesh's suggested diff exactly.
   
   2. **Symmetric client-context test** — added 
`test_trigger_runner_sets_client_process_context` in `TestTriggererJobRunner`, 
patching `arun` with an async `side_effect` to capture and assert 
`_AIRFLOW_PROCESS_CONTEXT=="client"` during execution and `None` after `run()` 
returns.
   
   Both were included in the force-push last week. Marking the threads as 
resolved now.


-- 
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