Repository navigation
fix(ci): reject malformed release metadata identities - #1047
Merged
LunaStev merged 1 commit intoOct 25, 2026
Merged
Conversation
Signed-off-by: Eren Batı <[email protected]>
LunaStev
approved these changes
Oct 25, 2026
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.
Closes #1000
Summary
schema_versionvalues.pathsandexternal_prerequisitesvalues and produce filename/field-specificValueErrordiagnostics.Motivation
Malformed release metadata previously raised unhelpful
AttributeErrorexceptions for JSON lists or wrongly typedtargetfields. Some numerically comparable values such astruecould also pass the schema-version equality check. The publication gate must reject these inputs deterministically, without permitting publication.Target and compatibility impact
Python release/CI tooling only. No changes to Wave language syntax, targets, ABIs, package schema, or accepted valid metadata.
Validation
python -m unittest tools.test_ci.MetadataTests tools.test_release_publish tools.test_release_final -q: 27 tests, OK (2 POSIX-only tests skipped on Windows).python -m py_compile tools/ci/release.py tools/test_ci.py: passed (native Windows Python 3.12).git diff --check: passed.tools.test_cirun on this sparse Windows checkout: 32/37 passed, 3 errors and 2 failures. Three errors were missingstd/andtests/cases/cases.tomlfiles due to the intentionally sparse clone; the two failures concern Windows-specific Unicode and file-alias behavior in unrelated Runner tests. These are not claimed as passing; upstream CI is needed for the complete suite.Checklist
Signed-off-byline.AI assistance
AI assistance was used to inspect the existing validation code and help prepare regression tests and the patch. The contributor is responsible for reviewing and validating this contribution.