github-actions[bot] opened a new pull request, #72808:
URL: https://github.com/apache/airflow/pull/72808

   * Fix missing HTTP access logs when api-server omits the core app
   
   An api-server started without the core app -- for example `--apps execution`,
   the shape used to run the Task Execution API as its own deployment -- served
   requests but recorded none of them. That leaves the component every running 
task
   depends on for heartbeats, state transitions and XComs with no per-request
   telemetry, which is the primary signal for diagnosing heartbeat stalls.
   
   Both server backends disable their own access logger, and the built-in access
   loggers are muted in the logging config, all on the premise that
   HttpAccessLogMiddleware handles access logging. That premise only held while 
the
   middleware was installed by the core app branch, so no configuration could
   recover the records. Installing it for every apps selection makes the premise
   true again instead of adding a fourth conditional that would give 
execution-only
   deployments a different log format from every other deployment.
   
   * Lock in HttpAccessLog outermost ordering with a positional assertion
   
   * Trim redundant caveat from init_middlewares ordering note
   
   ---------
   (cherry picked from commit 860233f3c72dcc3637c43c64223e57e078c84d55)
   
   Co-authored-by: manish1337 <[email protected]>
   Co-authored-by: pierrejeambrun <[email protected]>


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