Repository navigation
ci(semantic): the check reads every page of a Measure run's artifacts, so a semantic-diff beyond the first 30 is found (#2010) - #2011
Merged
Conversation
…, so a semantic-diff beyond the first 30 is found (#2010)
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
The Semantic check lists every artifact of a Measure run (
gh api --paginate,per_page=100) before it decides the run has nosemantic-diff. It read the first 30 of the run's 46, so on a run wheresemantic-diffis not among the newest 30 it said "has no semantic-diff artifact (no base, or no dump on either side), so no check run is written" and the pull request got no verdict. Measure 43587477298 (draft #2006) is such a run: the artifact exists (62,661 bytes), and two semantic checks dispatched for it (43589932366, 43590094818) wrote nothing; the same listing finds it on 43585759293 and 43583771747, which hold the same 46 artifacts in another order. Closes #2010.Motivation
#2010. A check that reports an artifact absent when it is present is a false green for the arm script:
arm.shreads "no semantic verdict" as nothing to judge.Changes
.github/workflows/semantic-check.yml: the artifact count reads every page.Testing
Run 43590218954 dispatches the changed workflow from this branch against Measure 43587477298: it finds the artifact, scores 12 elements added, removed or changed on 42 models, and writes the check run on the measured commit as
NOT MEASUREDbecause a run from a branch carries no Jev key. The verdict itself needs the workflow onmain; it is dispatched again from there after this lands.actionlintandyaml.safe_loadpass on the file.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Related issues
Closes #2010.