Improve GitHub branch listing pagination#102
Conversation
Greptile SummaryThis PR overhauls
Confidence Score: 3/5Not ready to merge: GitHub returns a different shape from the other three adapters, integer-page access issues N sequential GraphQL calls, and Gogs performs client-side pagination over a potentially server-capped response. Multiple concrete defects across changed files: GitHub structured return breaks polymorphic callers treating the result as a flat array, N sequential calls make large integer page numbers impractical and rate-limit-prone, and Gogs single unpaginated API call means array_slice pagination can silently return wrong data. GitHub.php for sequential-call and dead-code issues, Gogs.php for missing API pagination parameters, and Adapter.php for the diverged return-type contract. Important Files Changed
Reviews (4): Last reviewed commit: "Preserve default branch listing behavior" | Re-trigger Greptile |
43e2053 to
e71e384
Compare
No description provided.