Release and delivery
IPTVnator uses a staged delivery path to turn the web client, Electron desktop app, native player support, browser service, and Android TV shell into checked artifacts. The path validates source and packaged behavior first. It then assembles draft or nightly releases and sends selected artifacts to stable release, Snap Store, Docker, GitHub Pages, or Android TV release channels.
Release model
The release model uses the application version and source revision to identify each build. GitHub Actions applies different delivery behavior to pull requests, master pushes, version tags, and manual runs. Documentation-only changes skip the desktop build matrix. Website changes still reach the Linux package path because that path checks website assets used by package metadata.
Build pipeline
The build pipeline combines the web client with the Electron backend before it creates desktop packages. The web project exposes separate production, PWA, and Electron validation profiles so the same client can serve desktop packaging, browser delivery, and end-to-end checks. Optimized profiles enforce output size limits and use the service worker only for the PWA form. The same build family runs on native macOS, Windows, and Linux runners. Linux uses separate system, portable, and Flatpak profiles so each package family receives the runtime contract for its environment.
The pipeline uses Node.js 22.23.4 or 24.22.1 and pnpm 10.33.0. It installs from the lock file without changing it. Nx coordinates application builds, checks, and affected-project work with cache inputs that include shared CI and package rules. Master builds resolve one nightly version before the platform matrix starts, so all artifacts from that run belong to the same update stream.
The Packaging, automation, and deployment page covers the package tools and workflow details below this release model.
References: .github/…/build-and-make.yaml• L3-24 .github/…/build-and-make.yaml• L52-85 .github/…/build-and-make.yaml• L384-507 .github/…/build-and-make.yaml• L1384-1420 apps/…/project.json• L13-118 package.json• L3-5 package.json• L25-41 package.json• L138
Validation gates
Validation checks source behavior and the files that users receive. Pull request checks include workflow lint, release-note policy, affected-project lint, type checks, coverage policy, translation checks, performance baseline checks, style and accessibility checks, task-graph checks, and cross-platform end-to-end tests. The end-to-end workflow skips documentation, internal planning, and website-only changes because those paths do not change the tested product. Pull request runs cancel when a newer push supersedes them. Non-pull-request runs use distinct groups so a queued master or scheduled security run is not silently replaced.
Performance validation has two related gates. The initial-byte gate measures the production web build against the baseline from the revision being compared and rejects a raised limit unless the required maintainer label allows it. Performance journeys run for changes that can affect them, while Tier A unit coverage runs when changed files can reach that suite; unknown or incomplete change scope falls back to broader validation. Master and manual runs keep the full unit suite. Performance journeys produce recorded measurements while their counter checks protect the measured journeys. Codecov also receives an OIDC-authenticated bundle analysis for the production renderer. The analysis ignores source maps and does not collect telemetry.
The end-to-end gate checks Electron on Ubuntu, macOS, and Windows through Playwright shards. It runs three Ubuntu shards, two macOS shards, and four Windows shards, then merges each operating system's results into a semantic summary. It also checks the web client in Ubuntu Chromium and runs a production PWA update-recovery check. The Electron end-to-end project exposes performance, compositing, and packaged frame-copy smoke targets; the packaged smoke path checks its fixtures before it tests the installed app. A task-graph guard checks the inferred Playwright targets in both local and CI modes. Failed shards retain reports, and a summary job rejects missing or duplicate shard results instead of presenting partial coverage as complete.
The web end-to-end project depends on the web app, web backend, and local mock servers. Its PWA update target builds the PWA before running the recovery flow. This keeps browser delivery checks tied to the same output that the Docker image uses.
The style gates protect the user-facing Material theme from retired token names that compile but have no effect. They also enforce the supported font weight scale. These checks scan tracked application and library source files, so a style change can fail before it reaches a packaged build rather than silently changing the rendered theme or font selection.
References: .github/…/ci.yml• L12-25 .github/…/ci.yml• L45-127 .github/…/ci.yml• L129-260 .github/…/ci.yml• L262-389 .github/…/ci.yml• L390-628 .github/…/e2e-tests.yaml• L26-244 apps/…/project.json• L5-35 .github/…/build-and-make.yaml• L655-735 .github/…/build-and-make.yaml• L768-931 .github/…/build-and-make.yaml• L971-1307 apps/…/project.json• L15-29 apps/…/project.json• L61-99 tools/…/check-e2e-task-graphs.mjs• L6-15 tools/…/check-material-token-overrides.mjs• L6-13 tools/…/verify-electron-package-layout.mjs• L745-860 tools/…/codecov-bundle.json• L1-10 package.json• L35-85
Performance baseline ratchet
The performance baseline ratchet keeps release checks aligned with observed production behavior. A weekly workflow measures the same master revision on three separate runners, then proposes lower limits only when every run beats the current limit.
The ratchet never raises a limit, adds an entry, or changes slack or tolerance. It keeps a baseline when a journey is missing or unstable, records the workflow run as evidence, and opens a labeled pull request only for a tightening found on master. A manual run on another branch reports its result without opening that pull request.
References: .github/…/performance-ratchet.yml• L1-37 .github/…/performance-ratchet.yml• L57-88 .github/…/performance-ratchet.yml• L90-157 .github/…/performance-ratchet.yml• L168-246 tools/…/tighten-baselines.mjs• L1-23 tools/…/tighten-baselines.mjs• L139-186 tools/…/journey-baselines.json• L1-15
Delivery targets
IPTVnator has three main delivery forms. The desktop form provides native installers and archives with platform player support. The browser form provides a PWA and a small web backend in a container. The Android TV form wraps the PWA in a TV-focused shell. Each form has a separate release path because its runtime and update needs differ.
Desktop artifact set
Electron Builder creates platform packages from the same built application while changing the outer format and architecture. The release set covers macOS DMG and ZIP files, Windows installers and archives, Linux system packages, Linux portable packages, and Flatpak bundles. Linux also creates marker-only foreign-architecture DEB packages; these identify ARM targets without claiming native x64 frame-copy support.
| Environment | Delivery forms | Runtime expectation |
|---|---|---|
| macOS | DMG and ZIP for Intel and Apple silicon | Embedded player is built for the matching architecture in release and supported validation builds |
| Windows | Setup, MSI, and ZIP for x64 | Embedded player comes from the pinned Windows runtime input |
| Linux system | DEB, RPM, and Pacman | Host packages provide the player libraries |
| Linux portable | AppImage and Snap | Package carries the portable player runtime |
| Linux sandbox | Flatpak for x64 | Player runs within Flatpak permissions and graphics limits |
The draft release gate treats this matrix as one set. It expects the platform files, updater metadata, and Linux runtime source archive together, so a partial matrix cannot look like a complete release.
References: .github/…/build-and-make.yaml• L382-414 .github/…/build-and-make.yaml• L933-969 .github/…/build-and-make.yaml• L1309-1406 tools/…/verify-draft-release.mjs• L43-112 tools/…/verify-draft-release.test.mjs• L13-43 tools/…/configure-linux-frame-copy-build.test.mjs• L43-145
Embedded player runtime
The desktop release can include an embedded MPV runtime for native playback. The build stages the runtime before the backend and packaging steps, then checks that the native module, helper, libraries, and runtime manifest remain a single usable set. Linux also creates a source compliance archive that records the pinned inputs, notices, hashes, and repository revision for the LGPL runtime.
The runtime contract changes with the package form. System packages depend on host libraries. Portable and sandboxed formats must carry or expose the required graphics and player support. Runtime probes test these limits rather than treating the presence of native files as proof that playback works.
The Packaging, automation, and deployment page covers the package-specific runtime checks.
References: .github/…/build-and-make.yaml• L86-380 .github/…/build-and-make.yaml• L468-714 .github/…/build-and-make.yaml• L1071-1307 tools/…/verify-electron-package-layout.mjs• L703-825 tools/…/configure-linux-frame-copy-build.test.mjs• L301-435 package.json• L88-97
Browser delivery
The browser delivery joins the PWA static files and the web backend in one Docker image. The backend build produces a Node 22 service bundle and keeps its native SQLite binding as a runtime package, so the image must preserve that runtime dependency. The PWA build uses the browser root path and service worker settings, while the production desktop-oriented build uses relative paths for packaged use. Nginx serves the PWA and forwards /api requests to the backend. The container becomes ready only after the backend health path responds, which keeps a running container from appearing usable before its proxy service is available.
Pull requests build a Linux amd64 image without pushing it. Master merges and version tags publish Linux amd64 and arm64 images with tags for the moving, versioned, and stable channels. A manual run publishes only when its push option is enabled and then uses commit-based tags. The workflow gives pull requests cancelable concurrency while keeping master, tag, and manual publish runs from silently replacing queued delivery work. The PWA does not provide Electron storage, local player control, embedded MPV, the download manager, or desktop remote control. See the Browser client page for the browser product boundary.
The Docker image uses the PWA and backend build outputs from their dedicated Nx targets. Multi-architecture builds create those outputs on the native BuildKit builder platform before copying them into each target image, so Angular and Nx builds do not run through CPU emulation. The image supports server storage through a persistent data volume. Its default setup serves the PWA and proxies the backend from the same container.
The image blocks private, loopback, link-local, and reserved provider targets by default. Operators can enable private-network proxying only for trusted local deployments. The entrypoint renders the proxy configuration, starts the backend, waits for its health endpoint, and then starts nginx. A failed backend or nginx process causes the container to exit so the service manager can restart it.
References: .github/…/docker.yml• L3-35 .github/…/docker.yml• L52-128 docker/Dockerfile• L1-53 docker/docker-compose.yml• L1-21 docker/README.md• L7-13 docker/README.md• L33-63 docker/README.md• L65-86 docker/README.md• L88-136 apps/…/project.json• L14-29 apps/…/project.json• L85-117 apps/…/project.json• L7-41 package.json• L27-29
Android TV shell
The Android TV shell is an experimental delivery form for Fire TV and Android TV. It uses the same PWA configuration as the Docker browser image, then places that output inside a TV shell with a local backend. Its workflow runs only for shell-related changes, parser inputs, or the workflow itself. Pull requests and master pushes produce a checked APK artifact; a manual run can also publish that APK as a GitHub release.
The shell validation joins web and native checks because the APK crosses both boundaries. It checks the shell backend and synthetic data, confirms that generated Java parser fixtures match the parser shipped by the PWA, builds the PWA, runs remote-control suites against a local mock service, checks the Android backend, and then builds a release APK. A repository release stays pre-release and is never marked Latest by default. This protects the desktop updater and website resolver, which use the meaning of the Latest release for desktop delivery.
The delivery sequence is shown below.
flowchart LR
A[Shell or parser change] --> B[Build PWA]
B --> C[Bundle PWA into TV shell]
C --> D[Remote-control checks]
D --> E[Android backend checks]
E --> F[Build release APK]
F --> G[Workflow artifact]
F --> H{Manual release requested?}
H -->|yes| I[Pre-release GitHub release]
H -->|no| J[No public release]
The APK uses a release build. A configured repository signing key produces a signed release artifact; without that key the workflow uses the shell's versioned fallback key so test builds can replace earlier test builds. The build names the artifact with its app version and source revision, which keeps test downloads traceable.
References: .github/…/build-tv-shell-apk.yml• L1-47 .github/…/build-tv-shell-apk.yml• L52-112 .github/…/build-tv-shell-apk.yml• L113-218 .github/…/build-tv-shell-apk.yml• L219-254
Publication and deployment
Publication separates artifact creation from public release. A version tag creates a draft release with the platform files and release text. A maintainer publishes that draft. The publication event then starts the Snap verification path. Master can instead publish a nightly prerelease, while the browser image, project website, and Android TV shell follow their own workflows.
Release publication
The release job downloads the platform outputs and assembles one rolling draft. Pull request and non-tag branch builds use test drafts that identify the source commit and workflow run. Tag builds use the release version and public change text. Before a rolling draft is refreshed, its old assets are removed so a version change cannot leave stale installers beside the current set.
The release note path validates .changes/ entries and renders audience-specific text. A note describes one user-visible change with a type, area, and short body. Optional screenshots and highlight text connect the same change to the website and announcement material. Runtime changes under apps/ or libs/ need a newly added, top-level .changes/*.md note unless the pull request has the no-release-note label. Website, end-to-end, mock-server, test, snapshot, testing, and documentation changes do not need one. A modified or renamed existing note does not satisfy the gate because the note must be authored by the pull request.
The note tools produce the GitHub body, the complete CHANGELOG.md record, a draft website post, and Telegram or Reddit text. Public release text omits internal notes, while the changelog keeps them in a collapsed section. The consume step removes source notes only after these outputs are ready, so note metadata remains available for screenshots and highlight cards until the release content is built.
The draft verifier waits for the tag workflow, checks its result, confirms the authored changelog section inside the combined body, and checks the complete required asset set. It is read-only. A maintainer still reviews installer smoke tests and publishes the draft manually.
References: .github/…/build-and-make.yaml• L1422-1427 .github/…/build-and-make.yaml• L1565-1766 tools/…/release-notes.mjs• L1-12 tools/…/release-notes.mjs• L19-48 tools/…/release-notes.mjs• L151-319 tools/…/check-release-note-gate.mjs• L20-72 tools/…/check-release-note-gate.mjs• L78-125 tools/…/build-release-notes.mjs• L265-369 tools/…/release-notes-render.mjs• L109-164 tools/…/release-notes-blog.mjs• L334-396 tools/…/release-announcements.mjs• L91-107 tools/…/release-announcements.mjs• L125-289 tools/…/verify-draft-release.mjs• L185-258 tools/…/verify-draft-release.mjs• L271-349 tools/…/release-note-gate.test.mjs• L26-141 package.json• L117-130
Release content and evidence
Release content uses the built application and fictional local data to show the product without exposing real playlists, credentials, streams, or artwork. The screenshot manifest defines the release and guide views in dark and light themes. The capture flow launches the built Electron app against local mock servers, stages frames outside the website tree, and publishes them only after all safety checks pass.
The capture guards cover five risks: writes to the real database, ambient environment values, external network access, unsafe frame contents, and enabled TMDB enrichment. A filtered capture merges its selected frames with the existing set. A full capture replaces the set, which removes screenshots that no longer belong to the manifest. This makes screenshots release evidence rather than best-effort marketing images.
Release notes can mark important changes with a short highlight and can point to a manifest screenshot. The content tools use those fields to make a website release scaffold, feature cards, a hero card, and announcement drafts. Artwork for the mock catalog has its own manifest and dimension check; generated files remain subject to human review before publication.
The Packaging, automation, and deployment page covers the automation boundaries around these release assets.
References: tools/…/screenshots.manifest.json• L1-18 tools/…/screenshots.manifest.json• L55-75 tools/…/screenshots.manifest.json• L159-180 tools/…/screenshot-guards.mjs• L26-83 tools/…/screenshot-guards.mjs• L293-367 tools/…/screenshot-guards.mjs• L371-457 tools/…/screenshot-guards.mjs• L463-606 tools/…/capture-release-screenshots.ts• L9-28 tools/…/capture-release-screenshots.ts• L90-147 tools/…/capture-release-screenshots.ts• L151-349 tools/…/highlight-cards.mjs• L230-323 tools/…/generate-highlight-cards.mjs• L1-15 tools/…/generate-highlight-cards.mjs• L215-356 tools/…/generate-marketing-artwork.ts• L10-43 tools/…/generate-marketing-artwork.ts• L504-668
Snap publication
The public Snap path runs only after a published stable v* release or an explicit recovery run for a supplied stable tag. It resolves the exact public release, checks out the tooling from that tag, selects every Snap and the single Linux runtime source archive, and verifies their hashes, package contents, source binding, and repository revision.
Verification and upload run on separate fresh GitHub-hosted runners. The verified files move through a sealed, read-only artifact directory with a receipt digest that is checked again after transfer. The Store credential is exposed only to the final upload step. The workflow uploads every verified Snap to the edge channel. Promotion to candidate or stable remains a manual action after installed-Snap smoke checks.
References: .github/…/publish-snap.yaml• L1-161 .github/…/publish-snap.yaml• L164-321 tools/…/publish-snap-workflow.test.mjs• L249-381 tools/…/release-snap-assets.test.mjs• L288-480 tools/…/release-snap-assets.test.mjs• L640-816 tools/…/snap-workflow-policy.test-helpers.mjs• L452-634
Nightly channel
The nightly channel gives users a separate update stream for the latest canonical master build. One nightly version is resolved at the start of the workflow and applied to every platform job before packaging. The resulting updater metadata names the nightly channel so the desktop app does not confuse a nightly build with a stable release.
The nightly version moves above the current stable version but remains below the next stable release. The release job publishes the complete desktop set as a prerelease in 4gray/iptvnator-nightly when its token is available. It records the source commit in the notes, rejects an older run when a newer nightly already exists, and retains the newest 20 releases. Without the token, the build succeeds but the nightly publication is skipped.
References: .github/…/build-and-make.yaml• L17-23 .github/…/build-and-make.yaml• L54-86 .github/…/build-and-make.yaml• L1768-1971 tools/…/nightly-version.mjs• L1-47 tools/…/nightly-version.mjs• L67-101 tools/…/nightly-version.mjs• L221-297
Update channel
The desktop app reads stable release metadata from GitHub Releases. macOS and Windows packages can install updates through Electron's updater. Linux AppImage packages support self-update. Other Linux package forms use their package manager or a manual download.
Stable notes ignore drafts and prereleases. Nightly builds use separate updater metadata and a separate release repository. This keeps experimental builds out of the stable feed while still allowing the desktop app to follow the selected channel.
References: apps/…/app-update.service.ts• L10-18 apps/…/app-update.service.ts• L128-142 apps/…/app-update.service.ts• L244-335 apps/…/app-update.service.ts• L385-517 apps/…/app-update.service.ts• L585-642 electron-builder.json• L21-26
Deployment targets
The project website deploys as an Astro site to GitHub Pages. A qualifying master push or a manual run builds the site, resolves release data for its download links, uploads dist/apps/website as a Pages artifact, and publishes that artifact to the github-pages environment.
The self-hosted PWA runs through Docker Compose or a compatible Docker platform. The sample compose file exposes the container on port 4333 while the container listens on port 80. Operators can use the bundled /api proxy or place the client and backend behind their own reverse proxy policy.
References: .github/…/deploy-website.yml• L1-62 apps/…/project.json• L7-23 docker/docker-compose.yml• L3-20 docker/README.md• L81-124
Change checklist
When these files or sections are changed, remember to consider these:
- Change Linux package profiles together with target selection, dependency metadata, runtime probes, and the split artifact upload paths.
- Change package layout rules together with the native player manifest, launcher checks, dependency closure checks, and the public Snap boundary.
- Change the Linux runtime source inputs together with the compliance archive, source binding, release asset selection, and Snap correspondence checks.
- Change Snap workflow jobs or actions together with the allowlist, sealed receipt transfer, runner separation, and credential scope policy.
- Change release asset names or updater channels together with artifact upload globs, draft release assets, nightly asset requirements, and desktop update lookup.
- Change end-to-end matrices, shard behavior, or workflow path filters together with summary completeness checks, time limits, retained reports, and performance-journey scope selection.
- Change end-to-end or performance targets together with their build dependencies, cache and parallelism rules, fixture checks, report paths, and CI selection.
- Change CI scope or baseline rules together with affected-project selection, unit-coverage fallback behavior, performance journey filters, baseline comparison revisions, initial-byte checks, Codecov bundle analysis, and the master full-run policy.
- Change Playwright configuration, spec discovery, or Nx task dependencies together with the local and CI task-graph checks and atomized target expectations.
- Change Angular Material versions or component styles together with the retired-token guard and the current Material override contract.
- Change font weight rules or font assets together with the font-scale validation command and the user-facing stylesheet sources that it scans.
- Change performance journey definitions or baseline entries together with the three-run ratchet, stability rules, evidence fields, and baseline-direction check.
- Change Nx global inputs or package validation scripts together with affected-project cache behavior and the CI commands that call them.
- Change the web backend build target together with the browser image's runtime dependency set, generated package metadata, health check, and
/apiproxy path. - Change web build profiles, base paths, service-worker settings, or output budgets together with the Electron package input, PWA image input, browser deployment path, and performance checks.
- Change the website output or release lookup together with the website path filter, Pages artifact path, and Docker browser delivery assumptions.
- Change release-note fields, note types, or release surfaces together with the PR note gate, changed-file status handling, changelog extraction, website scaffold, announcement limits, and the consume order.
- Change screenshot manifest actions, themes, or output groups together with the capture driver, local fixture identities, screenshot safety guards, and website image paths.
- Change highlight or artwork inputs together with card cleanup, screenshot availability, artwork manifest status, and the human review boundary.
- Change the required desktop artifact matrix together with draft verification rules and nightly required updater metadata.
- Change Docker image triggers, platforms, or tags together with push gating, Docker Hub credentials, image channel consumers, and the browser deployment instructions.
- Change the Android TV shell workflow or PWA bundling contract together with parser fixtures, remote-control checks, backend checks, APK naming, signing inputs, and the rule that canonical repository releases remain pre-release and not Latest.
- Change package scripts or the supported Node.js or pnpm versions together with the CI install step and every workflow command that depends on those script names or tool versions.
- Change the release-tools test target together with its cinematic prerequisite, release-tool input list, and the release validation commands exposed by package.json.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Linux targets use the wrong profile | A package can claim a runtime it does not provide | Profile target checks, package dependency checks, and runtime probes |
| Packaged native files or the runtime manifest are missing | Embedded playback fails after installation | Native output checks and packaged layout validation |
A transitive runtime dependency is absent from app.asar | The installed desktop app can fail at launch even when the source build passes | Packaged dependency-closure inspection |
| A Snap release has stale source identity, altered bytes, or an invalid archive boundary | Snap publication stops before Store upload | Exact asset selection, source binding, sealed receipt checks, and release-boundary validation |
| Verification and upload share a runner or the Store credential reaches an earlier step | A checked artifact can be replaced before publication or credentials can reach verification | Separate fresh jobs, root-owned sealed files, action policy, and final-step credential scope |
| An end-to-end shard is missing or duplicated | A summary can hide incomplete or repeated platform coverage | Per-OS shard download and semantic summary completeness checks |
| A product change matches an ignored E2E path or performance scope treats it as irrelevant | Cross-platform or performance validation can be skipped for a relevant change | Aligned path filters, conservative scope rules, and full master validation |
| A pull request scope check receives an incomplete change list or an unknown path is treated as safe | Unit or performance validation can be skipped for a relevant change | API-size fallback, conservative scope rules, and full master validation |
| A performance baseline is raised without the required review label | A change that increases the shipped web payload or weakens a journey limit is rejected | Comparison with the prior revision and the explicit baseline-increase policy |
| A Playwright target is inferred differently in local and CI modes | End-to-end work can fail only after a serve task starts, or a spec can lose its CI target | Task-graph validation in both modes and expected-target checks |
| A retired Material token is used in application or library source | The style compiles but the intended component override has no effect | Tracked-source scan for retired tokens and current Material override mixins |
| A font weight outside the supported scale is used | Text can use an unintended face or depend on synthetic font rendering | Font-scale validation in CI |
| A performance ratchet run is missing a journey or reports unstable data | A valid limit is not tightened from incomplete or noisy evidence | Three independent runs, complete measurements, and stability checks |
| A nightly run finishes after a newer nightly | An older build can become the newest update | Version ordering against the newest published nightly |
| Release assets or updater metadata are incomplete | Users can receive a release that cannot install or update | Draft asset verification and nightly required-file checks |
| The web build uses a path or service-worker mode for the wrong delivery form | The PWA can fail under its host path or a desktop package can request browser-only behavior | Separate production, PWA, and Electron build profiles with release checks |
| The web backend build omits or changes its external native SQLite runtime dependency | The browser container can build but fail when the backend starts | Keep the backend build target, generated package metadata, image dependency install, and health check aligned |
| Website release data or the Pages artifact path changes without workflow alignment | Download links can be stale or the site deployment can fail | Release-aware website build and fixed Pages artifact path |
| Runtime code changes without a newly added top-level .changes/*.md note | A user-visible change can enter a release without authored release text | Merge-diff status checks, direct-note validation, and the explicit no-release-note exception |
| A note names an unknown screenshot or is consumed before cards are built | The website can reference missing images or announcement highlights disappear | Manifest slug validation and the required render-before-consume order |
| A screenshot run uses real data, external resources, or the real database | Private content can enter public release material | Local mock identity checks, deny-by-default network guards, frame checks, and database snapshots |
| A filtered screenshot capture replaces the full image set | Unchanged release or guide images disappear from the website | Merge mode for --only and --theme runs |
| Docker event metadata selects the wrong platforms or tags | A browser image can publish to the wrong channel or omit a supported architecture | Event-specific metadata, explicit push gating, and multi-architecture Buildx output |
| Android TV parser fixtures do not match the parser shipped by the PWA | The shell backend can parse playlists differently from the browser client, so the APK build stops | Fixture regeneration check and Android backend validation |
| A canonical Android TV release is marked Latest | The desktop updater or website download resolver can treat the APK release as the desktop release | Default pre-release and --latest=false publication policy |
| The PWA bundle or local TV test service is not ready | Remote-control validation cannot prove the APK's web surface works | PWA output check, local readiness probes, and remote-control suites |
| A package script or tool version changes without matching workflow updates | CI can call a missing command or install an unsupported toolchain | The package manifest contract and the workflow install and command checks |
| The release-tools test target omits a changed release tool or its cinematic prerequisite | Release validation can pass without covering the changed tool or its capture contract | Nx input list, dependent target, and release-tool test command |
Key files
| File | Why to read it |
|---|---|
| .github/…/ci.yml | Defines source validation, release-note policy, coverage scope, performance checks, style checks, Codecov analysis, and CI concurrency. |
| .github/…/e2e-tests.yaml | Defines E2E path filters, cross-platform Electron and web validation, PWA update recovery, shard summaries, time limits, and retained reports. |
| apps/…/project.json | Defines the performance, compositing, and packaged frame-copy smoke targets used to validate built desktop behavior. |
| .github/…/codeql-analysis.yml | Defines scheduled and change-triggered JavaScript security analysis. |
| .github/…/build-and-make.yaml | Defines the build matrix, Linux profiles, native runtime staging, package checks, draft releases, and nightly publication. |
| .github/…/build-tv-shell-apk.yml | Defines the Android TV PWA bundle, shell checks, APK artifact, and guarded manual GitHub release. |
| .github/…/performance-ratchet.yml | Measures performance on separate runners and proposes evidence-backed baseline tightening. |
| apps/…/project.json | Defines the web outputs used for production browser delivery, PWA packaging, Electron checks, and size limits. |
| apps/…/project.json | Connects browser E2E validation to the web and backend projects and defines the PWA update-recovery target. |
| apps/…/project.json | Defines the Node 22 browser backend build, runtime package boundary, serve settings, and backend checks. |
| package.json | Defines the supported Node.js and pnpm toolchain plus the commands that expose build, validation, packaging, performance, and release stages. |
| nx.json | Defines shared cache inputs and the task dependencies that shape builds and end-to-end checks. |
| tools/…/check-e2e-task-graphs.mjs | Protects Playwright target inference and task-graph validity in local and CI environments. |
| tools/…/check-material-token-overrides.mjs | Prevents retired Angular Material token names from silently producing ineffective styles. |
| tools/…/codecov-bundle.json | Defines the production renderer bundle analysis and its GitHub OIDC and telemetry policy. |
| tools/…/journey-baselines.json | Records the current production performance limits and their evidence. |
| tools/…/tighten-baselines.mjs | Applies the safe multi-run rules that can lower performance limits without weakening them. |
| tools/…/verify-electron-package-layout.mjs | States the contract between the built Electron app and the files users receive. |
| tools/…/configure-linux-frame-copy-build.test.mjs | Protects the Linux profile split, package dependencies, foreign-architecture markers, and workflow contracts. |
| .github/…/publish-snap.yaml | Defines public Snap verification, sealed transfer, credential scope, and edge upload. |
| tools/…/release-snap-assets.test.mjs | Protects source binding, package boundary, receipt, and tamper checks for Snap publication. |
| tools/…/snap-workflow-policy.test-helpers.mjs | Defines the allowed execution shape, action set, runner separation, and credential boundary for Snap workflows. |
| tools/…/project.json | Defines the release-tool test and lint boundary, its release-file inputs, and its cinematic prerequisite. |
| tools/…/release-notes.mjs | Defines the note contract that feeds release text, website content, and announcements. |
| tools/…/check-release-note-gate.mjs | Defines when a pull request must add a release note, including authored-file status and path exemptions. |
| tools/…/release-note-gate.test.mjs | Protects release-note decisions for runtime changes, exemptions, merge paths, and existing-note moves. |
| tools/…/build-release-notes.mjs | Coordinates validation, release-surface generation, and note consumption. |
| tools/…/verify-draft-release.mjs | Verifies the tag build, authored release text, and complete draft asset set. |
| tools/…/screenshots.manifest.json | Defines the supported release and guide screenshots, themes, and setup actions. |
| tools/…/capture-release-screenshots.ts | Runs the guarded local capture and publishes only a complete safe frame set. |
| tools/…/screenshot-guards.mjs | Defines the safety boundary for network access, frame contents, database isolation, and screenshot publication. |
| tools/…/generate-highlight-cards.mjs | Generates release cards from note highlights and published screenshots. |
| tools/…/generate-marketing-artwork.ts | Defines fictional mock-catalog artwork jobs, the review manifest, and image validation. |
| tools/…/nightly-version.mjs | Resolves the ordered nightly version and updater channel used by master builds. |
| apps/…/app-update.service.ts | Explains stable and nightly desktop update lookup and installation behavior. |
| .github/…/deploy-website.yml | Defines the release-aware GitHub Pages build and deployment path. |
| .github/…/docker.yml | Defines Docker image triggers, channel tags, architecture targets, concurrency, and push permissions. |
docker/Dockerfile | Defines the browser image as a PWA plus web backend delivery unit. |
| docker/README.md | Describes browser image channels, runtime settings, health behavior, server storage, and desktop feature limits. |