You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
verify_wasm_assets.py is not wired into CI and will rot #4026
ci/tests/verify_wasm_assets.py is the only thing that proves the WASM asset pipeline works end to end -- it runs the built page in headless Chromium and asserts the bytes arrive complete before setup(). Nothing runs it.
$ grep -rn "verify_wasm_assets" .github/ ci/ --include=*.yml --include=*.py
(no hits outside the file itself)
An unrun test is worse than no test: it reads as coverage while decaying. The feature it guards -- assets reaching fl::getEmbeddedFs() at LittleFS parity -- has already broken once in this session (a 250ms race let setup() start against an empty file) and was caught only because the check was being written at that moment.
Fix
Run it in CI after the WASM build.
Decide how to handle its dependencies: it needs Playwright plus a Chromium download (~91MB), which is why it is not simply added to bash test.
Make it fail loudly if the built output is missing, rather than skipping.
Research: whether the existing WASM CI job can host it, or whether it belongs in a separate scheduled job given the browser download. Also whether the assertion set should grow to cover sha256 verification (#4025) once that exists.
Activity
fix(ci): verify WASM assets before setup
fix(ci): verify WASM assets before setup
fix(ci): verify WASM assets before setup
fix(ci): verify WASM assets before setup (FastLED#4092)