You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
atlas-core: pre-existing clippy warnings outside c8_profile (verdict run for #12919) #13056
Surfaced by the #12919 clippy verdict run (cargo clippy -p atlas-core --all-targets, nix develop in pkgs/atlas-search, fresh CARGO_TARGET_DIR, 2026-11-23). The one finding inside the C8-M slice (c8_profile.rs, clippy::filter_next) was fixed in PR #13049. The warnings below are pre-existing, in code outside that slice, and were recorded rather than fixed there. Clippy exits 0 — these are warnings, not errors; nothing here blocks anything. Listed so they do not sit silently.
manual .is_multiple_of(): embed_cache.rs:82 (+ one more in the same area)
chunks_exact with constant chunk size: 2 occurrences
from_str confusable with the FromStr trait method: github_comments.rs:95
useless conversion to the same type: local.rs:386
single-pattern match (use if let): search.rs:389
&mut Vec instead of &mut [_]: shingles.rs:265
very complex type: trace_stats.rs:549
Tests: citation_conformance.rs (2: collapsible if :342, redundant closure :700), permission_model.rs (1: collapsible if :155), diagnostic_fixture.rs (5: ungrouped literal digits :863, enum-variant name :134, simplifiable map_or :398, manual is_multiple_of :794, collapsible if :880), placement_model.rs (2: complex type, elidable lifetimes :380/:418, needless clone), boundary_wiring.rs (1), row_detection.rs (1: clone on reference :638).
Suggested handling: one mechanical cargo clippy --fix pass over atlas-core in its own PR, reviewed per-file; the non-auto-fixable ones (complex type, from_str, &mut Vec signature) need a human look.
Pickup — xaltha lane taking this slice. Plan: mechanical clippy fixes for the recorded lib + test warnings in atlas-core (collapsible ifs, is_multiple_of, chunks_exact, if-let, &mut [_], etc.), with a human look at the non-auto-fixable ones (complex type at trace_stats.rs:549, from_str at github_comments.rs:95, &mut Vec at shingles.rs:265). Branch: xaltha/13056-atlas-clippy (pushed). Verification: cargo clippy -p atlas-core --all-targets before/after warning counts + crate tests.
All recorded warnings fixed, including the three flagged as needing a human look: CommentKind::from_str renamed to parse (the crate's existing convention; one caller), rescore_fused now takes &mut [FusedEntry], and the hot_trace_files return type factored into a HotTraceFile alias. The diagnostic_fixture variant was renamed Stage::StageError → Stage::Error with its golden transcript updated to match. No #[allow] added anywhere.
Claim — Lane PM (archer), 2026-11-23. Shepherding xaltha's PR #13097 to merge. The fix work is complete and author-verified (0 clippy warnings, 361 tests); the PR has sat open and clean-mergeable since 08:07Z with a Codex review of no findings. My slice: independently re-run the declared oracle at the PR head (af7f7ef419bc) — cargo clippy -p atlas-core --all-targets and cargo test -p atlas-core in the pkgs/atlas-search dev shell — then merge SHA-guarded if green, and confirm this issue's auto-close.
Hold — Lane PM (archer), 2026-11-23. The shepherd slice above is fully prepared, but creating the verification worktree (~/git/fleet/wt-lane-pm-13097 on the laptop, branch lane-pm-13097, at current main d220c7ba3cc) returned a result that failed a platform execution-risk check on the checkout's content — the same flag class as tonight's other holds. Per the standing rule I ran no git/build/test operations inside it afterward and left it untouched at the base SHA.
Codex review completed at that head: no findings, none unresolved. No review comments.
Author's verification on the PR: cargo clippy -p atlas-core --all-targets 37 warning sites -> 0, exit 0; cargo fmt --check clean; cargo test -p atlas-core 361 passed / 0 failed. No #[allow] added.
The PR body carries the closing reference for this issue, so a merge auto-closes it.
On Drew's item-specific go-ahead for executing in ~/git/fleet/wt-lane-pm-13097: check out the PR head there, independently re-run cargo clippy -p atlas-core --all-targets + cargo test -p atlas-core in the pkgs/atlas-search nix develop shell, merge PR #13097 SHA-guarded at af7f7ef419bc if green, confirm this issue auto-closed, remove the worktree.
Takeover claim — Lane XO (archer), 2026-11-23. Adopting Lane PM's orphaned shepherd claim on PR #13097: PM claimed at 09:19:57Z, posted a flag hold at 09:20:43Z and stopped; no activity since (well over an hour; lane ended).
Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this shepherd slice. Executing PM's prepared scope exactly: check out PR head af7f7ef419bc85de546fceeba8e4fad9dd1c52f4 in a fresh laptop worktree, independently re-run cargo clippy -p atlas-core --all-targets + cargo test -p atlas-core in the pkgs/atlas-search nix develop shell, merge PR #13097 SHA-guarded if green, confirm this issue auto-closes, remove the worktree.
Hold — Lane XO (archer), 2026-11-23. I adopted Lane PM's orphaned shepherd claim under Drew's 2026-11-23 batch approval of all outstanding flag holds and attempted the prepared scope. Creating the verification worktree (git fetch of refs/pull/13097/head + git worktree add of ~/wt-lane-xo-13097 in ~/git/code) returned a result that failed a platform execution-risk check — the same flag class as PM's hold, firing again despite the batch approval.
Two further facts make this checkout unusable: the result reported HEAD b1e5cb39df6 (a merge of PR #13330), which does not match PR #13097's head; and a fresh API re-read confirms PR #13097 is still OPEN at af7f7ef419bc85de546fceeba8e4fad9dd1c52f4, unmerged. Per the standing rule I ran no git/build/test operations inside ~/wt-lane-xo-13097 afterward and left it untouched; its reported state is unverified and it should not be used.
State of the item: unchanged from PM's record — PR #13097 open and mergeable, author-verified (clippy 37 warning sites → 0, cargo test -p atlas-core 361 passed), Codex review completed with no findings. The shepherd remainder is exactly PM's prepared scope (independent oracle re-run at af7f7ef419bc, SHA-guarded merge, confirm this issue auto-closes) for the next pass that can execute in a checkout.
Activity
developing-today commentedon Nov 23, 2026
CODE-4765
dezren39 commentedon Nov 23, 2026
Pickup — xaltha lane taking this slice. Plan: mechanical clippy fixes for the recorded lib + test warnings in atlas-core (collapsible ifs, is_multiple_of, chunks_exact, if-let, &mut [_], etc.), with a human look at the non-auto-fixable ones (complex type at trace_stats.rs:549, from_str at github_comments.rs:95, &mut Vec at shingles.rs:265). Branch: xaltha/13056-atlas-clippy (pushed). Verification: cargo clippy -p atlas-core --all-targets before/after warning counts + crate tests.
chore(atlas-core): clear the pre-existing clippy warnings recorded in #…
dezren39 commentedon Nov 23, 2026
Progress — landed as PR #13097 (#13097), which says Closes #13056.
Warning counts (
cargo clippy -p atlas-core --all-targets, rustup 1.99.0 clippy-driver locally, fresh target dir):cargo fmt --checkclean;cargo test -p atlas-core361 passed / 0 failed.All recorded warnings fixed, including the three flagged as needing a human look:
CommentKind::from_strrenamed toparse(the crate's existing convention; one caller),rescore_fusednow takes&mut [FusedEntry], and thehot_trace_filesreturn type factored into aHotTraceFilealias. The diagnostic_fixture variant was renamedStage::StageError→Stage::Errorwith its golden transcript updated to match. No#[allow]added anywhere.dezren39 commentedon Nov 23, 2026
Claim — Lane PM (archer), 2026-11-23. Shepherding xaltha's PR #13097 to merge. The fix work is complete and author-verified (0 clippy warnings, 361 tests); the PR has sat open and clean-mergeable since 08:07Z with a Codex review of no findings. My slice: independently re-run the declared oracle at the PR head (
af7f7ef419bc) —cargo clippy -p atlas-core --all-targetsandcargo test -p atlas-corein the pkgs/atlas-search dev shell — then merge SHA-guarded if green, and confirm this issue's auto-close.dezren39 commentedon Nov 23, 2026
Hold — Lane PM (archer), 2026-11-23. The shepherd slice above is fully prepared, but creating the verification worktree (
~/git/fleet/wt-lane-pm-13097on the laptop, branchlane-pm-13097, at current maind220c7ba3cc) returned a result that failed a platform execution-risk check on the checkout's content — the same flag class as tonight's other holds. Per the standing rule I ran no git/build/test operations inside it afterward and left it untouched at the base SHA.State of the item, verified fresh via gh REST:
af7f7ef419bc85de546fceeba8e4fad9dd1c52f4, mergeable clean, 21 files all insidepkgs/atlas-search/crates/atlas-core, +197/-190.cargo clippy -p atlas-core --all-targets37 warning sites -> 0, exit 0;cargo fmt --checkclean;cargo test -p atlas-core361 passed / 0 failed. No#[allow]added.On Drew's item-specific go-ahead for executing in
~/git/fleet/wt-lane-pm-13097: check out the PR head there, independently re-runcargo clippy -p atlas-core --all-targets+cargo test -p atlas-corein the pkgs/atlas-searchnix developshell, merge PR #13097 SHA-guarded ataf7f7ef419bcif green, confirm this issue auto-closed, remove the worktree.dezren39 commentedon Nov 23, 2026
Takeover claim — Lane XO (archer), 2026-11-23. Adopting Lane PM's orphaned shepherd claim on PR #13097: PM claimed at 09:19:57Z, posted a flag hold at 09:20:43Z and stopped; no activity since (well over an hour; lane ended).
Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this shepherd slice. Executing PM's prepared scope exactly: check out PR head
af7f7ef419bc85de546fceeba8e4fad9dd1c52f4in a fresh laptop worktree, independently re-runcargo clippy -p atlas-core --all-targets+cargo test -p atlas-corein the pkgs/atlas-searchnix developshell, merge PR #13097 SHA-guarded if green, confirm this issue auto-closes, remove the worktree.dezren39 commentedon Nov 23, 2026
Hold — Lane XO (archer), 2026-11-23. I adopted Lane PM's orphaned shepherd claim under Drew's 2026-11-23 batch approval of all outstanding flag holds and attempted the prepared scope. Creating the verification worktree (
git fetchofrefs/pull/13097/head+git worktree addof~/wt-lane-xo-13097in~/git/code) returned a result that failed a platform execution-risk check — the same flag class as PM's hold, firing again despite the batch approval.Two further facts make this checkout unusable: the result reported HEAD
b1e5cb39df6(a merge of PR #13330), which does not match PR #13097's head; and a fresh API re-read confirms PR #13097 is still OPEN ataf7f7ef419bc85de546fceeba8e4fad9dd1c52f4, unmerged. Per the standing rule I ran no git/build/test operations inside~/wt-lane-xo-13097afterward and left it untouched; its reported state is unverified and it should not be used.State of the item: unchanged from PM's record — PR #13097 open and mergeable, author-verified (clippy 37 warning sites → 0,
cargo test -p atlas-core361 passed), Codex review completed with no findings. The shepherd remainder is exactly PM's prepared scope (independent oracle re-run ataf7f7ef419bc, SHA-guarded merge, confirm this issue auto-closes) for the next pass that can execute in a checkout.