Skip to content

lint-registry-items.mjs reports missing assets that the item manifest declares #7279

Description

@jrusso1020

scripts/lint-registry-items.mjs copies only <name>.html into a temporary project before linting, and ignores the files each item's manifest lists under files[].target. Items that ship assets then fail with missing_local_asset. Running it over all 449 registry items currently exits with "24 registry item(s) have lint errors", and some of those are false. For example, yt-lower-third reports assets/avatar.jpg missing even though its manifest declares it, and texture-mask-text declares 67 mask files.

Scope

  • Install every file the manifest lists at its target path before linting.
  • Optional: read hyperframes lint --json instead of matching ✗ lines in the output.

Files: scripts/lint-registry-items.mjs, a new test, root package.json

Done when: yt-lower-third and texture-mask-text lint clean, and a fixture test covers an item that ships an asset. Real findings on other items are out of scope.

Mentor: @jrusso1020. Comment here before you start so we can avoid duplicate PRs.

Activity

  1. added
    bugSomething isn't working
    difficulty/mediumBounded work requiring subsystem knowledge, related paths, or additional regression fixtures.
    triage/readyAccepted scope, current evidence, acceptance criteria, and validation path are recorded.
    help wantedReady, available work with maintainer review support; any difficulty.
    on Nov 6, 2026
  2. aditigaur27 commented on Nov 8, 2026

    @aditigaur27

    Claiming this for my CS146S class! I'll install each manifest's files[].target entries into the temp project before linting and add a fixture test for an item that ships an asset.

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

    bugSomething isn't workingdifficulty/mediumBounded work requiring subsystem knowledge, related paths, or additional regression fixtures.help wantedReady, available work with maintainer review support; any difficulty.triage/readyAccepted scope, current evidence, acceptance criteria, and validation path are recorded.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions