Repository navigation
workflows: report every violation in a concerns answer at once - #929
Merged
rgushchin merged 1 commit intoNov 20, 2026
Merged
Conversation
validate_concerns_output returns at the first violation, and the retry's feedback contains only that one. So when an answer's concerns lack side and a dismissal lacks code_snippet, the first rejection is for the missing side and the second for the missing code_snippet. With three validation attempts, that answer can pass only on the third, and any further violation in it fails the stage. Collect every violation and return them together. Each violation's wording is unchanged. Change each copy of the validator: linux, gcc, qemu (which zephyr shares), e2fsprogs and sashiko. In the copies that check that an item is a JSON object, a non-object item is still reported with only that violation. Also make validate_locations_side report every bad location of an item. Its other callers (the findings, inconclusive and dismissal validators, and prior_feedback's validator) still stop at the first failing item, and now report all of its bad locations. Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Sashiko review✓ No issues found across 1 commit. |
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.
I don't know of an upstream stage that has hit this. A prompt that asks for fewer fields than its validator checks makes an answer fail once for each missing field. A stage in my fork asked for neither
sidenorcode_snippet. On three models its answers passed only on the third attempt, and on a fourth model the third answer was rejected too and the stage failed.