Repository navigation
docs: use supported state flag in record fetch example - #1740
Merged
Merged
Conversation
The sync push rule emitted the same unsupported `--jq` record-fetch command the doc fix replaced; point it, and the eval fixture that quotes it, at `--state-only`. Restore the list item's 3-space fence indent. Generated-by: Claude Opus 5
potiuk
approved these changes
Oct 20, 2026
potiuk
left a comment
Member
There was a problem hiding this comment.
Thanks @masyarakatai, nice catch: vulnogram-api-record-fetch has no --jq flag, so the documented command failed, and --state-only is the right replacement. I pushed one small fixup commit (a65e6ed) instead of a review round trip:
- The same command was also emitted by code.
tools/security-management/src/security_management/issue_sync/push.pybuilt the "verify the state advance" hint with--jq '.body.CNA_private.state', so an agent running sync was still handed the broken command. It now uses--state-only, and so does the eval fixture that quoted it (step-5b-judged-gates/.../case-5-clean-push-fix-released/report.md). - Restored the 3-space fence indent so the code block lines up with its list item's content, as before.
The issue-sync rule tests (37) pass locally.
This review was drafted by an AI-assisted tool and
confirmed by an Apache Magpie maintainer. The maintainer
approving this PR has read the findings and signed off. If
something feels off, please reply on the PR and a maintainer
will follow up.More on how Apache Magpie handles maintainer review:
Contributing guide.
potiuk
enabled auto-merge (squash)
October 20, 2026 21:09
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.
Fixes #1732
vulnogram-api-record-fetchdoes not support--jq; use its documented--state-onlyoption to verify the record state after the update.