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
Eliminate panic!/unreachable!/unimplemented! from production paths and
harden runtime behavior across the workspace.
- #396: replace panic/unreachable in production paths with Result
propagation or graceful degradation:
- executor.rs: degrade to error reply instead of panicking on send
- baseline.rs: from_u8 returns Option, state() falls back to Abandoned
- redis_lists.rs: return Err via OptionNoneSnafu instead of unreachable
- checkpoint.rs: return io::Error instead of unreachable
- encode.rs: fall back to "txt" for invalid VerbatimString format
- network.rs: log + fallback endpoint instead of panicking on bad addr
- storage_murmur3.rs: add message to unreachable
- #397: SlotIndexer::reshard_slots returns Err instead of unimplemented!
- #398: net/pipeline switches unbounded mpsc to bounded channel with
backpressure (config.command_queue_size)
- #399: optimized_handler captures client write errors and cleans up the
connection instead of silently dropping
- #400: tag ownerless TODO/FIXME with #400 tracking id
- #401: add #![allow(clippy::unwrap_used)] to raft/storage test modules,
eliminating 135 clippy errors so `cargo clippy --all-targets` passes
Also cleans up pre-existing workspace clippy warnings (complex type
alias, doc indentation, useless_vec, items_after_test_module,
field_reassign_with_default) and a missing required-features gate on
storage_stats_test, so `cargo clippy --workspace --all-targets` reaches
zero errors.
Verified: cargo check --workspace and cargo clippy --workspace
--all-targets -- -D warnings -D clippy::unwrap_used both pass with 0
errors; resp/client/kstd lib tests pass. RocksDB-dependent tests cannot
run on this Windows host (pre-existing DLL entrypoint issue), to be
confirmed in CI.
Closes#396Closes#397Closes#398Closes#399Closes#400Closes#401
0 commit comments