Files
mcde/lib
lotherkandClaude Sonnet 5.5 14a25a4ac2 McdeSys: the bar's status reads end after 2 s (t0080)
A hung pactl made mcde_sys_volume_get wait 40 s (pactl info, then
get-sink-volume, then get-sink-mute; measured with a fake pactl that
sleeps 20 s in a private mount namespace).  The reads the bar repeats to
show a state -- volume (pactl, mixerctl, amixer), Bluetooth (bluetoothctl,
btconfig), the Wi-Fi network (iw) -- now use mcde_sys_capture_limited with
MCDE_SYS_STATUS_SECONDS (2 s, private.h).  Pactl() keeps its answer: a
"yes" until a read fails, a "no" for 30 s, so a stopped server costs
one 2 s wait, then the mixer answers.

Measured after: pactl hangs: 2.0 s, then 0.0 s (mixer); amixer hangs:
2.0 s a call, rc=-6; bluetoothctl hangs: 2.0 s, present=1 on=0; no
shim: 0.0 s.  make mcde-linux check: 4 of 4 tests pass.  Wi-Fi scan and
join, network configuration, disks and updates keep the unlimited call:
they do real work.  AGENTS.md says so.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:06:43 +00:00
..