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

   Manual backport of #73282 to `airflow-ctl/v0-1-test` — the automated 
backport failed with a conflict.
   
   The API server registers the backfill `pause`/`unpause`/`cancel` routes as 
`PUT`, but the client sent `POST`, so all three CLI commands returned `405 
Method Not Allowed`. An operator could not stop a running backfill from the CLI.
   
   **Conflict resolution:** this branch still wraps each call in `try/except 
ServerResponseError`, which `main` has since removed. The branch's structure is 
kept as-is; only `client.post` → `client.put` is applied (three call sites). 
The test changes (`assert request.method == "PUT"`) applied cleanly.
   
   Verified with `breeze run pytest 
airflow-ctl/tests/airflow_ctl/api/test_operations.py::TestBackfillOperations` — 
7 passed.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5)


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