[infra] Fix jq example in update-os-coverage skill#126572
Open
richlander wants to merge 1 commit intodotnet:mainfrom
Open
[infra] Fix jq example in update-os-coverage skill#126572richlander wants to merge 1 commit intodotnet:mainfrom
richlander wants to merge 1 commit intodotnet:mainfrom
Conversation
Use jq -e with any(...) in the image-info tag verification example so a missing tag fails explicitly instead of exiting successfully with no output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the update-os-coverage skill documentation to make the “container tag exists in image-info” check return a clear success/failure signal via jq’s exit code, improving scriptability when validating prereqs image tags.
Changes:
- Replaces the
jq -r ... | .[]example with ajq -e any(...)predicate that exits non-zero when the tag is missing. - Makes the “missing tag” case unambiguous (explicit failure rather than empty output).
Member
Author
|
/ba-g "Documentation change" |
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.
Note
This PR was AI/Copilot-generated.
This updates the
update-os-coverageskill guidance so the example tag check fails explicitly when the requested prereqs image tag is missing.jq -r ... | .[]example withjq -e ... any(...)Addresses skipped review feedback from #126524 (discussion_r3034880248).