Repository navigation
base red: acpmux: macOS clippy dead start_logged; arithmetic ratchet back under its baseline - #28418
Conversation
…emon-memory-macos-dead-code
… add without overflow (panic ratchet) The panic ratchet's tracked arithmetic_side_effects count for acpmux grew past its baseline 1430: three adds in hub/session_pages.rs (4543835, #28161) and two in daemon/unused_exit.rs (55df640, #28353). They saturate now; no value they hold can reach usize::MAX or u64::MAX, so behavior is the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Found 2 test failures on Blacksmith runners: Failures
|
|
Review (independent review subagent, Claude Opus 5.5): SHIP at 6825a75 Scope: PR #28418, Findings
checks: (
|
…emon-memory-macos-dead-code # Conflicts: # cmux-tui/crates/acpmux/src/hub/session_pages.rs
|
Review (independent review subagent, Claude Opus 5.5): SHIP at 1f73eb4 Scope: PR #28418. The last receipt was SHIP at 6825a75. The new head 1f73eb4 is a merge of feat-cmux-next 45d6f70 into 6825a75, with one resolved conflict in FindingsNone. Checked and found fine
checks
|
|
Ready to land at 1f73eb4:
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Two acpmux lint base reds on feat-cmux-next.
1. macOS clippy:
function start_logged is never usedcargo clippy -D warningson macOS (jobfb8745cdbcf3231af7557c1d, aws-m4pro-4, at #28041's merged head) fails atcmux-tui/crates/acpmux/tests/daemon_memory.rs:82. #27991 (941b7a4) movedDaemon::startontostart_inner, sostart_loggedhas one caller left,retained_session_list_allocation_benchmark, which is#[cfg(target_os = "linux")]. Fix:start_loggedis#[cfg(target_os = "linux")]too.2. Panic ratchet: acpmux
arithmetic_side_effectsover its baseline 1430The tracked count grew from the baseline that #28169 (66c3d03) measured (warning now). From the ratchet's clippy JSON at 66c3d03 (cmux-tui-spec run 41076340459) and at a current feat head (run 41086018852), per file:
hub/session_pages.rslen() + 1,used + bytestwice)saturating_adddaemon/unused_exit.rsclients += 1,arrivals += 1)saturating_add7a5538d (#27868) removed one in
agent_host/host.rs. No value here can reachusize::MAXoru64::MAX, so behavior is the same. The baseline is not lowered here: a lower count needs the Linux measurement of this PR's own ratchet run.Evidence
5937adaa407e3121bf249dd6(aws-m4pro-2)associated function start_logged is never usedb62faf44852ef09f28767510(aws-m4pro-2)bf122b19e08a2d0c4e790703R9: no new cap, limit or timeout.
R10: no hot path changes.
Observed / Not run
prepush-gate.pypasses.Changelog
No capture: no UI change.