Skip to content

noImplicitAny, batch 6: the mpv helper typed without a forced reinstall (880 to 766) - #547

Merged
Nawid3333 merged 2 commits into
mainfrom
chore/no-implicit-any-glm
Oct 23, 2026
Merged

Nawid3333 merged 2 commits into
mainfrom
chore/no-implicit-any-glm

Conversation

@Nawid3333

Copy link
Copy Markdown
Owner

Two commits:

  1. 8 files typed, comments only (glm's answers, checked): BlobManager, fetch-amo-signed, AbstractAudioModule, check-patched-updates, VpnPrompt, ast-compare, VMPlayer, VolumeControls.
  2. The mpv helper's types (76 to 1 untyped places), comments only: its syntax tree is unchanged apart from HostVersion. Two lines were finished by hand: queryDecoder treats a missing wait as 0, and a pid checked with Number.isInteger is a number.

No reinstall for it. HostVersion goes to 20 and RequiredHostVersion stays 19. The add-on accepts any helper at or above the required version, so installed helpers (19) keep working, and nobody is told to reinstall for a change that alters no behaviour.

  • tests/unit/mpvHostVersion.test.mjs checked RequiredHostVersion == HostVersion. It now checks RequiredHostVersion <= HostVersion, red with 21.
  • The record carries the new hash.
  • docs/notes/mpv.md, docs/notes/type-checking.md and CLAUDE.md say when Required moves: only when the extension needs what the new helper does.

The helper is released the same way as before, under a new version number. CI's mpv specs run the real helper on Windows.

Checked locally: lint, tsc --noEmit, the ratchet (766), 2886 unit tests (83 helper tests).

🤖 Generated with Claude Code

Nawid3333 and others added 2 commits October 23, 2026 02:45
BlobManager, fetch-amo-signed, AbstractAudioModule, check-patched-updates,
VpnPrompt, ast-compare, VMPlayer, VolumeControls (glm's answers, checked).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The helper's 76 untyped places get types, comments only (glm's answers,
two lines finished by hand: queryDecoder takes no wait as 0). Its version
goes to 20 while RequiredHostVersion stays 19: a change that alters no
behaviour no longer has every installed helper reported outdated. The
version test now checks RequiredHostVersion <= HostVersion (red with 21);
docs and CLAUDE.md say when Required moves. Record: 766.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Nawid3333
Nawid3333 merged commit 31ea132 into main Oct 23, 2026
21 checks passed
@Nawid3333
Nawid3333 deleted the chore/no-implicit-any-glm branch October 23, 2026 00:57
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.

1 participant