Repository navigation
Conversation
pjeweb
force-pushed
the
osb/pr/lte-5g-first-slice
branch
from
November 14, 2026 10:07
0cdbd43 to
4626000
Compare
2 of 5 tasks
pjeweb
force-pushed
the
osb/pr/lte-5g-first-slice
branch
from
November 14, 2026 12:46
d8c7ebc to
0c703ce
Compare
pjeweb
changed the base branch from
osb/integration
to
osb/pr/frontend-bundle-boundaries
November 14, 2026 12:46
pjeweb
added a commit
that referenced
this pull request
Nov 15, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 16, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 19, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 21, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 22, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 23, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
The test wrote 300 evaluator records, each a durable write with a file and a directory fsync. On a SATA SSD those ~600 fsyncs took 5 to 12 s, alone or in the full suite, at any head, so the test timed out on disk speed rather than on the rule it checks. Overflowing the per-source cap by ten records proves the same rule, and the test now also checks that the oldest evaluator records were the ones evicted. The remaining ~126 fsyncs still took 3.6 s there while other writers shared the disk, so this test gets its own 20 s timeout.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
pjeweb
added a commit
that referenced
this pull request
Nov 25, 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
On some networks a modem uploads more cleanly on LTE than on 5G, and a streamer may want to keep that modem on LTE. Today there's no simple choice for that, and nothing remembers it for the modem. Before the box ever tries changing modes by itself, it should also first just record when it would have tried. There is no automatic mode switching of any kind in this PR.
What
How: the choice goes through the existing ModemManager preference path (the system service that controls modems), with its checks, a journal of the previous state and a readback, and only one mode write runs at a time. The saved choice is keyed by a keyed hash of the modem's equipment identifier under a device-local key, so the IMEI is never stored.
docs/MODE-CHOICE.mdhas the rules and a checklist for the first run on a device. All new strings are in ten languages.Sits on #95; land that first.
Screenshots
Before and after at phone and desktop widths
Mock data at the PR base and an earlier head. These images illustrate the mode controls; they do not verify reconnection time.
Your call
How to verify
With mock data, open a modem's settings, pick LTE only and confirm: the dialog warns about the drop, and the choice shows as saved. Change the mock's live mode and the dialog shows the mismatch with "Use … again".
apps/backend/src/tests/mode-choice*.test.tsandModemConfigDialog.radioSelectors.test.tscover the rules.Testing and limits
Risks
A mode change drops that modem's connection for a while, which is why it's refused while streaming and always confirmed.
Checklist