Repository navigation
Conversation
Settings › CommaView installs, updates and removes the CommaView runtime and pairs a phone, tablet or car head unit with this comma from its own screen. Nothing is downloaded or run until someone taps Install.
RhynoTech
force-pushed
the
commaview-settings
branch
from
November 28, 2026 18:20
38e2972 to
ff6c169
Compare
Process replay diff reportReplays driving segments through this PR and compares the behavior to master. ✅ 0 changed, 80 passed, 0 errors |
This branch has not been deployed
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.
A CommaView entry in Settings. It installs, updates and removes the CommaView runtime, and pairs a phone, tablet or car head unit with this comma, from the comma's own screen. Nothing CommaView-related is downloaded, installed or run until someone taps Install.
This replaces #1, which was made against
staging.What it adds
layouts/settings/commaview.py) and the comma four (mici/layouts/commaview.py):commaview_pairing_dialog.py, both comma models): a one-time code from the runtime, as a QR code and as text with the comma's address. Each code works once, for ten minutes, on the same Wi-Fi. The QR code is dark on light, which every phone scanner reads.sunnypilot/commaview/integration.py: what the panels call. Every call returns at once; the work runs in threads.install.shfor a first install, the installed one for an update,uninstall.shto remove.icons/link.pngin the comma 3X's settings andicons_mici/settings/device/phone.pngon the comma four. sunnypilot keeps images in LFS on Hugging Face, which we can't upload to, and an image missing there fails every CI job at setup. CommaView's logo is here (sha25643056f04e3e48060f8570e318a6f1d0989e65ed00607ee632d903e3954025ec6), for a maintainer to add withgit lfs pushif you'd like it.Behaviour worth reviewing
SCHED_FIFO) on one core, and processes it starts inherit that. The installer and pairing helper are started as ordinary processes on every core, at nice 10 (_as_background). Without that, an install stuttered the UI (frames up to ~480 ms with the rest of the comma idle).User-Agentof its own, and the runtime's local API on127.0.0.1:5002./data/commaview-integration/<install|update|uninstall>.log, each line with the seconds since the job started.Tests
sunnypilot/commaview/tests/test_integration.py, 30 tests, cover:User-Agent;ruffwith the repository's config passes. Tested on a comma four: install, pair by QR code, update check and remove.CI
Static analysis, unit tests and docs pass. Process replay fails for a reason that comes from upstream, not this change. Every process's output matches the reference except one sanity check:
plannerd'sjerk_rmson routeregenB328FF8BA0A|2025-04-08--22-57-45--0is 0.15746, over its 0.15 limit (check_jerk_rms, added in openpilot #39286, Nov 12). This PR doesn't touchplannerd. sunnypilotmasterfails the same step: its latest run (#4772, 55b3192) shows exit code 1 on process replay. The workflow lets that step fail onmasteronly (continue-on-error: ${{ github.ref == 'refs/heads/master' }}), so it shows red only on pull requests.Generated by Claude Code