Skip to content

feat: add validate-release debug command#314

Open
upils wants to merge 2 commits into
canonical:mainfrom
upils:validate-debug
Open

feat: add validate-release debug command#314
upils wants to merge 2 commits into
canonical:mainfrom
upils:validate-debug

Conversation

@upils

@upils upils commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator
  • Have you signed the CLA?

This branch adds a new chisel debug validate-release command that performs static validation of a Chisel release — checking chisel.yaml and the slice definition files for structural issues (path conflicts, essential loops, invalid prefer relationships, archive priority conflicts, etc.) without downloading any package.

Previously, validating a release could only be done indirectly by invoking a command that performs substantial additional work (cut builds a rootfs, find/info query slices, debug check-release-archives downloads .deb packages and inspects tarball contents). There was no lightweight, offline-capable entry point focused solely on validation. This is awkward for slice definition authors iterating locally, for CI on chisel-releases PRs, and for reviewers wanting quick feedback — all of whom benefit from a fast, credential-free check that surfaces the descriptive errors from validate() directly.

@upils upils added the Simple Nice for a quick look on a minute or two label Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Simple Nice for a quick look on a minute or two

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant