Repository navigation
fix: use REST API for author_association in triage skill - #571
Merged
Merged
Conversation
The recipe used `gh issue view --json author,authorAssociation --jq '.authorAssociation'`, but `--json` does not expose `authorAssociation` — the field is reachable only via the REST API. Every triage run errored when it reached the closer-template step. Closes #570 Co-Authored-By: Claude <[email protected]>
max-sixty
added a commit
that referenced
this pull request
May 23, 2026
## Summary - Bumps generator version to 0.1.0 and syncs lockfile. 7 commits since 0.0.25: - fix: jitter outage-issue dedup to handle concurrent matrix-leg failures (#586) - fix: install-test default-branch probe on shallow checkout (#583) - fix: pin install-tend badge link to max-sixty/tend (#585) - skills(review-reviewers): call out commenter-self-edit filters as a non-issue (#581) - triage: skip on tend-outage labeled issues (#579) - fix: use REST API for author_association in triage skill (#571) - skills(running-in-ci): catch already-merged sibling PRs in dedup (#569) ## Test plan - [x] `wt test` passes - [x] `pre-commit run --all-files` passes - [ ] CI green
This was referenced Sep 8, 2026
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.
Problem
plugins/tend-ci-runner/skills/triage/SKILL.mdinstructed the triage agent to fetchauthor_associationwithgh issue view $ARGUMENTS --json author,authorAssociation --jq '.authorAssociation'. That field is not exposed bygh issue view --json(orgh pr view --json); the command always errors withUnknown JSON field: "authorAssociation". Every triage run hit this when it reached the closer-template step.Solution
Swap the broken
gh issue view --jsonrecipe for the REST form, which does exposeauthor_association:Added a one-line gloss next to it explaining why the
--jsonshape doesn't work, to discourage future "cleanups" back to the broken form.Testing
Ran the original broken command in this CI session and got the same
Unknown JSON fielderror the issue describes. Ran the replacement against this issue (#570) and it returnedNONE— matching the REST API.Closes #570 — automated triage