The failing test was scorecard::tests::staleness_check_and_determinism

The failing test was `scorecard::tests::staleness_check_and_determinism`. It checks that `docs/scorecard.md` matches what `cargo xtask scorecard` generates. In merge batch 213 the PR added a preference field (the Sidecars choice), and main had its own changes, so the committed scorecard was out of date. The prefs audit now counts 206 settings, but the file still said 205. I ran `cargo xtask scorecard` to regenerate the file. The only change is 205 → 206 in `docs/scorecard.md`, in two places: the Workspace and UI row and the 'Settings that do nothing' line. The unread count stays at 9. I reran `cargo test -p xtask scorecard` and all 10 scorecard tests pass. `cargo fmt --check -p xtask` is clean. I did not run clippy, since no Rust source changed. I did not change any test or assertion.
This commit is contained in:
autocraft-bot[bot]
2026-12-02 13:00:47 +00:00
parent ac131957ec
commit 7bb0c961a9
+2 -2
View File
@@ -9,7 +9,7 @@ Generated by `cargo xtask scorecard` from `perf/budgets.toml`, `perf/baseline.js
| [Performance](#performance) | 3 | 22 | 59 | 93 scenarios: 3 within budget, 22 over budget or failing, 9 tracked only, 55 not run, 4 not measurable yet (baseline 2026-10-05) |
| [File compatibility](#file-compatibility) | 11 | 14 | 2 | io corpus: oracle ≥ 148/170, round trip ≥ 169/170; psd-tools corpus: oracle ≥ 249/309, round trip ≥ 308/309; photoshop oracles: oracle ≥ 190/258, round trip ≥ 258/258 |
| [Tools](#tools) | 36 | 9 | 0 | |
| [Workspace and UI](#workspace-and-ui) | 15 | 6 | 2 | settings that do nothing: 9 of 205 (target 0) |
| [Workspace and UI](#workspace-and-ui) | 15 | 6 | 2 | settings that do nothing: 9 of 206 (target 0) |
| [Type](#type) | 6 | 6 | 0 | |
| [Automation](#automation) | 6 | 4 | 2 | 663 of 663 menu items live (100.0%) |
| [Reliability](#reliability) | 5 | 2 | 0 | never-crash lints on 28 of 28 crates; panic_hunt present |
@@ -217,7 +217,7 @@ Corpus floors (`crates/io/tests/it/corpus.rs`): the enforced minimums; the corpu
## Workspace and UI
**Settings that do nothing: 9 of 205** (target 0, #204). Counted by the prefs audit (`xtask/src/scorecard.rs`): a `Preferences` field counts as read when code outside the prefs model (`prefs.rs` except its `impl Session` blocks; tests excluded; the schema-driven dialog never names a field) accesses `section.field`, or `.section` and `.field` in the same file, or calls a section method that reads `self.field`. It is a heuristic lower bound: a generic name can look read when it isn't.
**Settings that do nothing: 9 of 206** (target 0, #204). Counted by the prefs audit (`xtask/src/scorecard.rs`): a `Preferences` field counts as read when code outside the prefs model (`prefs.rs` except its `impl Session` blocks; tests excluded; the schema-driven dialog never names a field) accesses `section.field`, or `.section` and `.field` in the same file, or calls a section method that reads `self.field`. It is a heuristic lower bound: a generic name can look read when it isn't.
Unread: `general.color_picker`, `workspace.auto_show_hidden_panels`, `workspace.enable_floating_document_window_docking`, `workspace.enable_narrow_options_bar`, `performance.legacy_compositing`, `plug_ins.show_extension_panels`, `plug_ins.allow_scripts_to_connect`, `type_.text_engine`, `enhanced_controls.scrubby_slider_acceleration`.