Add tooling to verify that pipeline caching works as intended - #310
Merged
Conversation
HansKristian-Work
pushed a commit
that referenced
this pull request
Aug 5, 2026
PR #308 (bucket-json-system, merged via 0ae323c) added RESOURCE_BUCKET_INFO = 10 to the ResourceTag enum but did not extend cli/fossilize_list.cpp's tag_names[] array. As a result: - fossilize-list --help listed 0..9 only, hiding tag 10. - fossilize-list --tag 10 (RESOURCE_COUNT=11, so the guard tag_uint >= RESOURCE_COUNT accepts it) failed with a generic 'Failed to get hashes' log instead of listing tag 10. - fossilize-list --connectivity on a .foz containing RESOURCE_BUCKET_INFO entries hit an out-of-bounds read at tag_names[par.first] when par.first == 10. Fix by appending 'bucketInfo' to tag_names[] and adding a static_assert that sizeof(tag_names)/sizeof(tag_names[0]) == RESOURCE_COUNT. The static_assert catches the same class of drift that e4ec0c1 (2025-11-10) fixed for computePipeline, so this regression cannot recur silently. This complements PR #308 without touching database storage, the replayer, or PR #310 (roundtrip-checker, still Draft). Refs: #308
Pragmatic reasons since it's not used in the wild, and conflicts with certain RADV versions.
This can be used to fish out breakage.
Should be parsed from XML at some point ...
HansKristian-Work
force-pushed
the
roundtrip-checker
branch
from
August 5, 2026 10:41
fe2a475 to
99df196
Compare
HansKristian-Work
force-pushed
the
roundtrip-checker
branch
from
August 5, 2026 13:12
99df196 to
2583ae3
Compare
HansKristian-Work
marked this pull request as ready for review
August 5, 2026 13:32
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.
When drivers hash unrelated PDF2s, stuff just breaks in the wild. Make tooling that could be run in a CI environment to catch such driver issues.