Repository navigation
Conversation
This was referenced Nov 14, 2026
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.
Why
When a box gets hot while carrying a phone's stream, it has to cool down somehow, but switching off a link or the hotspot would cut the very connection the phone is streaming over. The box needs a way to shed a little load without touching what the stream depends on. This draft prepares the checks for that: resting one lightly used link and, at critical heat, pausing internet for one other Wi-Fi device.
What
How: the box looks at each link's share of the traffic and the spare room on the other links, and checks again right before changing anything. A suggestion is rechecked when tapped and again before it takes effect, so an old tap can't become permission later. The thresholds and rules are written up in
docs/HEAT-LADDER.md. Real link and device control still needs complete traffic measurements and a qualified owner, which this draft doesn't add.Sits on #76, which builds on #71.
Your call
How to verify
With mock data, open Settings → Device → Heat, switch between the default and Suggest only, and reopen to see it saved. In the live view, inject a suggestion and a confirmed pause to see "Pause one device" and "Let back on".
apps/frontend/tests/e2e/heat-settings.spec.tsdoes this at 390 and 1280 px, andapps/backend/src/tests/heat-link-box-share.test.tscovers the policy.Testing and limits
Screenshots
Mock data only. The six settings and suggestion images were retaken for the current wording. Settings are saved, while traffic control remains inactive. Live action states are injected examples.
Risks
None on real boxes yet: the actions are dormant. Once they are switched on, the risk is pausing a device someone needed; the protection rules, Suggest only and Let back on are there for that.
Checklist