ladybird/.github
sideshowbarker 61d0fca133 CI: Fix recurring Rust toolchain flake in the libjs-test262 job
Problem: The libjs-test262 job was failing — often — with “cargo is not
installed for the toolchain 1.96.0”, while building the Rust crates.

Cause: The job ran in an older CI image lacking 1.96.0 — making runtime
rustup try to auto-install 1.96.0 the first time a proxied cargo ran.
And because the build compiles multiple Rust crates in parallel, several
cargo invocations hit the missing toolchain at once — and each started a
rustup install of the same toolchain. And rustup apparently isn’t safe
against concurrent installs: Its in-place component swap shuffles files
out to a temp directory, and a crate that reads the toolchain mid-swap
sees rustc — but not cargo. Whether it corrupts depends on timing — so
the failure is intermittent, and a re-run usually “fixes” it.

Fix: Update the job to the current ladybird-ci:2026.06.02 image — which
already has 1.96.0 (with cargo) baked in — so no runtime install happens
and there’s nothing to race. As an additional guard, also install the
pinned toolchain *explicitly*, before the parallel build: so any install
happens exactly once — and serially — rather than being raced.
2026-06-07 11:32:48 +02:00
..
actions Meta: Revert to a stable rust compiler 2026-06-02 20:12:41 +02:00
ISSUE_TEMPLATE Everywhere: Update contribution guidelines 2026-06-05 10:20:15 +02:00
workflows CI: Fix recurring Rust toolchain flake in the libjs-test262 job 2026-06-07 11:32:48 +02:00
CODEOWNERS Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
dependabot.yml CI: Allow dependabot to update the Rust toolchain 2026-04-16 23:42:22 +02:00
FUNDING.yml Meta: Remove Polar from FUNDING.yml and FAQ.md 2025-07-10 10:04:33 +02:00