Fix packed private Git backup restore and verify installed recovery under load - #187
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Sep 30, 2026
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.
A real installed-package backup/restore rehearsal failed after Git packed all private refs: the files-only ZIP omitted the empty refs directory, so Git rejected the extracted private repository before SQL import. Recreate the required structural directories for private and user bare repositories before object verification, reject symlinks, and keep recovery-proof verification strictly read-only. Add real PostgreSQL/Git packed-ref restore and read-only/symlink regressions.
The installed-wheel rehearsal now measures four independent signed clients writing 32 distinct posts and reading all 32, validates all table values and sequences for reads and SIGKILL restart/idempotent replay, then performs a full isolated backup/restore with exact permitted quarantine/config changes and verifies durable quarantine after marker deletion. Record measured startup/restart/backup/restore latency, HTTP throughput/latency, memory and disk; these are bounded CI measurements, not production capacity claims.
Baseline failure: https://github.com/TokenNotIncluded/msg.lmm.best/actions/runs/36643217304 (backup_git_content_mismatch). Independent Git-only reproduction confirms missing refs causes exit 128 and recreating structure preserves bytes. Final-tree quality, complete contracts/recovery suites and installed-package rehearsal must pass before merge. Production-host logs, current external trust pins, real legacy snapshots/ciphertext and local Root operator evidence remain separate release gates (PROGRESS.md and docs/RELEASE_ACCEPTANCE.md).