feat: batch issue and PR conversation collection through GraphQL #213
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 352 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.351
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #213"
general
weight: 0.35
steipete
Batched GraphQL history lets users collect complete issue and PR conversations with fewer API requests:
Hannes’ implementation collects up to 25 parents per query, exhausts nested connections, retains exact provider identities and legacy thread IDs, and persists through the existing per-thread transactions. Transient requests have bounded retries and point/timing receipts. Regular sync and Octopool routing retain their existing behavior. Files, commit bodies, checks, Actions logs and full PR revision evidence remain outside this profile.
The maintainer completeness fix adds independent
reviewThreads.commentsacquisition: GitHub permits inline comments with no review association, which a reviews-only walk omits. Both paths are fully paginated and deduplicated by provider identity while retaining review bodies and metadata. Short connection counts, partial responses, missing identities, empty continuations and nonadvancing cursors fail acquisition. Fixtures cover standalone comments, nested pagination, minimized content, deleted authors, empty approvals, discussion comments, bot normalization and exact IDs.Live acceptance used isolated temporary archives and the personal GitHub credential on 25 PRs across
openclaw/gitcrawl,openclaw/mcporter,steipete/oracleandsteipete/Aspects. REST and GraphQL matched all thread content and all 304 comment/review IDs and bodies: 94 discussion comments, 80 reviews and 130 inline comments. Aspects #13 supplied 17 real standalone inline comments with null review associations. Initial GraphQL collection took 17.356 seconds and 17 points; REST took 54.575 seconds. A GraphQL resync preserved all 25 legacy row IDs and REST github_ids. Ctrl-C during acquisition left no partial thread or comment rows. Total live budget was 35 reported points, or 51 including the canceled request’s conservative estimate.The documented provider anomaly is Copilot’s inline-comment login: REST returns
Copilot, while GraphQL returnscopilot-pull-request-reviewer, normalized tocopilot-pull-request-reviewer[bot]like review bodies. No comment counts, bodies or provider IDs differ. Raw provider objects remain available under_graphql; this profile does not invent REST-only fields or reconstruct deleted history.Validation: focused GitHub/syncer tests passed. Full
make checkpassed on AWS Crabbox (run), including 85.7% coverage, a clean vulnerability scan, docs and all six platform snapshot builds. Independent Codex autoreview passed with no actionable P0–P2 findings. This PR also finalizes 0.12.0 release notes with an empty Unreleased section.