feat(pull-requests): read native GitHub stack membership - #30
feat(pull-requests): read native GitHub stack membership#30kalvenschraut wants to merge 1 commit into
Conversation
|
@coderabbitai full review |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe pull-request provider now reads bounded GitHub native-stack membership. The CLI also supports relationship-only listings with bounded fallback behavior and truncation reporting. ChangesGitHub native stack membership
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to This adds bounded GitHub.com native stack membership and relationship-only listing support while preserving unavailable results on failures and reporting truncation. No concrete merge-blocking risk remains. Sequence Diagram(s)sequenceDiagram
participant PullRequestProvider
participant GitHubPullRequestCli
participant GitHubCLI
PullRequestProvider->>GitHubPullRequestCli: request native dependency membership
GitHubPullRequestCli->>GitHubCLI: query exact pull request membership
GitHubCLI-->>GitHubPullRequestCli: membership response
GitHubPullRequestCli->>GitHubCLI: fetch native stack
GitHubCLI-->>GitHubPullRequestCli: validated stack data
GitHubPullRequestCli-->>PullRequestProvider: bounded membership result
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
86bab53 to
0e76b9e
Compare
|
@coderabbitai full review |
✅ Action performedFull review finished. |
0e76b9e to
e6e8344
Compare
|
@coderabbitai review Please review the latest head after the verified findings were fixed and the stack was rebased. The focused fixes passed 296 tests and targeted lint; web typechecking passed. Server typechecking matches the eight errors on the pristine Gitea parent, with no new errors. |
Rate Limit Exceeded
|
|
@coderabbitai review |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
e6e8344 to
8e9b769
Compare
|
@coderabbitai review |
|
8e9b769 to
5ae452f
Compare
|
@coderabbitai review |
|
5ae452f to
a47a1af
Compare
|
@coderabbitai review |
|
a47a1af to
3c5ee07
Compare
|
@coderabbitai review |
|
3c5ee07 to
075d78b
Compare
|
@coderabbitai review |
|
075d78b to
84c5877
Compare
|
@coderabbitai review |
|
|
@coderabbitai approve |
✅ Action performedComments resolved. Approval is disabled; enable |
84c5877 to
3a32e4b
Compare
|
@coderabbitai review |
|
@coderabbitai approve |
|
✅ Action performedComments resolved and changes approved. |
|
This dependency-stack tip is now integrated into The #29 missing-evidence gate is now cleared after Codex and Fable inspected the uploaded screenshots and verification notes. PR #37 is merged into Integration: a3ad93268, tree |
|
Published the integration corrections in stacked follow-up #36 at This clears the code integration work at the new tip. The browser/evidence gate on #29 remains pending explicit browser permission; no UI approval is claimed from these code checks. No GitHub PR was merged. |
What Changed
Add the optional GitHub native-stack reader through the existing PR provider boundary. Two bounded REST calls find exact membership and fetch ordered lightweight members, including merged roots. Failures remain unavailable rather than becoming empty membership; native order never creates branch edges.
Why
GitHub-native membership can contain historical members that ordinary open-branch discovery cannot recover. The same shared contract remains usable by Gitea and other hosts without native stacks. The preview read is limited to github.com; Gitea-native membership stays disabled.
Stack step 7/7. Builds on #29.
Validation: focused tests and scoped lint passed for the implementation and review fixes, including 56 Gitea API, 15 topology, 113 service, and 11 navigation tests after the latest changes. Contracts, client-runtime, and web typechecks passed. Server typechecking reports eight Gitea errors, all reproduced on pristine parent
85dd52877, with no new errors.A live read on this fork returned all nine members of the existing Gitea workflow stack in exactly two API calls. API reference: https://docs.github.com/en/rest/pulls/stacks.
Checklist
Models and harnesses: Codex, independently reviewed by GPT-5.6 Sol (high); design by Claude Fable 5.1 via Claude Code.
Summary by CodeRabbit
New Features
Bug Fixes