Repository navigation
Conversation
manifestcheck checks bundles on disk, one directory each: manifest versions are contiguous from 1, every manifest loads under LoadSet's rules, and Validate passes for every version, reading and checking each file once. With -base, the root of a checkout of the base branch, it also fails if a manifest published there, or a file one lists, was changed or deleted. Reads stay inside each bundle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Oct 20, 2026
Closed
Contributor
Author
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.
Summary
manifestcheckchecks artifact bundles on disk, for an artifacts repository's CI. OpenNSW/one-trade-artifacts#156 runs it on every bundle on every pull request.Stack
Manifest versioning, split into six PRs to review and merge in order. Each one builds and passes its tests on its own.
Type of Change
Changes Made
artifact/cmd/manifestcheck <bundle>...checks each bundle directory:LoadSet's rules;Validatepasses for every version, with each file read and checked once.-base <dir>, the root of a checkout of the base branch, also fails the run if a manifest published there, or a file such a manifest lists, was changed or deleted.Testing
Run with
go test -race ./artifact/cmd/.... The tests cover a version gap, a dangling reference, and editing or deleting a published manifest or file.manifestcheckpasses on all 11 bundles of one-trade-artifactsmain(eachmanifest.jsoncopied tomanifest_v1.json), including with-base.Checklist
Related Issues
Related to OpenNSW/one-trade-artifacts#156, which pins
MANIFESTCHECK_VERSIONto this stack.Screenshots/Demo
N/A
🤖 Generated with Claude Code