opeida commented on issue #42136: URL: https://github.com/apache/airflow/issues/42136#issuecomment-3353798525
> Things we should do to fix that: > > - Capture that error in the TaskSDK supervisor, and write it to the file (We already know the log file path to write to, this is sent to us as part of the ExecuteTask workload message) > - Perhaps add something in Celery Executor to notice case where there is an exception in the task result? (I think that's where the stack trace you showed would end up to the CeleryResult, right?) We could write a short message in the "Audit Log" table for htis > - Update the UI to handle the case where hostname is not set (and there are no remote logs available) and say "No logs found, check the Audit Log for errors" @ashb I'm not familiar with Airflow's internal structure, so I can't verify the accuracy of the suggested items, but they seem promising for solving the issue. Can we consider prioritizing this for the next release if other Airflow contributors agree? -- 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]
