From b272a350b65cc4a06733a42084c69f7254a64b03 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Dec 2026 06:21:37 +0000 Subject: [PATCH] ci: pin dtolnay/rust-toolchain by commit SHA instead of the moving v1 tag Since 2026-11-26 the CI and E2E workflows have ended in startup_failure on every pull request (#194, #195, #197, #198), whatever the PR changes, so the required CI/gate check never reports. main last ran CI on 2026-11-21, when it passed. The two failing workflows are the only two that use dtolnay/rust-toolchain@v1: e2e.yml directly, and ci.yml through dashboard-check.yml. v1 is a moving tag. git ls-remote shows it at 683b588c, while actions.lock resolved v1 to 02cb101e. The other tag refs these workflows use (actions/checkout@v7.0.1, swatinem/rust-cache@v2.9.3) still match their lock entries. This is a likely cause, not a proven one: the run API gives no startup_failure reason, and both commits still exist upstream. This PR's own CI run is the test. If CI and E2E start here, the cause is confirmed. Changes: - e2e.yml (4 steps) and dashboard-check.yml (1 step) use dtolnay/rust-toolchain@683b588c... # v1, so a moved tag cannot change what runs. - actions.lock: both workflows' entries name the SHA ref. The now-unused 'dtolnay/rust-toolchain@v1' dependency entry is removed. The SHA entry was already in the lock, because the standards reusable uses it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDiMgLS4FnZApYxUk1b --- .github/workflows/actions.lock | 9 ++------- .github/workflows/dashboard-check.yml | 2 +- .github/workflows/e2e.yml | 8 ++++---- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index a111af5..03aeceb 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -16,7 +16,7 @@ workflows: - 'actions/checkout@v7.0.1' '.github/workflows/dashboard-check.yml': - 'actions/checkout@v7.0.1' - - 'dtolnay/rust-toolchain@v1' + - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' '.github/workflows/dependabot-automerge.yml': - 'dependabot/fetch-metadata@v3.1.0' '.github/workflows/dogfood-gate.yml': @@ -25,7 +25,7 @@ workflows: - 'hyperpolymath/k9-ecosystem@main' '.github/workflows/e2e.yml': - 'actions/checkout@v7.0.1' - - 'dtolnay/rust-toolchain@v1' + - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' - 'swatinem/rust-cache@v2.9.3' '.github/workflows/idris-abi.yml': - 'actions/checkout@v7.0.1' @@ -104,11 +104,6 @@ dependencies: commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8' owner_id: 1940490 repo_id: 260749683 - 'dtolnay/rust-toolchain@v1': - ref: 'v1' - commit: 'sha1-02cb101ec7c40f2c49e1d9714d64511d8e1b74de' - owner_id: 1940490 - repo_id: 260749683 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393': ref: 'v3.0.0' commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' diff --git a/.github/workflows/dashboard-check.yml b/.github/workflows/dashboard-check.yml index f7f57bb..144da4c 100644 --- a/.github/workflows/dashboard-check.yml +++ b/.github/workflows/dashboard-check.yml @@ -79,7 +79,7 @@ jobs: test "$(agda --version)" = 'Agda version 2.6.4.3' idris2 --version - - uses: dtolnay/rust-toolchain@v1 + - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1 with: toolchain: stable diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7449d29..da75a79 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 15 steps: - uses: actions/checkout@v7.0.1 - - uses: dtolnay/rust-toolchain@v1 + - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1 with: toolchain: stable components: clippy, rustfmt @@ -39,7 +39,7 @@ jobs: timeout-minutes: 15 steps: - uses: actions/checkout@v7.0.1 - - uses: dtolnay/rust-toolchain@v1 + - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1 with: toolchain: stable - uses: Swatinem/rust-cache@v2.9.3 @@ -52,7 +52,7 @@ jobs: timeout-minutes: 15 steps: - uses: actions/checkout@v7.0.1 - - uses: dtolnay/rust-toolchain@v1 + - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1 with: toolchain: stable - uses: Swatinem/rust-cache@v2.9.3 @@ -93,7 +93,7 @@ jobs: if: github.event_name == 'push' steps: - uses: actions/checkout@v7.0.1 - - uses: dtolnay/rust-toolchain@v1 + - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1 with: toolchain: stable - name: Install panic-attack