Repository navigation
praktika: add GH.api and strict/argv support to the gh retry helpers - #119166
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [b25629f] Summary: ✅ AI ReviewSummaryThis PR adds Findings
Final VerdictChanges requested: |
leshikus
marked this pull request as ready for review
September 10, 2026 14:03
maxknv
approved these changes
Sep 12, 2026
This was referenced Sep 24, 2026
Delete the dead legacy GH helper in ci/tools/ci_utils.py and its unreachable ci_buddy caller
#121882
Merged
groeneai
added a commit
to groeneai/ClickHouse
that referenced
this pull request
Oct 15, 2026
…retry-v2 Resolves the conflict with ClickHouse#119166 in ci/praktika/gh.py: GH.api_get stays in place before do_command_with_retries, which keeps master's new strict parameter. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a
GH.api(endpoint, method=, fields=, jq=, paginate=, strict=)REST wrapper inci/praktika/gh.pythat builds thegh apicommand as an argv list and runs it throughget_output_with_retries, so REST callers stop hand-assembling the command string and inherit the retry/strictbehaviour. Also:strict=flag todo_command_with_retries(mirroringget_output_with_retries) so a caller can raise with the command's stderr instead of wrapping the boolean in anassert;get_output_with_retriesaccept an argv list (joined withshlex.join).Framework-only change; mirrors the
ci/praktika/gh.pyhelper change made in the private repo'sAWSDeployApplywork so the two praktika copies do not diverge.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Workflow [PR]
Sync PR [sync-upstream/pr/119166]
Version info
26.10.1.1986-master(included in26.10and later)