sankalpsthakur commented on issue #71272:
URL: https://github.com/apache/airflow/issues/71272#issuecomment-5252222730

   Looks like this is already addressed on `main`:
   
   - `TaskInstance.__repr__` catches `DetachedInstanceError` / 
`ObjectDeletedError` and falls back to `<deferred>` so logging never raises.
   - `adopt_or_reset_orphaned_tasks` uses `load_only(...)` including `TI.state` 
and `TI.map_index`, with coverage in 
`test_adopt_or_reset_orphaned_tasks_loads_state_for_reset_logging`.
   
   If you still reproduce on a current `main` / 3.x tip, please re-open with a 
version pin — otherwise this can be closed as fixed.


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