Avoid blocked /meta lookup in Issue Arborist issue prefetch#1117
Open
Copilot wants to merge 2 commits into
Open
Avoid blocked /meta lookup in Issue Arborist issue prefetch#1117Copilot wants to merge 2 commits into
/meta lookup in Issue Arborist issue prefetch#1117Copilot wants to merge 2 commits into
Conversation
Co-authored-by: maddymontaquila <12660687+maddymontaquila@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Debug and fix issue with Arborist workflow failure
Avoid blocked May 28, 2026
/meta lookup in Issue Arborist issue prefetch
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Issue Arborist’s issue prefetch step to avoid gh issue list and use a direct GraphQL API query while preserving the generated workflow.
Changes:
- Replaces the issue prefetch command with
gh api graphql. - Keeps the output path
/tmp/gh-aw/issues-data/issues.json. - Regenerates the compiled workflow lock file.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/issue-arborist.md |
Updates the source workflow’s issue prefetch logic. |
.github/workflows/issue-arborist.lock.yml |
Regenerated compiled workflow reflecting the source change. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| gh api graphql \ | ||
| -f query="$query" \ | ||
| -F searchQuery="repo:${GITHUB_REPOSITORY} is:issue state:open -parent-issue:*" \ | ||
| | jq '.data.search.nodes' \ |
| )" | ||
| gh api graphql \ | ||
| -f query="$query" \ | ||
| -F searchQuery="repo:${GITHUB_REPOSITORY} is:issue state:open -parent-issue:*" \ |
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.
Issue Arborist was failing before the agent ran because its issue prefetch path used
gh issue list, which triggered a proxiedGET /metarequest and received403 Forbidden. This updates the workflow to fetch the same issue dataset without relying on that blocked CLI metadata path.Workflow prefetch path
gh issue listprefetch step inissue-arborist.mdwith a directgh api graphqlquery./tmp/gh-aw/issues-data/issues.jsonfor the agent prompt.Compiled workflow
issue-arborist.lock.ymlfrom the markdown source so the checked-in workflow reflects the new fetch path.Behavior preserved
microsoft/aspire.devexcluding issues that already have a parent.