Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@FredApps Could you review this small baseline repair for merge? Its CI, Windows and Sonar checks are green, and current main still contains the Clippy 1.95 predicate it fixes. It is the remaining baseline prerequisite for #3964 and #4544. Both branches temporarily carry the same one-line change with its original authorship; I will remove those copies once this lands. No broader camera-profile change is requested. |
trufae
left a comment
There was a problem hiding this comment.
Reviewed the one-line predicate against current main: None, non-JSON extensions and non-regular paths retain the same behavior and short-circuit order. The documented FIFO/directory guard, ranking and loading logic are unchanged. No findings.
The identical camera_profiles.rs and original-authorship repair were exercised in the refreshed #3964 validation: all 11 camera-profile tests and all nine local gates passed (1,505 seconds; 179 capability/data skips disclosed). This is evidence for the same rebased repair, not a separate build of this PR head. The existing PR CI checks are also green.
|
Could a maintainer merge this when convenient? The one-line repair at |
|
Cc @FredApps |
|
Closing as superseded: main now contains the identical |
Summary
Fixes #4534.
Replace the negated
is_some_andfile-extension check with its equivalentis_none_orpredicate. Preserve the regular-file guard, short-circuit behavior, candidate ranking and profile matching. No lint suppression, dependency, CI, asset or face-ignore changes.This is a separate baseline repair blocking full validation of #3757.
Validation
5a24289898fd26abd1c4c127d98ba587b15f169d,cargo clippy -p lightcraft-engine --lib -- -D warningsfails atcamera_profiles.rs:215with deniedclippy::nonminimal_bool(Rust/Clippy 1.95.0).cargo xtask cipassed all nine steps: fmt, workspace Clippy with warnings denied, HEIF, tests, parity, layers, assets, roots and WASM.The diff was reviewed and is exactly one changed source line.
Summary by CodeRabbit
.jsonextension, as well as files with other extensions and non-regular files.