Repository navigation
0.7.0 preparations: ported 0.6.x fixes, offline privacy disclosure, device-pass fixes, release note and audit - #233
Conversation
…1aeb23) Co-Authored-By: Claude Opus 5.5 <[email protected]>
….6.x c48770c) Handled playback-error events built by playback::event_body never touched the Sentry SDK scope that sdk::start (native.rs) populates for a native crash, so they carried only their own `playback` context — no `webos`, no `hardware`. Ported 0.6's fix: one shared sentry::attach_hardware_context helper, sourcing crate::webos::info()/device()/rtkmem_context() and paths::install_kind() (the same probes native.rs's crash path reads), wired into playback::event_body next to the existing attach_user call. PRIVACY.md's playback-report paragraph now names the added television model/SoC/hardware revision/webOS release and rtkmem/install fields, matching what a crash report already discloses. incident::event_body (sign-in/storage/keymanager reports) is deliberately NOT wired to the same helper in this change: it also serialises the consent-free "OneOff" one-press report (telemetry/queue.rs), which PRIVACY.md describes as identifying "only that one report — not you or this television". Adding television model/SoC/hardware-revision context to that path would make that sentence false, and event_body has no per-ConsentKind branch to add it only to the Standing variant. That's a real design decision beyond this fix's scope, left for a follow-up. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the read (port of 0.6.6 e0a9fb3) The prospective opt-in cutoff on main stored a bare byte offset, and the importer only reset it when the log was SHORTER. A replaced crash log that had grown past the old offset inherited it, so a pre-opt-in crash could be reported or a new one skipped. The log and the mark were also read with a plain std::fs::read: unbounded, following symlinks, any owner. Port 0.6.6's binding: the mark carries the (dev, ino) and FNV-1a prefix hash of the log it measured; resume_from honours the offset only for that file and prefix, reads a mismatched log from the start, and treats a missing or pre-binding mark conservatively (existing log stays local, cutoff persisted). The log is read through session::open_owned_regular (O_NOFOLLOW, owned regular file, now shared with read_owned_regular) with the 4 MiB bound; the opt-in cutoff streams the log so an oversized one cannot disable opt-in. The wire format is 0.6.6's; a mark holding only reported_bytes still loads. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Offline mode (e61baca) caches, per Plex Home profile switched to on this television, that profile's own server access token(s) and, for a PIN-protected profile, a one-way check derived from the PIN, so a switch and a PIN entry keep working with no internet; profile pictures are also cached as files for the same reason. None of this was disclosed. State it in the stored-data and lifetimes paragraphs: what is kept per profile, that it is a check derived from the PIN and never the PIN itself, and that signing out removes all of it while switching profiles keeps it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
PRIVACY.md's stored-data paragraph had a verbless fragment listing server
addresses, profile names/pictures, library choices and logs with no main
verb ("It also keeps ..." was missing). Give it a verb and rewrap.
legal.rs's condensed in-app PRIVACY copy still said only "the profile you
selected together with the profile names and pictures on your account",
which predates per-profile offline access: session.json now keeps every
switched-to profile's own server token(s) and, for a PIN-protected
profile, a one-way PIN check. Update the ON THIS TELEVISION and RETENTION
sections to match, and add an assertion that the constant mentions both
facts so the two copies cannot drift again silently.
No consent/notice revision bump: this is a local-storage disclosure, not
a change in what is reported off-device.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- release note: offline mode keeps every profile that has been USED on this television, not every profile of the account - known-issues: record the 2026-09-24 audit result — all 38 release/v0.6 commits verified against main (issue #74 via 6f3486d, the 0.6.x persistence/sign-in/consent line via #105), and the three real gaps the audit found are ported in this change (IPv6 ambiguous-address redaction, hardware context on handled playback events, crash-log mark identity binding) - player/mod.rs: the jail_error_shape doc comment described a fork-vs-main split that no longer exists on this branch; state plainly that Player.repair/webos::jail_repair is the code here - v0.7.0-forward-port-plan.md: correct the IPv6 redaction row — d1aeb23's ambiguous-address fix was missed in the earlier port and lands in this change Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ot only nightlies release.yml now passes fwcompat: true to build-package.yml, same as nightly.yml — the "known asymmetry to revisit" left by #137 was never a compatibility concern, just an unenabled input from the refactor that introduced it. ci.yml's PR-gating firmware load matrix now checks pkg/plxnative-storage the same way it already checks pkg/plxnative, since the storage helper ships in every package as of 0.7.0. ci/check-elf.sh stays scoped to pkg/plxnative: most of its sections (the Starfish interposer, the Sentry crash-report image base/build-id, ET_EXEC) assume the main binary specifically and would need real rework, not a second invocation, to apply to the LS2 helper — skipped rather than forced. Validated: tools/fwcompat.py --min-release 4.4.2 pkg/plxnative-storage passes OK on all 14 databases (4.4.2 floor); the three edited workflow files parse as YAML. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he parked route (regression from 235e519) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ch abort require_stored_session() signaled a missing `session: stored` precondition with sys.exit(), called from inside run_case() inside main()'s per-case `try/except Exception` loop. SystemExit is not an Exception, so the first stored-session case with no signed-in session on the install aborted the entire batch (a release audit got 2 of 35 server cases before the abort). Factor the probe into stored_session_reason(tv), which returns the reason string or None instead of exiting, and a pure partition_stored_sessions() helper. main() now checks once, before the per-case loop (same shape as the existing link-conditioner check), moves any case whose precondition is unmet into a skip list reported in the summary as `[SKIP] ... <- \`session: stored\` ...`, and only exits if an explicit --filter/--suite selection leaves nothing runnable, naming the reason. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…start pick now chooses (#210) Since #210, a cold play with no Plex language preference picks the file's DEFAULT audio track at start, not a hardcoded English preference. For episode_hevc_4k_hdr10_eac3 that default is row 0 (German, e-ac3), so audio_switch_native's old menupick=0,0 selected the track already active: TrackMenu::on_ok saw active_audio == sel, returned None, and the checker's "route transition: native audio idx=" line never appeared even though the native-switch path itself was fine. Repoint the case at row 1 (English, e-ac3) so the switch actually changes the active track, and update the title/covers and the two docs (tests/fixtures/README.md, tests/fixtures/make_fixtures.py) that still described the pre-#210 "English auto-picked at start" premise. Also make the no-commit case legible: scenarios.rs's menupick_arm now logs "menupick: row N already active — no commit" when pick_track_row returns None, and run.py's op_audio_native surfaces that line in its failure message instead of a bare "switch was not native". Co-Authored-By: Claude Opus 5.5 <[email protected]>
…disappears `src/app.h` opportunistically includes the gitignored src/config.local.h via __has_include, but the C object pattern rule only listed $(wildcard src/*.h) as a header prerequisite — a list computed at Makefile parse time. Deleting config.local.h simply drops it from that list; make then sees no changed prerequisite and leaves the stale .o (and whatever it baked in, e.g. a dev PMS_HOST) untouched. ci/check-elf.sh caught a private IP address linked into a local build this way. Add CONFIG_LOCAL_STAMP, a presence+hash signature of config.local.h that is rewritten only when the signature changes, and make it an explicit prerequisite of the src/%.o rule so its mtime tracks the header's appearance, change, or disappearance even though a wildcard cannot see a deleted file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fills the PENDING device-evidence placeholders in the v0.7.0 audit and note with the dev-set pass from 2026-09-24/25: pipeline, server, host/static and fps suites, the pipe_replay_after_eos regression fix, the harness drift fix in audio_switch_native, and the explicit not-run statements for the in-place stable upgrade and offline boot. The note's two compatibility lines lose their PENDING language without moving any tier. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8af159b9c3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if bytes.len() as u64 > max { | ||
| return Err(std::io::ErrorKind::InvalidData.into()); |
There was a problem hiding this comment.
Keep importing after the crash log exceeds 4 MiB
Once plxnative-crash.log grows past this limit, read_snapshot returns an error and recover_pending_at imports no log records or advances/truncates the mark. Because src/main.c:127 opens this log with O_APPEND and the log is never rotated, every subsequent boot sees the same oversized file, permanently disabling crash-log reporting for an installation that accumulates enough diagnostics. Stream/hash the already-marked prefix and bound only the unread suffix, or rotate/truncate successfully processed data, instead of rejecting the entire file.
Useful? React with 👍 / 👎.
Everything
cut-releaseneeds before the 0.7.0 dispatch: three 0.6.x fixes that never reached trunk, the privacy disclosure offline mode was missing, four harness/build defects the device pass surfaced, and the finished release note and audit. No version bump —release.yml -f bump=minordoes that.Ported from
release/v0.6An audit of all 38 commits on
release/v0.6that are not onmainfound every real fix present except three:::1:80was read as loopback + port and kept verbatim in reports.(dev, ino)+ prefix hash, 4 MiB,O_NOFOLLOW, owned regular file (shared withsession::open_owned_regular). A pre-port mark still loads, conservatively.Privacy
Defects found by the device pass
app.route(), which since 235e519 still reads Player at the call site (navigation is parked until the next commit).pipe_replay_after_eoshad not exercised LG checklist search: the state machine — zones, the ▼ handoff, scroll and the keyboard #46 since 2026-09-12. Now decided fromfinish_playback's Up Next handoff; passes on the TV.session: storedcase with no stored sign-in calledsys.exitand aborted the whole--serverbatch; it is now a[SKIP].audio_switch_nativepicked row 0, which since Audio: one language precedence for every pick, and the file's default outranks a built-in English #210 is the file default already active at start — a no-op. It now switches to row 1; passes on the TV.menupicklogs when a row is already active.src/config.local.happears, changes or disappears. The prerequisite was a parse-time wildcard, so deleting the header left a stalemain.owith the private server address linked into a local stable package (check-elf.shcaught it; CI builds from a clean checkout). Reproduced with a sentinel header, red then green.CI
release.ymlfwcompat: true, plusci.yml's load matrix).Release documents
docs/release-notes/v0.7.0.mdand the authored half ofdocs/release-audits/v0.7.0.md, both lint-clean. The compatibility block moves nothing.docs/known-issues.mdand the forward-port plan record the backport audit's result.Verification (final tree)
make check: 4352 / 4405 / 101 passed, 0 failed;--no-default-featurescheck clean; ARM build clean.make FLAVOR=stable RELEASE=1 ipk+ci/check-package.py: all packaging assertions passed;ci/check-elf.sh: all ELF assertions passed;tools/fwcompat.py: main binary and storage helper OK on every image 4.4.2–11.2.0.v0.6.0..: no blocker.--server32 cases, green bar a flake and the carriedsubtitle_image_pgsknown issue;--fps/--fps-playerfail only the three*-100bench scenes, whose 20 ms ceiling is still uncalibrated (same on main).🤖 Generated with Claude Code