Repository navigation
Add Windows WSLg and Linux simulator support - #94
Merged
Merged
Conversation
GLinnik21
added a commit
that referenced
this pull request
Sep 16, 2026
Merges #92 (trailer playback from detail), #89 (sequential media GETs reuse the HTTP/1.1 demux socket), #94 (Windows WSLg/Linux simulator support), the landing-page site/ tree and other unrelated origin/main work into this branch's own commit (13316a8, "fix: scrub bare host= key/value hostnames from logs"), resolving each conflicted file by preserving both sides' intent: - rust-modules/src/player/ffi.rs, mod.rs, pump.rs, threads.rs, webos.rs, src/starfish.c, rust-modules/src/app/playback.rs: kept both branches' independent additions (resolved in earlier sessions on this branch). - rust-modules/src/player/shared.rs: kept both sides' distinct `LoadCall` enum members; git's auto-merge had silently produced a duplicate enum definition with no conflict markers, caught only by compiling. - rust-modules/src/player/engine.rs: removed a duplicate `load_in_flight_tests` module that auto-merge combined from both sides without markers. - rust-modules/src/plex/session.rs: wired `trailer_autoplay` (our side) into `CanonicalSessionPreferences`, `split_public()` and `join_canonical()` (origin/main's refactor of the same struct), which the auto-merge had left half-connected. - rust-modules/src/screens/registry.rs: recombined the `SCREEN_SHAPES_PIN` changelog (already merged cleanly as text) and bumped the pin constant to the merged tree's real hash (0xb462_145d_9477_05de -> 0x0e66_311c_e4f1_0769), documenting the bump as the union of independent changes rather than one feature. Two more fixes were required for the merged tree to pass verification at all, both confirmed to be pre-existing defects already present on origin/main's own fetched tip (227d981) rather than anything this merge produced: - ci/check-deps.sh: restored the missing closing brace on `strip_strings_and_comments()` (a bash syntax error on origin/main's tip that broke `make check`). - ci/allow/sibling-migration.txt: replaced literal, unresolved stash-conflict markers baked into origin/main's own committed content with this branch's already-clean, closed-out version (count 0, matching a dangling repair commit b58db338 that fixed the same file identically but was never merged into origin/main). One further fallout fix, found only by the fourth verification command and unrelated to origin/main (the file does not exist there at all): rust-modules/src/webos/jail_repair.rs's `expect(dead_code)` condition on `Failure::Timeout` incorrectly required `devtriggers` to be off; hostsim's `call_hbc` stub never constructs that variant outside tests regardless of `devtriggers`, so `cargo check --features hostsim` (as opposed to `cargo test`, which compiles the test module that uses it) failed. Narrowed the condition to `hostsim` + `not test`. Verification, all green: - make check: full host suite + make lint + ci/check-deps.sh + all package/dependency gates pass (exit 0). - CARGO_INCREMENTAL=0 cargo +nightly check --no-default-features: passes. - cargo +nightly check --features hostsim: passes (after the jail_repair.rs fix above). - make (ARM cross-build, FLAVOR=debug): passes, produces pkg/plxnative and pkg/plxnative-storage. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W3rkPgGB7xpjGgcPbfakaF
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.
The desktop simulator had a macOS-specific build path and no reliable Windows entry point, while WSLg could report 60 internal frames even when the Windows compositor presented only a few. This adds a Linux UI-only simulator target, a PowerShell launcher for WSLg, and compositor-aware pacing so Windows presents stay close to the simulator frame rate.
The launcher keeps Cargo artifacts and runtime state on WSL's Linux filesystem, safely handles Windows paths, supports setup/build/run/screenshot/remote commands and optional credential staging, and preserves the existing unavailable-player behavior. macOS keeps its FFmpeg-enabled simulator path;
sim-wslis a compatibility alias for the sharedsim-linuxtarget.Simulator CI now runs only when shared simulator inputs change:
Validation:
--no-default-featurescompilation gate passes