Skip to content

release.yml: assert the asset check actually examined an asset - #6

Open
MattJackson wants to merge 1 commit into
devfrom
fix/false-green-sweep
Open

release.yml: assert the asset check actually examined an asset#6
MattJackson wants to merge 1 commit into
devfrom
fix/false-green-sweep

Conversation

@MattJackson

Copy link
Copy Markdown
Contributor

No check goes red as a result of this change. Part of a fleet-wide sweep for checks that report GREEN without having checked anything (21 found, 17 proven).

The release-asset verification loop iterated a discovered asset list and asserted nothing when that list came back empty. An API hiccup or a renamed asset pattern, and the release verified clean having inspected nothing — "for each asset, assert it is well-formed" is true with zero assets.

Floored on the count. Proven: emptied the discovered set, watched the check report clean and exit 0; the fixed version fails against that same state and passes once the assets are back.

This is the same defect class as the plugin-repo findings in the sweep; hashicorp-vault is on dev so it is fixed here directly, while the nine plugin repos sitting on ci/public-hygiene-green were left untouched and their patches handed over as diffs.

The verification loop iterated a discovered asset list and asserted nothing
when that list came back empty — an API hiccup or a renamed asset pattern and
the release verified clean having inspected nothing. Floored on the count.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant