Repository navigation
feat: scale Copilot release research with paginated evidence - #5
Merged
Merged
Conversation
…nt findings Signed-off-by: SSmallMonster <mingming.zhou@daocloud.io>
Signed-off-by: SSmallMonster <mingming.zhou@daocloud.io>
SSmallMonster
marked this pull request as ready for review
October 26, 2026 10:27
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.
Large release ranges can exceed
maxPromptBytesbefore Copilot starts, while per-PR findings can retain behavior that later PRs already corrected. Copilot now reads frozen evidence through paginated tools, checkpoints findings by problem, and reconciles them against the complete final diff before composing notes.Validation: 76 TypeScript tests, 7 Python tests, type checking, build and CLI checks pass. Coverage includes large diffs, Unicode/long lines, deletions, unread gaps, partial PR reads, checkpoint failures, frozen large-file reads, and updating the same release PR with a new policy. A live
gpt-6.1-solpreview of the previously failing Operator range reduced the initial prompt from 277,602 to 21,454 bytes, completed all required evidence reads, and successfully resumed composition after actual compaction from 166,191 to 8,876 tokens. The generated notes combine Operator #399 and #413 and omit the superseded environment-removal breaking change.An additional live synthetic single-file test read all 419,109 characters and completed after 18 automatic compactions. It used deliberately low test thresholds (2%/4%); production remains at 80%/95%. Runtime-reported context capacity is checked because it can be smaller than the model catalog maximum. GitHub CI also passes on the latest commit.