Files
iptvnator/tools/release
4grayandClaude Opus 5 c783d145ca fix(release): repair the screenshot capture after the catalog reorder
Two problems the poster catalog introduced in the release capture driver.

The mock server no longer starts. `capture-app-driver.ts` spawns
`tsx apps/xtream-mock-server/src/main.ts` directly, and the generator now
imports `@iptvnator/shared/marketing-fixtures`; without `--tsconfig
tsconfig.base.json` tsx does not resolve that path alias and the process exits
with `Cannot find module '@iptvnator/shared/marketing-fixtures'`. Verified both
ways: bare invocation fails, with the flag the server reports Listening. Both
mock projects' own serve targets already pass the flag — this raw spawn was the
site that got missed.

The seeded dashboard backdrops pointed at the wrong movies (Codex P2, verified).
VOD stream ids are `MARKETING_VOD_STREAM_ID_BASE + index` and the generator now
lists POSTER_SHOWCASE_MOVIES first, so 62000-62002 became Black Harbor, The
Paper Astronaut and Summer Static, while the driver still mapped those ids to
Crimson Skylark, The Voltage Guard and Midnight Mantle — release screenshots
would have shown each title under another film's backdrop. Titles updated, with
a comment recording the coupling.

Deriving the titles from the fixture list would be drift-proof, but
`tools/release` is `type:tool` with no depConstraint entry, so
`@nx/enforce-module-boundaries` forbids it depending on any library. Left as a
comment rather than loosening the boundary policy from inside this PR.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 01:18:50 +02:00
..