Skip to content

[ci] In auto-approve, concatenate JSON arrays#3141

Merged
joshlf merged 1 commit into
mainfrom
Glejkxn6s2idc57zgeyxhqk7tmqk3sphy
Mar 20, 2026
Merged

[ci] In auto-approve, concatenate JSON arrays#3141
joshlf merged 1 commit into
mainfrom
Glejkxn6s2idc57zgeyxhqk7tmqk3sphy

Conversation

@joshlf

@joshlf joshlf commented Mar 20, 2026

Copy link
Copy Markdown
Member

The validate_auto_approvers.py script expects a single JSON array.
When GitHub API results are paginated, returning multiple JSON arrays,
this breaks that script unless we first concatenate them before passing
them to the script.


⬇️ Download this PR

Branch

git fetch origin refs/heads/Glejkxn6s2idc57zgeyxhqk7tmqk3sphy && git checkout -b pr-Glejkxn6s2idc57zgeyxhqk7tmqk3sphy FETCH_HEAD

Checkout

git fetch origin refs/heads/Glejkxn6s2idc57zgeyxhqk7tmqk3sphy && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/Glejkxn6s2idc57zgeyxhqk7tmqk3sphy && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/Glejkxn6s2idc57zgeyxhqk7tmqk3sphy

Stacked PRs enabled by GHerrit.

The `validate_auto_approvers.py` script expects a single JSON array.
When GitHub API results are paginated, returning multiple JSON arrays,
this breaks that script unless we first concatenate them before passing
them to the script.

gherrit-pr-id: Glejkxn6s2idc57zgeyxhqk7tmqk3sphy
@joshlf joshlf enabled auto-merge March 20, 2026 18:06
@joshlf joshlf requested a review from jswrenn March 20, 2026 18:06
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (0406c5c) to head (3cade58).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3141   +/-   ##
=======================================
  Coverage   91.85%   91.85%           
=======================================
  Files          20       20           
  Lines        6067     6067           
=======================================
  Hits         5573     5573           
  Misses        494      494           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf joshlf added this pull request to the merge queue Mar 20, 2026
Merged via the queue into main with commit 4704b1b Mar 20, 2026
108 checks passed
@joshlf joshlf deleted the Glejkxn6s2idc57zgeyxhqk7tmqk3sphy branch March 20, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants