Repository navigation
Discover first-push repositories for scheduled maintenance - #121
Merged
Merged
Conversation
Visit existing WAL log prefixes in bounded batches and authenticate their heads through an operator-only maintenance route. Preserve a disposable discovery cursor across worker runs and clear ingress pauses on every worker exit. Co-authored-by: Codex <noreply@openai.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.
Scheduled maintenance previously visited only named configuration entries, leaving repositories created under a wildcard policy outside automatic cleanup. Discover existing WAL log prefixes in batches of 32 and maintain them through an operator-only endpoint. A disposable local cursor resumes the next batch; each run has an absolute deadline.
The service authenticates existing heads and recovers their Git format. It also collects abandoned first pushes without publishing a Git repository. Worker exits clear ingress pauses while preserving the discovery cursor.
Validation:
make check, Terraform validation, native SHA-1/SHA-256 clients, MinIO discovery, Caddy admission tests and real Linux worker stop/kill/timeout/restart tests pass. After maintenance, a cold mirror of object-log matched all 6,555 reachable objects and passed full fsck.Closes #108