GRI-1761: run cargo deny without downloading the pinned toolchain #119
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!119
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/GRI-1761-deny-without-toolchain-download"
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?
Required
cargo denyhas been red on every commit since 18:44 UTC today,devtip included. Blocks #116.Cause (reproduced on this host with the action's own Dockerfile): the action's entrypoint runs
rustup show || rustup toolchain install, which installs the toolchain fromrust-toolchain.toml(1.99.0, rustc alone 109 MB) from static.rust-lang.org. The host's download speed is now 0.4–1 MB/s, and rustup fails withoperation timed outat 2m30s — exactly the CI failure time.Fix:
RUSTUP_TOOLCHAIN=1.85.0on both deny steps, so the image's own Rust is used. cargo-deny only needscargo metadata. With it,check bans licenses sourcesondevtip readsbans ok, licenses ok, sources okin the same container.Workflow file only; no Rust or front-end change.