Anurag-S1ngh opened a new pull request, #77085:
URL: https://github.com/apache/airflow/pull/77085

   ## Summary
   Every line the triggerer writes about a trigger now carries `trigger_id` as 
a structured field, including lines written to the triggerer's output rather 
than a trigger's file. Lines for an asset watcher also carry the assets it 
watches (`watched_assets` from the RunTrigger workload).
   
   ## Changes
   - `_process_log_messages_from_subprocess` re-attaches `trigger_id` and 
`watched_assets` to lines routed to the triggerer output or a trigger's file
   - The triggerer's own lines about a trigger (built workload warnings/errors, 
insertion attempted twice, failed to load code, cancellation paths) log 
`trigger_id` as a structured field instead of `id=` or positional formatting
   - Supervisor records a watcher's assets per trigger and drops them when the 
trigger finishes or is dropped from the run set
   
   ## Testing
   - `uv run --project airflow-core pytest 
airflow-core/tests/unit/jobs/test_triggerer_job.py -q` (188 passed; 12 errors 
and 1 skip are pre-existing on main)
   
   Closes #77050


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