Skip to content

ci: default a file run to the PR's own image - #2773

Merged
yueming-yuan merged 1 commit into
mainfrom
yueming/file-run-default-pr-image
Aug 27, 2026
Merged

yueming-yuan merged 1 commit into
mainfrom
yueming/file-run-default-pr-image

Conversation

@yueming-yuan

Copy link
Copy Markdown
Collaborator

Problem

/rerun-test resolved its container as radixark/miles:dev whenever the PR
body carried no ci-image-tag, even on a PR that had already built
pr-<number>. On a PR that moves a dependency, the file run then fails for a
reason unrelated to the test: rerunning one test on the sglang-v0.5.18 bump
died before the test started with

Exception: sglang-kernel is installed with version 0.4.5,
which is less than the minimum required version

which surfaces on the PR as that test failing.

Fix

Prefer the PR's own pr-<number> image when that tag is published, and keep
dev for a PR whose build never ran. A PR keeps one image tag for its whole
life (see _build-pr-ci-image.yml), so that tag is the right default for its
own file runs. An explicit ci-image-tag still wins.

The inspect runs authenticated: an anonymous one can hit Docker Hub's pull rate
limit, which would read as a missing tag and silently restore the old
behaviour.

docs/ci/01-label.md is updated to match.

/rerun-test resolved its container as radixark/miles:dev whenever the PR body
carried no ci-image-tag, so a file run on a PR that had built pr-<number> ran
against the released image instead. On a PR that moves a dependency the run
then fails for a reason that has nothing to do with the test: rerunning one
sglang-bump test this way died on 'sglang-kernel is installed with version
0.4.5, which is less than the minimum required version' before the test
started, which reads as a test failure on the PR.

A PR keeps one image tag for its whole life (see _build-pr-ci-image.yml), so
prefer pr-<number> when that tag is published and keep dev for a PR whose build
never ran. An explicit ci-image-tag still wins. The inspect runs authenticated
because an anonymous one can hit Docker Hub's rate limit, which would look like
a missing tag and silently restore the old behaviour.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@yueming-yuan
yueming-yuan merged commit 43a49a0 into main Aug 27, 2026
12 of 17 checks passed
@yueming-yuan
yueming-yuan deleted the yueming/file-run-default-pr-image branch August 27, 2026 00:51
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