Skip to content

reclone-failed-repos: add --fetch, diagnostic CSV columns - #31

Closed
marcleblanc2 wants to merge 2 commits into
mainfrom
reclone-failed-repos-fetch-and-diagnostics
Closed

reclone-failed-repos: add --fetch, diagnostic CSV columns#31
marcleblanc2 wants to merge 2 commits into
mainfrom
reclone-failed-repos-fetch-and-diagnostics

Conversation

@marcleblanc2

Copy link
Copy Markdown
Collaborator

Replace --apply with mutually exclusive --fetch (updateMirrorRepository) and --reclone (recloneRepository). Default remains a read-only report.

Widen the failedFetch query and write per-repo mirror diagnostics to the CSV: remote URL, shard, size, clone/corruption flags, last successful fetch, next sync, update schedule and queue state, last error, and last sync output, alongside the action taken and its result.

Rename --reclone-batch-size / --reclone-parallelism to --batch-size / --parallelism since they now apply to both actions.

Amp-Thread-ID: https://ampcode.com/threads/T-01a06014-d2c4-759d-b185-65ace201a487

Replace --apply with mutually exclusive --fetch (updateMirrorRepository)
and --reclone (recloneRepository). Default remains a read-only report.

Widen the failedFetch query and write per-repo mirror diagnostics to the
CSV: remote URL, shard, size, clone/corruption flags, last successful
fetch, next sync, update schedule and queue state, last error, and last
sync output, alongside the action taken and its result.

Rename --reclone-batch-size / --reclone-parallelism to --batch-size /
--parallelism since they now apply to both actions.

Amp-Thread-ID: https://ampcode.com/threads/T-01a06014-d2c4-759d-b185-65ace201a487
Co-authored-by: Amp <amp@ampcode.com>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Also flatten literal \n / \t in lastError and lastSyncOutput, which
gitserver emits when it quotes git's output inside the error message.

Amp-Thread-ID: https://ampcode.com/threads/T-01a06014-d2c4-759d-b185-65ace201a487
Co-authored-by: Amp <amp@ampcode.com>
@marcleblanc2
marcleblanc2 deleted the reclone-failed-repos-fetch-and-diagnostics branch September 2, 2026 04:29
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.

1 participant