FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

getDiffRanges: better fallback for absent patch by cklin · Pull Request #2699 · github/codeql-action · GitHub

getDiffRanges: better fallback for absent patch - #2699

Merged
cklin merged 2 commits into
mainfrom
cklin/diff-informed-file-fallback
Jan 16, 2025
Merged

cklin merged 2 commits into
mainfrom
cklin/diff-informed-file-fallback

Conversation

cklin commented Jan 16, 2025

Copy link
Copy Markdown
Contributor

It was pointed out to me in a meeting today that we do not necessarily need to fall back to full analysis even if we cannot obtain the patch for a specific file (for example, if the diff is too large). Instead, we can continue with diff-informed analysis, using an (already supported) special diff range to cover that entire file.

This PR implements that improvement.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

cklin marked this pull request as ready for review January 16, 2025 18:08
Copilot AI review requested due to automatic review settings January 16, 2025 18:08
cklin requested a review from a team as a code owner January 16, 2025 18:08
cklin requested a review from henrymercer January 16, 2025 18:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

henrymercer previously approved these changes Jan 16, 2025

henrymercer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Makes sense 👍

Base automatically changed from cklin/diff-informed-status-report to main January 16, 2025 20:47
cklin dismissed henrymercer’s stale review January 16, 2025 20:47

The base branch was changed.

cklin merged commit 0f1559a into main Jan 16, 2025
cklin deleted the cklin/diff-informed-file-fallback branch January 16, 2025 21:46
github-actions Bot mentioned this pull request Jan 21, 2025
8 tasks
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL