Repository navigation
Fix docs review PR menu scope handling - #153
Merged
Merged
Conversation
Use GraphQL to collect changed PR markdown files so the review preflight does not silently noop under the agentic workflow proxy, and make the prompt ground manual style findings in MCP-fetched Elastic guidance. Co-authored-by: Cursor <[email protected]>
theletterf
pushed a commit
that referenced
this pull request
May 14, 2026
Replace the 29-line GraphQL cursor-pagination loop from #153 with a three-line `gh pr diff <N> --name-only` call. gh handles pagination internally, so the manual NEXT_CURSOR bookkeeping and duplicate query strings are no longer needed. Deleted files are no longer filtered at discovery time, but the existing `[ -f "$f" ] || continue` guard in the copy loop (which runs after git checkout to the PR head) excludes them naturally. The only behavioral difference is that a PR touching only deleted markdown files will do one extra git fetch before nooping via the ELIGIBLE_COUNT=0 guard. Co-authored-by: Claude Opus 4.7 <[email protected]>
4 tasks done
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.
Summary
set -euo pipefailinstead of producing an empty eligible file list.Test plan
gh aw compilegh aw validateMade with Cursor