ci: generate large AI review diffs locally - #6493
Merged
Merged
Conversation
Coly010
approved these changes
Sep 7, 2026
avallete
marked this pull request as ready for review
September 7, 2026 12:10
avallete
enabled auto-merge
September 7, 2026 12:10
Contributor
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@3121f87e87c261a9f67b4bf794a4912d874c4665Preview package for commit |
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
Generate AI-review diffs locally from trusted, full-history Git checkouts instead of GitHub’s size-capped PR diff endpoint. A shared helper now serves the Claude, Codex, and adjudication stages while preserving triple-dot merge-base semantics.
Add regression coverage for diffs beyond 20,000 lines and for diverged base/head histories.
Why
AI Review run 34116168817 failed before either reviewer started because GitHub returned HTTP 406 once PR #6487 exceeded the endpoint’s 20,000-line limit.