Skip to content

refactor(loop): extract is_delivery_verified — fixes clippy 1.96 lint break - #470

Merged
huichen merged 1 commit into
mainfrom
claude/loop-clippy-delivery-check
Sep 2, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/loop-clippy-delivery-check

Conversation

@huichen

@huichen huichen commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

#465 nested a !delivery_state(...).is_some_and(...) inside the unvalidated_deliveries filter; clippy 1.96 (local Homebrew toolchain) flags it as a simplifiable boolean → make lint-rust exited 101, which in turn made goal_95c5's close-out verify gate fail. Extracted into a named is_delivery_verified helper: same semantics, both 1.96 and 1.97 clean.

Also surfaced during the close-out audit: 8 of goal_95c5's validator receipts were backfilled after honestly re-running each --verify command (all green); the 9th (make lint-rust && make test) passed only after this fix.

…able-boolean on 1.96

#465 nested a !delivery_state(...).is_some_and(...) inside the
unvalidated_deliveries filter; clippy 1.96 (the local Homebrew toolchain)
flags it as a simplifiable boolean, which broke 'make lint-rust' (exit 101)
and thus the goal close-out verify gate. Extract the check into a named
helper (is_delivery_verified) — same semantics, readable, both toolchains
clean.

Found because goal_95c5's close-out validator ('make lint-rust && make
test') kept failing on this exact lint.
@huichen
huichen enabled auto-merge (squash) September 2, 2026 14:58
@huichen
huichen merged commit d24dcb0 into main Sep 2, 2026
12 checks passed
@huichen
huichen deleted the claude/loop-clippy-delivery-check branch September 2, 2026 15:02
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.

1 participant