Skip to content

fix(ci): restore rust 1.100 checks and tighten dependency scopes - #2592

Closed
Lightmarey wants to merge 4 commits into
AprilNEA:masterfrom
Lightmarey:codex/ci-stable
Closed

Lightmarey wants to merge 4 commits into
AprilNEA:masterfrom
Lightmarey:codex/ci-stable

Conversation

@Lightmarey

Copy link
Copy Markdown

Summary

Restore strict CI with Rust 1.100 while retaining the Rust 1.99 minimum. Current stable Clippy rejects existing map-and-default calls and an indexed test loop. The CLI audit also flags a new maintenance notice in the existing tarpc dependency graph.

Changes

  • Use map_or_default and iterate the original test slice, preserving its assertions and bounds checks.
  • Remove the unused workspace description field reported by Cargo 1.100 and three suppressions for an async-trait lint that Clippy 1.100 no longer emits.
  • Scope native dependencies to their platforms and TOML to core file I/O. Keep the UI’s core dependency in tests.
  • Gate existing GPUI asset-source tests on that feature. The raw embedded-asset tests also run with GPUI disabled.
  • Record a scoped exception for RUSTSEC-2026-0542. The CLI already depends on humantime through current tarpc 0.38. The advisory is an informational maintenance notice with no patched release. Revisit the exception when tarpc replaces that dependency. RustSec advisory, tarpc manifest

Testing

Linux x86_64 at fd242f90. The upstream runner passed all 11 available stable jobs. Workspace tests passed with 4,750 passing and 5 ignored. The separate Rust 1.99 MSRV check passed.

# Nix Rust 1.100.0, with RUSTFLAGS="-D warnings"
cargo xtask ci
cargo test --workspace --locked
cargo xtask lint sweep-allows --out stale-allows.json

# Nix Rust 1.99.0
cargo xtask ci msrv

The Linux lint sweep verified that every remaining suppression was exercised. The dependency audit used RustSec database commit 233155b4. Native Windows and macOS tests and macOS Clippy remain for hosted CI. The changes affect build and audit configuration. The Craft Crown, brightness and SDK changes are in follow-up branches.

Copy link
Copy Markdown
Owner

Thanks for this! #2591 has landed the Rust 1.100 part (the lint rewrites, the async-trait suppression removals, and the RUSTSEC-2026-0542 exception), so I'm closing this PR as a duplicate of that part.

The rest isn't covered by #2591: scoping native deps per platform, removing the unused workspace description, and gating the GPUI asset-source tests. If you still want those changes, please rebase them onto current master and open a separate, focused PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants