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
rust: deny unused_result_ok and map_err_ignore in Rust outside cli/, then in .bazelrc #13801
Rust outside cli/: deploy/private/** (release ~35, install 9, registry modules ~20), core/quality/{adapter,runner,lsp_check} (~30), tools/testing, tools/ci, apple/private/tools/ops, cc/private/tools/context, d/private/tools/coverage, dotnet/private/coverage, the */private/tools/lock resolvers, and the examples/ crates.
Leave lint fixtures under testdata/ that exist to trip a lint.
Fix
Same patterns as the cli/cli slices: write stderr through a logged helper, remove scratch paths through a helper that ignores NotFound and logs the rest, otherwise propagate or log with tracing and context.
Deny both lints per crate as each is clean. Once every crate is clean, add -Dclippy::unused_result_ok and -Dclippy::map_err_ignore as --@rules_dx//config:clippy_flag lines in .bazelrc and drop the per-crate attributes.
PR #13892 covers the lock resolvers, d/dotnet/php coverage wrappers, apple ops, cc context and lsp_check. Tested: //core/quality/lsp_check:lsp_check_test //cc/private/tools/context:cc_context_test //apple/private/tools/ops/... and the lock/coverage resolve_test targets, all passed; //dotnet/private/coverage/... builds.
Next slice: core/quality/{adapter,runner}, then tools/ci, tools/testing, deploy/private/**, examples/, then the .bazelrc flags.
Still to do: tools/ci, tools/testing, deploy/private/**, examples/, then the .bazelrc flags (that step also waits on #13800). The crates the Where list leaves out are tracked in #13981.
Activity
TrapsterDK commentedon Nov 19, 2026
Resume: branch
cloud/13801already has commit 3a291b4 (lock resolvers and coverage wrappers). Continue from it; no PR is open yet.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
rust: deny unused_result_ok and map_err_ignore in apple ops, cc conte…
TrapsterDK commentedon Nov 19, 2026
PR #13892 covers the lock resolvers, d/dotnet/php coverage wrappers, apple ops, cc context and lsp_check. Tested:
//core/quality/lsp_check:lsp_check_test //cc/private/tools/context:cc_context_test //apple/private/tools/ops/...and the lock/coverageresolve_testtargets, all passed;//dotnet/private/coverage/...builds.Next slice:
core/quality/{adapter,runner}, thentools/ci,tools/testing,deploy/private/**,examples/, then the.bazelrcflags.🤖 Generated with Claude Code
Generated by Claude Code
rust: deny unused_result_ok and map_err_ignore in lock resolvers, cov…
TrapsterDK commentedon Nov 19, 2026
PR #13987 covers
core/quality/{adapter,runner}.Still to do:
tools/ci,tools/testing,deploy/private/**,examples/, then the.bazelrcflags (that step also waits on #13800). The crates the Where list leaves out are tracked in #13981.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
rust: deny unused_result_ok and map_err_ignore in core/quality adapte…
rust: deny unused_result_ok and map_err_ignore in core/quality adapte…
rust: deny map_err_ignore and unused_result_ok in coverage, docs, sha…
TrapsterDK commentedon Nov 20, 2026
PR #14222 covers
tools/ci,tools/testing,tools/apiandexamples/.Still to do:
deploy/private/**(~60 sites).bazelrc-Dflip, which waits on rust: deny unused_result_ok and map_err_ignore in the remaining cli/* crates #13800. It must also add both lints tocore/quality/tiers/clippy/strict.txt.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
lint: keep the error in tools/ci, tools/testing, tools/api and exampl…
deploy: deny map_err_ignore and unused_result_ok in deploy crates (cl…
deploy: deny map_err_ignore and unused_result_ok in deploy crates (cl…