mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-07 03:15:56 +00:00
install-lint provisioned chrome-headless-shell with `npx --yes puppeteer browsers install`, which runs the latest puppeteer from the registry. mmdc runs with the puppeteer npm installed next to it as a peer dependency when mmdc itself was installed, and looks for exactly the revision that puppeteer-core pins. Once puppeteer 25.14.0 was out, npx installed 155.0.8059.79 while mmdc with puppeteer-core 25.13.0 wanted 155.0.8059.39, and lint-mermaid failed on every file. Because browser_installed() accepted any chrome-headless-shell, a stack with the wrong revision never repaired itself. The browser is now installed through the puppeteer CLI next to mmdc, which installs its puppeteer-core's revision, and only that revision, read from puppeteer-core's revisions.js, counts as installed. Closes #957 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>