Fold reclone-failed-repos into list-repos - #32
Merged
Conversation
…fold in reclone-failed-repos - --failed: server-side failedFetch / corrupted / cloneStatus filters, deduped and post-filtered with the existing client-side error detection - --fetch (updateMirrorRepository) alongside --reclone; both need --failed or a REPO - All mutations batched (10 per request) and parallel via --concurrency; 'another reclone is in progress' reported as skipped - New CSV columns: mirrorInfo.updateQueue.index / .updating, and action / result per repo when a mutation flag is set - Delete repo-troubleshooting/reclone-failed-repos, superseded by the above Amp-Thread-ID: https://ampcode.com/threads/T-01a06014-d2c4-759d-b185-65ace201a487 Co-authored-by: Amp <amp@ampcode.com>
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.
Folds
repo-troubleshooting/reclone-failed-repos/intolist-repos.pyand deletes it.--failed: server-sidefailedFetch/corrupted/cloneStatus: NOT_CLONEDfilters, deduped by id, then post-filtered with the existing client-sidehas_cloning_error()so the result matches the full-scanrepos-with-cloning-errors.csv--fetch(updateMirrorRepository) alongside--reclone; mutually exclusive, bare form requires--failed,REPOform works standalone--concurrency; "another reclone is in progress" reported asskippedmirrorInfo.updateQueue.index/.updating, plusaction/resultper repo when a mutation flag is setlist-repos-runs/<endpoint>/<timestamp>/)Tested against an offline fake GraphQL server (dedupe, client-side post-filter, per-alias skipped/failed/triggered, path-less errors, scoped REPO forms) and read-only
--failedagainst S2.mise run checkand markdownlint clean.