refactor: split the graph-node version fetch into steps - #239
Open
MoonBoi9001 wants to merge 1 commit into
Open
MoonBoi9001 wants to merge 1 commit into
MoonBoi9001 wants to merge 1 commit into
Conversation
MoonBoi9001
added this pull request to stack #242
September 10, 2026 13:51
MoonBoi9001
marked this pull request as ready for review
September 10, 2026 13:54
Fetching one indexer's graph-node version had the HTTP call, the response shape check and the retry decision all inside one loop body. Each is now a small helper, so the loop only has to say: try once, stop on a 4xx, otherwise back off and try again.
MoonBoi9001
force-pushed
the
mb9/split-graph-node-version-fetch-into-steps
branch
from
September 10, 2026 14:15
87bcf34 to
2e3c874
Compare
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.
This PR splits the code that asks 1 indexer for its graph-node version into 3 helpers (send the request, extract the version, decide whether to retry) with no intended change to what it returns.