Skip to content

verify_wasm_assets.py is not wired into CI and will rot #4026

Closed

Description

@zackees

Defect

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

  1. added 3 commits that reference this issue on Aug 31, 2026
    fc3bdf5
    203b389
    7df7630
  2. moved this from Triage to Done in FastLED Trackeron Aug 31, 2026
  3. added a commit that references this issue on Aug 31, 2026
    0730ac3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions