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

   It doesn't really make logical sense to look at logs in this case, but
   creating the log filename in the API server shouldn't fail for this.
   
   The problem was that the TaskSDK's DagRun model validated that `start_date`
   was non-null, which makes sense for it (as a TI should never make it to a
   worker unless it's started!) but didn't make sense for the context we were
   using it in. The fix here is to not build a full context object but just the
   minimal dictionary of items we explicitly need/allow in log templates.
   


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