Skip to content

[CI] Fetch latest main before computing merge-base to fix stale origin/main on workspaces#390

Open
zxd1997066 wants to merge 1 commit into
vllm-project:mainfrom
zxd1997066:xiangdong/fetch
Open

[CI] Fetch latest main before computing merge-base to fix stale origin/main on workspaces#390
zxd1997066 wants to merge 1 commit into
vllm-project:mainfrom
zxd1997066:xiangdong/fetch

Conversation

@zxd1997066

Copy link
Copy Markdown

Problem

On Buildkite agents with workspace reuse, origin/main can become stale if the local git state
is not updated between builds. This causes git merge-base origin/main HEAD to compute an
incorrect merge base, leading to:

  • Incorrect file diff calculations for PR CI
  • Pipeline step selection based on wrong change set

Solution

Fetch latest main before computing merge-base, ensuring accurate diff and test selection

@wendyliu235

Copy link
Copy Markdown
Contributor

@khluu Could you please review?

@wendyliu235

Copy link
Copy Markdown
Contributor

@zxd1997066 I would like to use this PR to fix it which only impact intel-CI. Please close your PR.
#392

@zxd1997066 zxd1997066 closed this Jun 25, 2026
Signed-off-by: zengxian <xiangdong.zeng@intel.com>
@zxd1997066

Copy link
Copy Markdown
Author

Reopening, as it seems the pipeline generator v2 path still needs this change.

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.

2 participants