Repository navigation
feat(bundle): emit bundle v2 next to v1 (RFC-070 F1) - #5
Merged
Merged
Conversation
RFC-070 compatibility rule: one release cycle with both formats. v2 uses the SDK writer (sdk-go pseudo-version of main, to be replaced by a tag), the same signing keys and key set, chunks by record id (deterministic: same programs give the same chunks, one changed program changes one chunk). Signing writes the signed manifests and pointer; verify checks v2 too. Local-only builds write an unsigned v2 snapshot manifest.
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.
Emits bundle format v2 (signed pointer, signed manifests, content-addressed gzip JSONL chunks keyed by record-id ranges) alongside the unchanged v1 output for one release.
Real local build (diodb, bounty-targets, pd-bounty): 4169 programs -> programs stream 2 chunks (2521 records / 636 KB, 1648 / 98 KB), changes stream 1 chunk (4169 / 27 KB); v1 programs file 733 KB.