fix: keep Smart mode responsive on newer Apple Silicon - #37
Open
aarmed wants to merge 2 commits into
Open
Conversation
aarmed
force-pushed
the
fix/smart-mode-m4-responsiveness
branch
from
August 15, 2026 11:00
b87fec9 to
cf66298
Compare
aarmed
force-pushed
the
fix/smart-mode-m4-responsiveness
branch
from
August 15, 2026 11:06
cf66298 to
2fdd0c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes
On newer Apple Silicon machines, legacy
Tp0*temperature aliases can return placeholder values and the 100ms full-status poll can generate excessive SMC traffic. The app also performed blocking daemon socket reads on the menu-bar actor, which could make the UI appear frozen or make a menu-bar utility such as Bartender look like it intercepted the click.This patch:
TC*CPU sensors and falls back to the legacy family only when needed;.windowpresentation for the rich menu-bar panel;Verification
swift build -c release --product ThermalForgeApppasses on the affected M4 Pro host (only CommandLineTools search-path linker warnings remain).git diff --checkpasses.samplecaptures showed the main thread in AppKit event handling rather thanDaemonClient.sendRaw/read.swift testbuilds the test bundle but cannot execute in the local CommandLineTools-only environment becauseTesting.frameworkis absent. Full Xcode/CI is still required for the Swift Testing suite.This is intentionally a source-level fix; no daemon install or system-wide replacement is included in the PR.