Repository navigation
cmux NEXT: the host pressure indicator ships on - #32179
Conversation
Leo asked for cmux NEXT to warn on CPU and RAM pressure; a feature he asked for ships on, not behind a Debug toggle. The critical banner stays off. Leo-ask: ask-8827679cab Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-ba845273bcb5ee4648fe
|
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)
Default changesThis pull request changes 2 defaults at
Signed off on this commit by Merge receipt: merged as Regenerate the snapshot with Shipped in:
|
…ips on Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-ba845273bcb5ee4648fe
|
Review (subagent claude-opus-5-5, comment-only delta checked by claude-sonnet-5-5): SHIP at f3fb7eb Only Follow-ups:
|
…ost Pressure Warning in the palette (#32374) * test(host-pressure): the indicator ships off and makes no service with nothing set Red on the base: #32179 made hostPressure.enabled default on, so a seen window's indicator subscribes and starts the 15 s monitor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cmux NEXT: the host pressure warning is off by default; Show / Hide Host Pressure Warning in the palette Lawrence 2026-11-02: "get rid of host-pressure warning by default, can be enabled in cmd shift p tho". Takes back #32179. - hostPressure.enabled defaults to false. With it off, no window's indicator subscribes, so HostPressureService (its monitor, the 15 s timer and the critical banner) is never made; the gauge stays hidden. - Show Host Pressure Warning / Hide Host Pressure Warning (hostPressure.showWarning / hostPressure.hideWarning; palette, DEV and NIGHTLY like the tunable store) set the same Debug toggle through DebugTunableSwitchActions (CmuxNextSettingsWindow), bound with bindEffect. Hide removes the override, as the Debug Settings row does. Every window's indicator follows the store's Observation. - English and Japanese (and the other catalog locales) in ActionCatalog.xcstrings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * DebugTunableSwitchActions: reach the tunable types through CmuxNextDesign, the package's declared dependency Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ActionCatalog.xcstrings: feat's text with the two host pressure titles added, not a reformatted copy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Leo asked for cmux NEXT itself to warn on CPU and RAM pressure:
The indicator, popover and monitor already landed (#24298, #24507, #24518), but
hostPressure.enabledshipped off as a Debug toggle. A feature Leo asked for ships on by default, so this flips that one default totrue. Release and RC never activate the tunable store, so they now read the new default and show the indicator too.hostPressure.banner) stays off.DispatchSourceTimer(2 s leeway), so 4 reads a minute while at least one window can be seen.theToggleShipsOnAndOffNeverMakesTheServicenow pins the default as on and still checks that off makes no service. The banner test sets the toggle off explicitly before it checks the off → on edge.Small change: one default, its doc comment and help text, and two test setups.
Leo-ask: ask-8827679cab
Agent session: agent session
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Ships the host pressure indicator in cmux NEXT on by default:
hostPressure.enablednow defaults totrueinstead of shipping off behind a Debug toggle, so Release and RC builds also show it.hostPressure.banner) stays off.DispatchSourceTimer(2 s leeway) that runs only while at least one window is visible; measured wakeups are below run-to-run noise.Written for commit f614485. Summary will update on new commits.