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

   The `airflow api-server` command hard-codes its worker timeout default, so 
the documented `[api] worker_timeout` setting and 
`AIRFLOW__API__WORKER_TIMEOUT` environment variable do not affect the server.
   
   This change uses the configured value as the CLI default while preserving an 
explicit `--worker-timeout` override. It also adds a regression test that 
evaluates the parser in a fresh process.
   
   Validation:
   
   - `airflow-core/tests/unit/cli/commands/test_api_server_command.py`: 37 
passed
   - Selective core tests: `Always` and `CLI` passed
   - Ruff, mypy, fast Prek checks, and manual Prek checks passed
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes - Codex (GPT-5)
   
   Generated-by: Codex (GPT-5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   
   ---
   Drafted-by: Codex (GPT-5) (no human review before posting)
   


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