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

   ## Summary
   
   The nightly **E2E Flaky Tests Report** workflow has been failing — see [run 
24320225760 / job 
71004915159](https://github.com/apache/airflow/actions/runs/24320225760/job/71004915159#step:4:14).
 The \"Analyze E2E test results\" step prints:
   
   ## Root cause
   
   The \`gh\` CLI defaults to **POST** whenever \`-f\`/\`-F\` parameters are 
present. The workflow runs list endpoint returns 404 on POST, which is exactly 
the error in the log.
   
   ## Fix
   
   - Add \`--method GET\` to the \`gh api\` command in 
\`scripts/ci/analyze_e2e_flaky_tests.py\` so the \`-f\` params are encoded as 
query string instead of a POST body.
   - Add a regression test in 
\`scripts/tests/ci/test_analyze_e2e_flaky_tests.py\` that asserts the helper 
passes \`--method GET\`.
   
   Verified locally that the broken call returns 404 and the fixed call returns 
the expected payload.
   
   ## Test plan
   
   - [X] \`uv run --project scripts pytest 
scripts/tests/ci/test_analyze_e2e_flaky_tests.py -xvs\` — 13 passed (1 new + 12 
existing).
   - [ ] Next nightly E2E Flaky Tests Report run on \`main\` should now post to 
Slack instead of failing.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.6)
   
   Generated-by: Claude Code (Opus 4.6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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