Repository navigation
Tests - #8
Closed
PolarWolf314 wants to merge 8 commits into
Closed
Tests#8PolarWolf314 wants to merge 8 commits into
PolarWolf314 wants to merge 8 commits into
Conversation
PolarWolf314
marked this pull request as draft
October 17, 2026 09:00
…trap boundary, safe storage, settings validation, native element volume Consolidates plan Tasks 1-3 plus the saved-volume fix: UI-independent issue store with incident merging and bounded allowlisted diagnostics, last-resort runtime error handlers with a startup fallback, never-throwing preference storage, defensive settings.json validation with robust socket URL derivation, and removal of the Web Audio graph in favor of native element volume. Test tooling configuration (scripts, tsconfigs, devDeps) rides along; the suites themselves live in the stacked tests PR, so the lint/typecheck scripts here omit the tests targets (the tests PR restores them).
…ent projection clock Mirrored client/server PlaybackState contract (snapshots, commands, rejections, runtime shape guards, media identity normalization), the server-authoritative PlaybackClock with monotonic anchoring and revision counting, the client projection clock with epoch handling, validated snapshots and media identity on the wire in Cinema, and host-only media selection with safe command rejections.
…ging createApplication() factory with isolated lifecycle state (importing a domain module no longer starts a server), owned-listener room cleanup with idempotent membership and join rollback, ip refcounting across re-seat windows, disconnect/join-failure race guards, async listener containment, the TTY-aware application logger, and the client-side duplicate-approve guard.
…oalescing The playback state machine: idempotent admission media loading, projection-driven seeks with metadata gating and stale-operation invalidation, media-error coalescing and media-mismatch handling, disconnect lifecycle with trusted command emission, the slow-load bound with recovery API, mediaErrors classification, and movie.ts becoming thin wiring over the controller.
Pure MP4 output-path derivation and ffmpeg argument construction, ffprobe preflight/postflight parsing with bounded stderr tails, the data-driven H.264 level 4.1 compatibility envelope, the temp-file + verified-promotion transcode pipeline, and the batch CLI with collision pre-checks, progress display, and nonzero exit on failure.
…ort fix serve.mjs (serve-handler based production static server replacing vite preview, with correct byte ranges, real 404s, and no dotfile/ symlink exposure), the engine media-capability probe fix, the operator playback-troubleshooting guide and README updates, and the diagnostics export media-id rendering fix. Lint/typecheck scripts omit the tests targets here (serve.mjs is type-checked via tsconfig.node.json; the tests PR restores full lint coverage).
Client unit suite (12 files), HTTP contract suite against the production static server, cross-engine browser matrix (chromium/firefox/webkit) with per-test room servers and probe-based engine gating, server unit + integration suites with the browser-test bootstrap server, converter unit + real-ffmpeg integration suites, and the GitHub Actions checks workflow — including the CI fix that materializes client/settings.json from the tracked template before typecheck/build (config.ts statically imports the gitignored user-local file; tsc died with TS2307).
PolarWolf314
force-pushed
the
test/playback-reliability
branch
from
October 17, 2026 10:42
f439e5f to
c45b219
Compare
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.
I stacked the change on #7
This is just the tests to get rid of cognitive load on reviewing