Repository navigation
Conversation
Ivanbeethoven
marked this pull request as ready for review
October 5, 2026 09:29
genedna
pushed a commit
that referenced
this pull request
Oct 5, 2026
* Prepare validated native metadata retention DAGs * test(runtime): read bind failure diagnostic after child exits * Persist native metadata payloads and durable preparation receipts (#44) * Persist native metadata payloads and durable preparation receipts * Use byte string in PostgreSQL fault proxy lint check * Bind native resolve projection traces to fixed publication source (#43) * Bind native resolve projection traces to fixed publication source * Recheck exact git-cli identity after concurrent passwd creation
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.
Native metadata preparation previously left payload installation and durable recovery to callers. This change stores immutable, codec-verified page bytes and a complete canonical installation plan before finalizing a prepared retention graph. Repeating an operation returns the same preparation identity and receipt without adding graph references again.
The canonical plan binds the fixed native tree, scope, source/profile revisions, metadata root, unique pages and sizes, and unique edges. Finalization checks durable coverage and LIVE graph state under the existing schema-scoped retention barrier, then records graph references, prepare pins and the COMMITTED receipt in one transaction. Failed COMMIT returns a typed uncertain outcome. Recovery uses a fresh READ COMMITTED transaction on the captured primary storage and revalidates all bounded payload bytes, the canonical DAG and retained graph before returning a receipt; uncertainty never releases pins. Recovery may verify up to 64 MiB while holding the barrier; normal finalization validates bytes before its short graph transaction.
Stacked on #41 (
feat/mst2-native-retention-dag). This is the bounded metadata-installation layer. Runtime/lease publication, content retention, prepare-to-lease handoff and physical collection require separate implementation.Validation on current head
22e48a517caf27534b47a923b8cdd7a2772a6e3f:source .env.test && cargo test --allwith isolated PostgreSQL, Redis and object storage.test_dynamic_repos_pushand the opt-inmst2_native_projection_medium_real_commit_leaf_updateworkload; this gate did not run the opt-in medium performance test.