You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: correct incompatible gh api flags in uf.triage-issue #712
GitHub CLI treats --slurp as incompatible with --jq and exits before retrieving comments.
Impact
Triage stops during ingestion for issues that reach the comment-fetch step. No issue-content profile, reviewer dispatch, classification, or artifact can be completed.
The same instruction appears in the upstream main branch at:
.opencode/commands/uf.triage-issue.md
Proposed Change
Keep --slurp for pagination aggregation and perform the transformation with external jq:
set -o pipefail
gh api --paginate --slurp \
"repos/{owner}/{repo}/issues/<ISSUE_NUMBER>/comments?per_page=100" \
| jq 'flatten | map({id, created_at, body})'
pipefail ensures an API failure from gh is not masked by the pipeline.
Acceptance Criteria
The command no longer combines gh api --slurp with --jq.
All comment pages are retrieved and flattened.
Output retains only id, created_at, and body.
A gh api failure remains detectable.
The command documents or verifies the required external jq dependency.
Activity
feat(dispatch): one-call finalization and kind-native run verdicts
feat(dispatch): one-call finalization and kind-native run verdicts
feat(dispatch): one-call finalization and kind-native run verdicts