GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Improve Git subgraph fetching for diff-informed queries by cklin · Pull Request #2638 · github/codeql-action

Conversation

@cklin

@cklin cklin commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

This PR improves how the action fetches the relevant Git subgraph used for computing the merge base with the base branch.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cklin added 5 commits December 9, 2024 10:46
@cklin
Introduce withGroupAsync()
70aac4e
@cklin
deepenGitHistory: specify HEAD
dd4aa40
This commit makes deepenGitHistory pass "origin HEAD" to Git fetch,
which prevents Git from fetching all branches that are present in the
remote repository.
@cklin
deepenGitHistory: do not fetch submodules
3e10d34
@cklin
getPullRequestEditedDiffRanges: work around fatal error
57a2859
This commits adds a "git repack" step to getPullRequestEditedDiffRanges
to work around a Git bug concerning tracking of grafted commits.
@cklin
build: refresh js files
f9b0c1f
@cklin
cklin marked this pull request as ready for review December 9, 2024 19:02
@cklin
cklin requested a review from a team as a code owner December 9, 2024 19:02
henrymercer
henrymercer approved these changes Dec 10, 2024
View reviewed changes

@henrymercer henrymercer left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This all looks sensible to me, assuming you've done the necessary manual testing. I'd like to see us add a PR check so we can validate this behaviour end to end, but that can be future work.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cklin
cklin merged commit dfed55c into main Dec 10, 2024
@cklin
cklin deleted the cklin/diff-informed-graph-fetching-tweak branch December 10, 2024 16:42
This was referenced Dec 12, 2024
Merge main into releases/v3 #2645
Merged
Merge releases/v3 into releases/v2 #2647
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@henrymercer henrymercer henrymercer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@cklin @henrymercer
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.