verifier_tools: Support multi-file leaf publications in legacy shard. - #17
Merged
Merged
Conversation
cmd/verifier/verifier.go: - added PackageInfo2Filename constant (`package_info2.txt`). - refactored logTarget to support a slice of binary info filenames (`binaryInfoFilenames []string`). - configured google_1p_apk (2026/01) to search `package_info2.txt` before `package_info.txt`, enabling verification of leaves 1,714,861 - 1,797,151 while prioritizing the smaller file for recent entries. - updated non-Tessera verification loop to search each configured info file. internal/checkpoint/checkpoint_test.go: - added test case in TestValidCheckpointFormat for the updated google_1p_apk 2026/01 checkpoint (tree size 1,797,152). internal/tiles/reader_test.go: - added test case in `TestParsePackageInfosIndex` validating parsing of entries with higher sequence indices from `package_info2.txt`. Change-Id: I8c78e2ad9ae9542e8c6e64ee81c395b7adb05d2d
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.
cmd/verifier/verifier.go:
package_info2.txt).binaryInfoFilenames []string).package_info2.txtbeforepackage_info.txt, enabling verification of leaves 1,714,861 - 1,797,151 while prioritizing the smaller file for recent entries.internal/checkpoint/checkpoint_test.go:
internal/tiles/reader_test.go:
TestParsePackageInfosIndexvalidating parsing of entries with higher sequence indices frompackage_info2.txt.