Skip to content

CI-RUST195: keep strict Clippy clean on Rust 1.95 - #1835

Merged
echelon merged 1 commit into
storytold:mainfrom
Myrarc:fix/rust-195-ci
Oct 15, 2026
Merged

echelon merged 1 commit into
storytold:mainfrom
Myrarc:fix/rust-195-ci

Conversation

@Myrarc

@Myrarc Myrarc commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Rust 1.95's Clippy rejects existing nested match conditions and Boolean expressions, so cargo xtask ci stops at strict linting. Move those conditions into match guards and simplify the equivalent Boolean expressions without changing accepted inputs, validation, or short-circuit evaluation.

Keep the explicit permitted Testkit development-dependency arm so it cannot fall through to the ordinary layer rule. No lint allowances, dependency changes, or quality-gate changes are included.

Validation: cargo xtask ci passed all eight gates on macOS arm64 with Rust 1.95.0: fmt, strict workspace Clippy, HEIF lint/tests, workspace tests, parity, layers, assets, and WASM checks for all 28 packages. The workspace test harness reports 3,324 passed, 0 failed, 29 ignored, including 866 engine tests, 842 UI tests, and unregistered_and_testkit_rules.

Existing ignores cover real-model downloads, benchmarks/probes, and helper processes. Optional corpus files were not downloaded, so corpus-backed tests skip their file checks. The WASM gate passes with existing target-specific unused/dead-code warnings in untouched files. Windows/Linux and browser runtime testing were not performed locally.

Move nested conditions into match guards and simplify equivalent Boolean
expressions without changing validation or short-circuit behavior. Keep
the explicit permitted Testkit dev-dependency arm in the layer checker.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@echelon

echelon commented Oct 15, 2026

Copy link
Copy Markdown
Member

Thank you @Myrarc! This landed on main in integration batch 36 (#1843).

If you haven't already, please join our Discord: https://discord.gg/artcraft. We'd love to have you there.

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