mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-05 05:30:09 +08:00
CI never invoked pm test; every suite is a hand-written file list. Checking all 139 test files against all workflows left 39 of them unreferenced, including tests/server.test.ts - the only test that exercises the Host allowlist and the Origin check that guard every mutating request - plus the project, session, asset-naming and native-history suites. This adds one step to the existing distribution lane, which already builds Studio, so the wrapper test can assert the real editor bundle. The six files run with --test-concurrency=1 because they spin up loopback services and native Studio children; running them in parallel produces port contention that has nothing to do with the code under test. Locally the exact command passes 23/23 in about a minute. The other unreferenced files are not added here: they need a Chromium build, FFmpeg, or a real Studio/runtime install, so they belong in a lane that provides those, and a few of them (assets-use, media-save, inline-video-preview, phase1-runtime, welcome-template) still fail in this checkout for that reason.