github Listenarrs/Listenarr v1.10.13-canary
Canary 1.10.13

pre-release2 hours ago

> Revision 11 · Revision changelog

Speeds up the repository's real-Docker Playwright E2E job without reducing coverage or changing runner scheduling.

⚠️ Production changes: please review in depth

Almost all of this PR is CI and test tooling. Two files reach what ships, and they deserve a careful look:

  1. Root Dockerfile (the published image). The build order changes so that a source-only change reuses the slow layers (the E2E job builds this image on every new commit):
    • Build stage: the Node.js install for the frontend build moves before the csproj restore and COPY . .. Same commands, new order.
    • Final stage: the Discord bot's runtime install (docker/runtime/install-discord-bot-runtime.sh, unchanged) now runs before COPY --from=build /app/publish ., in /app/tools/discord-bot with only the bot's package.json and package-lock.json copied in. The publish COPY then adds the bot's sources next to node_modules. A new check after the publish COPY fails the build if the app no longer ships tools/discord-bot/index.js and its lockfile.
    • What to check: that the bot's dependencies installed from the build context's package files match the published bot (both come from tools/discord-bot/ of the same commit), and that nothing in the publish output is expected to overwrite or remove node_modules.
  2. fe/vite.config.ts. cacheDir is read from LISTENARR_E2E_VITE_CACHE_DIR. When it is unset (production builds, normal dev) the value is undefined and Vite keeps its default node_modules/.vite.

Image comparison (canary dc14be034 against this PR's 09a04950f, both built from the root Dockerfile): 610 MB of uncompressed layers in both (+56 kB, the extra package-files COPY and check layers), 229 MB compressed (+10 kB); /app is identical, 4290 entries with the same mode, owner and size; all six...


Automated Canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.