UMBRA-15: Fix never-passing Check workflow (drop rustup + rust-cache steps) #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/check-workflow-runner-steps-UMBRA-15"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
UMBRA-15: Check workflow fails in 4s on every run; align check.yml with working repos
The Check workflow has never passed once since it was added: all 60+ runs fail in 4-8 seconds, on main and every PR, including commits that pass
just checklocally. The build-binary workflows succeed on the sameRUNS_ON_OPENSUSE_BASE_LATESTrunner at the same timestamps, and the Check workflows inpandoras-box/monkeyandpandoras-box/explorer-bookmarkspass on the same infra (green runs 2026-06-06/07).Diagnosis
Diffing umbra's
check.ymlagainst monkey's passing one shows umbra alone adds two steps: anInstall Rust toolchainstep (rustup component add clippy rustfmt) and aCache Rust buildstep using the github.com-hostedSwatinem/rust-cache@v2action.uses:actions are resolved at job setup, so an unfetchable github.com action kills the job within seconds, which matches the observed 4s duration. Forgejo 14.0.2 exposes no job-log API (filed as FJ-34), so the diagnosis rests on the never-passed history plus the cross-repo diff rather than step logs.Change
Remove both steps, bringing
check.ymlto the exact structure of the passing repos. The cargo invocations (fmt --all --check, clippy --workspace --all-targets --no-deps with --deny warnings, build --workspace --all-targets, test --workspace) are unchanged. Checkout stays oncode.forgejo.org/actions/checkout@v5.Note: governance CI.md lists both removed steps as "required ingredients" for Check workflows, but no repo with a green Check actually uses them; the doc/reality drift is recorded in UMBRA-15 and out of scope here.
Verification