Skip to content

[v3-2-test] Fix E2E Flaky Tests Report failing with gh api 404 (#65120)#65157

Merged
potiuk merged 1 commit intov3-2-testfrom
backport-7ae29fb-v3-2-test
Apr 13, 2026
Merged

[v3-2-test] Fix E2E Flaky Tests Report failing with gh api 404 (#65120)#65157
potiuk merged 1 commit intov3-2-testfrom
backport-7ae29fb-v3-2-test

Conversation

@github-actions
Copy link
Copy Markdown

scripts/ci/analyze_e2e_flaky_tests.py builds 'gh api -f
key=val ...' to list workflow runs. The gh CLI defaults to POST
whenever -f parameters are present, so the workflow runs endpoint
returned 'Not Found (HTTP 404)' and the script wrote no output file,
causing the downstream slack-github-action step to crash with ENOENT
on slack-message.json.

Force --method GET in the gh_api helper and add a regression test.
(cherry picked from commit 7ae29fb)

Co-authored-by: Jarek Potiuk jarek@potiuk.com

scripts/ci/analyze_e2e_flaky_tests.py builds 'gh api <endpoint> -f
key=val ...' to list workflow runs. The gh CLI defaults to POST
whenever -f parameters are present, so the workflow runs endpoint
returned 'Not Found (HTTP 404)' and the script wrote no output file,
causing the downstream slack-github-action step to crash with ENOENT
on slack-message.json.

Force --method GET in the gh_api helper and add a regression test.
(cherry picked from commit 7ae29fb)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 13, 2026
@potiuk potiuk marked this pull request as ready for review April 13, 2026 16:08
@potiuk potiuk merged commit 02f5c13 into v3-2-test Apr 13, 2026
3 checks passed
@potiuk potiuk deleted the backport-7ae29fb-v3-2-test branch April 13, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant