diff --git a/.github/workflows/e2e-label-help.yml b/.github/workflows/e2e-label-help.yml index 517bd9b308..2a61660d2a 100644 --- a/.github/workflows/e2e-label-help.yml +++ b/.github/workflows/e2e-label-help.yml @@ -23,6 +23,8 @@ jobs: runs-on: ubuntu-latest permissions: pull-requests: write + actions: read + contents: read steps: - name: Post comment env: @@ -54,11 +56,12 @@ jobs: run_id=$(gh api "repos/$GH_REPO/actions/workflows/$workflow_file/runs?head_sha=$PR_HEAD_SHA&event=push" \ --jq '.workflow_runs | sort_by(.created_at) | reverse | .[0].id // empty') if [ -n "$run_id" ]; then - run_link="[the existing run](https://github.com/$GH_REPO/actions/runs/$run_id)" + instructions="Open [the existing run](https://github.com/$GH_REPO/actions/runs/$run_id) and click **Re-run all jobs** to execute with the label set." else - run_link="[$workflow_name](https://github.com/$GH_REPO/actions/workflows/$workflow_file)" + workflow_link="[$workflow_name](https://github.com/$GH_REPO/actions/workflows/$workflow_file)" + instructions="Open $workflow_link, find the run for commit \`$short_pr\`, and click **Re-run all jobs** to execute with the label set." fi - body="Label \`$LABEL_NAME\` applied for \`$short_pr\`. Open $run_link and click **Re-run all jobs** to execute with the label set. The \`E2E Gate\` check on this PR will flip green automatically once the run finishes." + body="Label \`$LABEL_NAME\` applied for \`$short_pr\`. $instructions The \`E2E Gate\` check on this PR will flip green automatically once the run finishes." fi gh pr comment "$PR_NUMBER" --body "$body" diff --git a/CI.md b/CI.md index d39ecdb453..dc5ecf9fa8 100644 --- a/CI.md +++ b/CI.md @@ -63,7 +63,7 @@ Prerequisites: Flow: 1. Open the PR. copy-pr-bot mirrors it to `pull-request/` automatically. -2. The first push of `pull-request/` runs `Branch E2E Checks`, but it skips the build/E2E jobs because no label is set yet. The PR's `E2E Gate` check stays neutral (no label, no requirement). +2. The first push of `pull-request/` runs `Branch E2E Checks`, but it skips the build/E2E jobs because no label is set yet. The PR's `E2E Gate` check passes as a no-op (no label, no requirement). 3. A maintainer applies `test:e2e` and/or `test:e2e-gpu`. `E2E Label Help` posts a comment with a link to the existing `Branch E2E Checks` run. 4. The maintainer opens that link and clicks **Re-run all jobs**. This time `pr_metadata` sees the label and the build/E2E jobs run. 5. When the run finishes, the `E2E Gate` check on the PR flips to green automatically. diff --git a/architecture/ci-e2e.md b/architecture/ci-e2e.md index 3b43324636..c99e816c3e 100644 --- a/architecture/ci-e2e.md +++ b/architecture/ci-e2e.md @@ -150,7 +150,7 @@ Every workflow declares `permissions: {}` at the top. Per-job grants are the min | `e2e-gate.yml` | `e2e`, `gpu` (`workflow_call`) | inherits via the called workflow | | | `rerun-on-completion` | `actions: write` | | `e2e-gate-check.yml` | `check` | `contents: read`, `pull-requests: read`, `actions: read` | -| `e2e-label-help.yml` | `hint` | `pull-requests: write` | +| `e2e-label-help.yml` | `hint` | `pull-requests: write`, `actions: read`, `contents: read` | The reusable worker workflows (`e2e-test.yml`, `e2e-gpu-test.yaml`, `docker-build.yml`) declare their own internal permissions; the calling job grants are an upper bound for them. diff --git a/deploy/docker/Dockerfile.ci b/deploy/docker/Dockerfile.ci index a38f5acd5d..3c669a96f7 100644 --- a/deploy/docker/Dockerfile.ci +++ b/deploy/docker/Dockerfile.ci @@ -66,7 +66,7 @@ RUN case "$TARGETARCH" in \ | tar xz --strip-components=2 -C /usr/local/bin "gh_${GH_VERSION}_linux_${gh_arch}/bin/gh" # Install mise (NOTE: keep this version in sync with mise.toml) -ARG MISE_VERSION=v2026.4.20 +ARG MISE_VERSION=v2026.4.25 RUN curl https://mise.run | MISE_VERSION=$MISE_VERSION sh # Copy mise.toml and task includes, then install all tools via mise diff --git a/mise.lock b/mise.lock index fdbc129b6c..d5d110bccb 100644 --- a/mise.lock +++ b/mise.lock @@ -1,4 +1,4 @@ -# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html +# @generated - this file is auto-generated by `mise lock` https://mise.en.dev/dev-tools/mise-lock.html [[tools."cargo:cargo-zigbuild"]] version = "0.22.3" diff --git a/mise.toml b/mise.toml index bb1a8dd1e4..236cca4f8f 100644 --- a/mise.toml +++ b/mise.toml @@ -7,7 +7,7 @@ # Tasks are defined in tasks/*.toml — run `mise tasks` to list them all. # NOTE: keep this version in sync with what CI uses in Dockerfile.ci -min_version = { soft = "2026.4.20" } +min_version = { soft = "2026.4.25" } redactions = ["*_TOKEN", "*_PASSWORD"]