Skip to content

fix: review follow-ups for config safety, fan fail-safety, and CLI polish - #27

Open
harryisfish wants to merge 1 commit into
mainfrom
fix/review-followups
Open

harryisfish wants to merge 1 commit into
mainfrom
fix/review-followups

Conversation

@harryisfish

Copy link
Copy Markdown
Contributor

Follow-up to the 0.2.4 review. Config is written 0600, symlinks are followed, and only daemon-owned keys are patched in place so comments/unknown keys/alert and curve tables survive. Fan startup reconciliation fails safe on unreadable state, per-fan auto under a curve is rejected, and failed manual operations back off instead of re-entering the FTST loop every tick. Adds version-skew advice that does not downgrade a newer daemon, display filtering/scaling, daemon reload/capabilities, a refreshed man page, and tests.

…lity

Config: 0600 permissions, follow symlinks, patch only daemon-owned keys so comments/unknown keys/alert and curve tables survive (with TOML escaping), reject unloadable output, drop dead magsafe_led, dedupe duplicate alert rule names.

Fans: fail-safe startup reconciliation for unreadable state, skip the mode write when already manual, and back off failed manual operations instead of re-entering the FTST retry loop every tick. Implement SIGKILL escalation for alert exec timeouts and dedupe repeated daemon errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant