Skip to content

[infra] Fix jq example in update-os-coverage skill#126572

Open
richlander wants to merge 1 commit intodotnet:mainfrom
richlander:copilot/fix-update-os-coverage-jq-check
Open

[infra] Fix jq example in update-os-coverage skill#126572
richlander wants to merge 1 commit intodotnet:mainfrom
richlander:copilot/fix-update-os-coverage-jq-check

Conversation

@richlander
Copy link
Copy Markdown
Member

Note

This PR was AI/Copilot-generated.

This updates the update-os-coverage skill guidance so the example tag check fails explicitly when the requested prereqs image tag is missing.

  • replace the jq -r ... | .[] example with jq -e ... any(...)
  • make the missing-tag case unambiguous and easier to script

Addresses skipped review feedback from #126524 (discussion_r3034880248).

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>
Copilot AI review requested due to automatic review settings April 6, 2026 05:58
@github-actions github-actions bot added the area-skills Agent Skills label Apr 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 a jq -e any(...) predicate that exits non-zero when the tag is missing.
  • Makes the “missing tag” case unambiguous (explicit failure rather than empty output).

@richlander
Copy link
Copy Markdown
Member Author

/ba-g "Documentation change"

@richlander richlander requested a review from hoyosjs April 6, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants