Skip to content

Tests - #8

Closed
PolarWolf314 wants to merge 8 commits into
fix/playback-reliabilityfrom
test/playback-reliability
Closed

PolarWolf314 wants to merge 8 commits into
fix/playback-reliabilityfrom
test/playback-reliability

Conversation

@PolarWolf314

@PolarWolf314 PolarWolf314 commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

I stacked the change on #7

This is just the tests to get rid of cognitive load on reviewing

@PolarWolf314 PolarWolf314 changed the title test+ci: full test suites and checks workflow (stacked) Tests Oct 17, 2026
@PolarWolf314
PolarWolf314 marked this pull request as draft October 17, 2026 09:00
NachoToast and others added 8 commits October 17, 2026 22:03
…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
PolarWolf314 force-pushed the test/playback-reliability branch from f439e5f to c45b219 Compare October 17, 2026 10:42
@PolarWolf314
PolarWolf314 deleted the branch fix/playback-reliability October 17, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants