Event
pull_request
Branch
611
Commit
9bf3049
Started
Duration
5:33

Synced from GitHub

check

SuccessTook 1:06
Whole log, 213 KB
Current runner version: '2.338.2'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261103.629
Commit: 15dbd9ccb5dbf34fae002b6ed1a2670f52df37bc
Build Date: 2026-11-03T17:26:59Z
Worker ID: {75d07041-fb32-4812-9a62-001e0f7b9873}
Region: eastus2
Cloud: Azure
▸ Operating System
Ubuntu
26.04.1
LTS
▸ Runner Image
Image: ubuntu-26.04
Version: 20261111.196.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261111.196/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261111.196
▸ GITHUB_TOKEN Permissions
Contents: read
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v7' (SHA:3d3c42e5aac5ba805825da76410c181273ba90b1)
Download action repository 'oven-sh/setup-bun@v2' (SHA:0c5077e51419868618aeaa5fe8019c62421857d6)
Download action repository 'actions/upload-artifact@v7' (SHA:cf430e030ddbb5b0abf93d22962f4752f3646cd9)
Complete job name: check
▸ Run actions/checkout@v7
with:
  repository: FindMalek/lodesong
  token: ***
  ssh-strict: true
  ssh-user: git
  persist-credentials: true
  clean: true
  sparse-checkout-cone-mode: true
  fetch-depth: 1
  fetch-tags: false
  show-progress: true
  lfs: false
  submodules: false
  set-safe-directory: true
  allow-unsafe-pr-checkout: false
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
Syncing repository: FindMalek/lodesong
▸ Getting Git version info
Working directory is '/home/runner/work/lodesong/lodesong'
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/1d0dc595-7a1b-4ee9-a343-f760c9be4c6f' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/lodesong/lodesong
Deleting the contents of '/home/runner/work/lodesong/lodesong'
▸ Determining repository object format
▸ Initializing the repository
[command]/usr/bin/git init /home/runner/work/lodesong/lodesong
hint: Using 'master' as the name for the initial branch. This default branch name
hint: will change to "main" in Git 3.0. To configure the initial branch name
hint: to use in all of your new repositories, which will suppress this warning,
hint: call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /home/runner/work/lodesong/lodesong/.git/
[command]/usr/bin/git remote add origin https://github.com/FindMalek/lodesong
▸ Disabling automatic garbage collection
[command]/usr/bin/git config --local gc.auto 0
▸ Setting up auth
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/bin/git config --file /home/runner/work/_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config http.https://github.com/.extraheader AUTHORIZATION: basic ***
[command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/lodesong/lodesong/.git.path /home/runner/work/_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/lodesong/lodesong/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
▸ Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +e2f59e2b6b1e43299daa9217a81bb84723d77d82:refs/remotes/pull/650/merge
From https://github.com/FindMalek/lodesong
 * [new ref]         e2f59e2b6b1e43299daa9217a81bb84723d77d82 -> pull/650/merge
▸ Determining the checkout info
[command]/usr/bin/git sparse-checkout disable
[command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
▸ Checking out the ref
[command]/usr/bin/git checkout --progress --force refs/remotes/pull/650/merge
Note: switching to 'refs/remotes/pull/650/merge'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e2f59e2 Merge 9bf30492b434240c87263c544bd706fc7b443e1f into e7df5c1b03272ada24d4bac9469c91cd3ca2bf74
[command]/usr/bin/git log -1 --format=%H
e2f59e2b6b1e43299daa9217a81bb84723d77d82
▸ Run oven-sh/setup-bun@v2
with:
  bun-version: 1.4.2
  no-cache: false
  token: ***
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
Cache hit for: bun-gmoqYqdUbaYsI0KujeXt7Zg/p0I=
Received 35684131 of 35684131 (100.0%), 151.9 MBs/sec
Cache Size: ~34 MB (35684131 B)
[command]/usr/bin/tar -xf /home/runner/work/_temp/d6f432bf-ad96-4de2-bc80-079a58178399/cache.tzst -P -C /home/runner/work/lodesong/lodesong --use-compress-program unzstd
Cache restored successfully
[command]/home/runner/.bun/bin/bun --revision
1.4.2+744846f84
Using a cached version of Bun: 1.4.2+744846f84
▸ Run bun install --frozen-lockfile
bun install --frozen-lockfile
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
bun install v1.4.2 (744846f84)

+ @axe-core/playwright@4.13.0
+ @biomejs/biome@2.5.15
+ @playwright/test@1.64.0
+ @shadcn/lint@0.2.1
+ @types/bun@1.4.2
+ @types/react@19.3.0
+ @types/react-dom@19.3.0
+ bun-plugin-tailwind@0.1.2
+ knip@6.41.0
+ lighthouse@13.5.0
+ oxlint@1.87.0
+ shadcn@4.21.4
+ turbo@2.10.12
+ typescript@7.0.2

927 packages installed [4.08s]
▸ Run bun run typecheck
bun run typecheck
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
$ turbo run typecheck && tsc --noEmit -p .

Attention:
Turborepo now collects completely anonymous telemetry regarding usage.
This information is used to shape the Turborepo roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://turborepo.dev/docs/telemetry


   • Packages in scope: @lodesong/api, @lodesong/config, @lodesong/orpc, @lodesong/player, @lodesong/shared, @lodesong/ui, @lodesong/video, @lodesong/web
   • Running typecheck in 8 packages
   • Remote caching enabled

▸ @lodesong/shared:typecheck
cache miss, executing 33283a2e77915aef
$ tsc --noEmit -p .
▸ @lodesong/ui:typecheck
cache miss, executing 727ab735bf64bfd3
$ tsc --noEmit -p .
▸ @lodesong/orpc:typecheck
cache miss, executing 5494ebf638686193
$ tsc --noEmit -p .
▸ @lodesong/video:typecheck
cache miss, executing 04fdda174090b965
$ tsc --noEmit -p .
▸ @lodesong/api:typecheck
cache miss, executing eca433f52c4fb909
$ tsc --noEmit -p .
▸ @lodesong/web:typecheck
cache miss, executing bd37651b1649c748
$ bun run docs && tsc --noEmit -p .
$ bun scripts/sync-docs.ts && fumadocs-mdx
docs: synced into apps/web/content/docs
[MDX] generated files in 19.847608000000037ms
▸ @lodesong/player:typecheck
cache miss, executing e293a77d48e1dcee
$ tsc --noEmit -p .

 Tasks:    7 successful, 7 total
Cached:    0 cached, 7 total
  Time:    5.345s

▸ Run bunx biome ci .
bunx biome ci .
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
Notice: This fragment is unnecessary.
apps/player/src/pages/detail.tsx:586:11 lint/complexity/noUselessFragments  FIXABLE  ━━━━━━━━━━━━━━━

  i This fragment is unnecessary.

    584 │         cover={playlist.coverArt}
    585 │         coverSlot={
  > 586 │           <>
        │           ^^
  > 587 │             <PlaylistCover id={playlist.id} coverArt={playlist.coverArt} size={160} className="w-26 sm:w-38 short:w-22" priority />
  > 588 │           </>
        │           ^^^
    589 │         }
    590 │         kind={

  i A fragment is redundant if it contains only one child, or if it is the child of a html element, and is not a keyed fragment.

  i Unsafe fix: Remove the Fragment

    583 583 │         <Hero
    584 584 │           cover={playlist.coverArt}
    585     │ - ········coverSlot={
    586     │ - ··········<>
    587     │ - ············<PlaylistCover·id={playlist.id}·coverArt={playlist.coverArt}·size={160}·className="w-26·sm:w-38·short:w-22"·priority·/>
    588     │ - ··········</>
    589     │ - ········}
        585 │ + ········coverSlot={<PlaylistCover·id={playlist.id}·coverArt={playlist.coverArt}·size={160}·className="w-26·sm:w-38·short:w-22"·priority·/>}
    590 586 │           kind={
    591 587 │             parts.length > 1 ? (


apps/api/src/ai-playlist.ts:116:12 lint/correctness/noUnusedVariables  FIXABLE  ━━━━━━━━━━━━━━━━━━━━

  ! This variable round is unused.

    114 │   const seen = new Set<string>();
    115 │   // Round-robin, so one big discography doesn't fill the list; a familiar pick, then a fresh one, by the share.
  > 116 │   for (let round = 0; picked.length < size && pools.some((pool) => pool.familiar.length || pool.fresh.length); round++)
        │            ^^^^^
    117 │     for (const pool of pools) {
    118 │       if (picked.length >= size) break;

  i Unused variables are often the result of typos, incomplete refactors, or other sources of bugs.

  i Unsafe fix: If this is intentional, prepend round with an underscore.

    114 114 │     const seen = new Set<string>();
    115 115 │     // Round-robin, so one big discography doesn't fill the list; a familiar pick, then a fresh one, by the share.
    116     │ - ··for·(let·round·=·0;·picked.length·<·size·&&·pools.some((pool)·=>·pool.familiar.length·||·pool.fresh.length);·round++)
        116 │ + ··for·(let·_round·=·0;·picked.length·<·size·&&·pools.some((pool)·=>·pool.familiar.length·||·pool.fresh.length);·_round++)
    117 117 │       for (const pool of pools) {
Warning: This variable round is unused.
Warning: The comma operator is disallowed.
Warning: Suppression comment has no effect. Remove the suppression or make sure you are suppressing the correct rule.
Warning: Several of these imports are unused.
Warning: The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable E2E_PORT_OFFSET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable E2E_PORT_OFFSET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: Forbidden non-null assertion.
Warning: The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOTS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOTS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: This parameter page is unused.
Warning: This parameter signedIn is unused.
Warning: The environment variable E2E_PORT_OFFSET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable BUN_TARGET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable BUN_TARGET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SIZE_REPORT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SIZE_REPORT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable CAPTURE_USER is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable CAPTURE_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable CAPTURE_PASSWORD is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable CHROMIUM_PATH is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable POLL_INTERVAL_MS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable DOKPLOY_PUBLIC_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GHCR_READ_TOKEN is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable PR_NUMBER is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable GITHUB_API_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable HERO_RAW is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCREENSHOT_USER is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCREENSHOT_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable SCREENSHOT_PASSWORD is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable CHROMIUM_PATH is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable MOCK_PORT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable MOCK_AUDIO is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
Warning: The environment variable MOCK_TRACKS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.
    118 118 │         if (picked.length >= size) break;


apps/api/src/rpc.test.ts:284:45 lint/complexity/noCommaOperator ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The comma operator is disallowed.

    282 │   );
    283 │   const ask = () => rpc.mixes({ day: Math.floor(Date.now() / DAY_MS), hour: 9, tz: 0 });
  > 284 │   return { ask, stop: () => (groq.stop(true), navidrome.stop(true)) };
        │                                             ^
    285 │ }
    286 │

  i Its use is often confusing and obscures side effects.


apps/player/src/components/day-chart.tsx:44:8 suppressions/unused ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! Suppression comment has no effect. Remove the suppression or make sure you are suppressing the correct rule.

    42 │         {label(current.day)} · <span className="text-foreground tabular-nums">{current.minutes.toLocaleString()}</span> min
    43 │       </p>
  > 44 │       {/* biome-ignore lint/a11y/useSemanticElements: a custom chart, not an input */}
       │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    45 │       <div
    46 │         role="slider"


apps/video/src/scenes/loop.tsx:7:10 lint/correctness/noUnusedImports  FIXABLE  ━━━━━━━━━━━━━━━━━━━━━

  ! Several of these imports are unused.

    5 │ import { Bracket } from "../design/draw";
    6 │ import { Halation } from "../design/halation";
  > 7 │ import { ease, lerp, ramp } from "../design/motion";
      │          ^^^^^^^^^^
    8 │ import { Shell } from "../design/shell";
    9 │ import { typedCount, typingFrames } from "../design/typing";

  i Unused imports might be the result of an incomplete refactoring.

  i Unsafe fix: Remove the unused imports.

    7 │ import·{·ease,·lerp,·ramp·}·from·"../design/motion";
      │          ------------

e2e/audio.ts:56:28 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    54 │ }
    55 │
  > 56 │ const MOCK = (): string => process.env.E2E_MOCK_URL as string;
       │                            ^^^^^^^^^^^^^^^^^^^^^^^^
    57 │
    58 │ export async function songsOf(albumId: string): Promise<string[]> {


e2e/demo.e2e.ts:5:23 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_PORT_OFFSET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    4 │ // The public demo is a server setting, so these run against a second player (same build, PUBLIC_DEMO=on) in front of the mock.
  > 5 │ const OFFSET = Number(process.env.E2E_PORT_OFFSET ?? 0);
      │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    6 │ // Its own port per worker and browser, so repeats or shards running side by side never share a server.
    7 │ const port = () => 4400 + OFFSET + (test.info().project.name === "webkit" ? 50 : 0) + test.info().parallelIndex;


e2e/demo.e2e.ts:19:22 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    17 │       ...process.env,
    18 │       PORT: String(port()),
  > 19 │       NAVIDROME_URL: process.env.E2E_MOCK_URL ?? "",
       │                      ^^^^^^^^^^^^^^^^^^^^^^^^
    20 │       DATA_DIR: `test-results/demo-data-${port()}`,
    21 │       PUBLIC_DEMO: "on",


e2e/lighthouse.e2e.ts:6:28 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_PORT_OFFSET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    4 │ import desktopConfig from "lighthouse/core/config/desktop-config.js";
    5 │
  > 6 │ const PORT = 9333 + Number(process.env.E2E_PORT_OFFSET ?? 0);
      │                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    7 │ /** Single Lighthouse runs swing by several points on shared CI machines; the median of three is what's judged. */
    8 │ const RUNS = 3;


e2e/lighthouse.e2e.ts:63:9 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    61 │     expect(runs.length, `${profile.name}: only ${runs.length} of ${RUNS} runs gave a score in ${ATTEMPTS} tries`).toBe(RUNS);
    62 │     const median = [...runs].sort((a, b) => a.score - b.score)[Math.floor(RUNS / 2)] ?? { score: 0, metrics: {} };
  > 63 │     if (process.env.GITHUB_STEP_SUMMARY)
       │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    64 │       appendFileSync(
    65 │         process.env.GITHUB_STEP_SUMMARY,


e2e/lighthouse.e2e.ts:65:9 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    63 │     if (process.env.GITHUB_STEP_SUMMARY)
    64 │       appendFileSync(
  > 65 │         process.env.GITHUB_STEP_SUMMARY,
       │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    66 │         `### lighthouse ${profile.name} (median of ${RUNS})\n\nscore ${median.score}\n\n| metric | ms |\n|---|---|\n${METRICS.map((id) => `| ${id} | ${median.metrics[id]} |`).join("\n")}\n\n`,
    67 │       );


e2e/listen.e2e.ts:82:67 lint/style/noNonNullAssertion ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! Forbidden non-null assertion.

    80 │   await signIn(page);
    81 │   await page.goto("/listen");
  > 82 │   const box = async (locator: ReturnType<typeof page.locator>) => (await locator.boundingBox())!;
       │                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    83 │   const input = await box(page.getByLabel("session code"));
    84 │   const join = await box(page.getByRole("button", { name: "join", exact: true }));


e2e/offline.e2e.ts:42:19 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    40 │   const second = ids[1] as string;
    41 │   // The service worker's download of the second song will stall for a long time (it can't be routed by the page).
  > 42 │   const mock = `${process.env.E2E_MOCK_URL}/mock`;
       │                   ^^^^^^^^^^^^^^^^^^^^^^^^
    43 │   await page.request.post(`${mock}/slow?id=${encodeURIComponent(second)}&seconds=60`);
    44 │   const streams = async () =>


e2e/player-bar-phone.e2e.ts:52:18 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOTS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    50 │     if (process.env.SHOTS)
    51 │       await page.screenshot({
  > 52 │         path: `${process.env.SHOTS}-${width}.png`,
       │                  ^^^^^^^^^^^^^^^^^
    53 │         clip: { x: 0, y: 800 - (await box(bar)).height - 20, width, height: (await box(bar)).height + 20 },
    54 │       });


e2e/player-bar-phone.e2e.ts:50:9 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOTS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    48 │     expect(duration.x - (seek.x + seek.width)).toBeGreaterThanOrEqual(8);
    49 │
  > 50 │     if (process.env.SHOTS)
       │         ^^^^^^^^^^^^^^^^^
    51 │       await page.screenshot({
    52 │         path: `${process.env.SHOTS}-${width}.png`,


e2e/player-bar-phone.e2e.ts:27:9 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    25 │   test(`the phone player bar keeps the cover, seek bar and times apart at ${width}px`, async ({ signedIn: page }) => {
    26 │     await page.setViewportSize({ width, height: 800 });
  > 27 │     if (process.env.SCHEME) await page.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
       │         ^^^^^^^^^^^^^^^^^^
    28 │     await playSomething(page);
    29 │     const bar = page.getByRole("contentinfo");


e2e/player-bar-phone.e2e.ts:27:68 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    25 │   test(`the phone player bar keeps the cover, seek bar and times apart at ${width}px`, async ({ signedIn: page }) => {
    26 │     await page.setViewportSize({ width, height: 800 });
  > 27 │     if (process.env.SCHEME) await page.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
       │                                                                    ^^^^^^^^^^^^^^^^^^
    28 │     await playSomething(page);
    29 │     const bar = page.getByRole("contentinfo");


e2e/playlist-covers.e2e.ts:15:7 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    13 │     await expect(dialog.getByRole("button", { name: "remove picture" })).toBeVisible();
    14 │   }
  > 15 │   if (process.env.SHOT) await dialog.screenshot({ path: `${process.env.SHOT}-dialog${withPicture ? "-picture" : ""}.png` });
       │       ^^^^^^^^^^^^^^^^
    16 │   await dialog.getByRole("button", { name: "create" }).click();
    17 │   await expect(page.getByRole("heading", { level: 1 })).toContainText(name);


e2e/playlist-covers.e2e.ts:15:60 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    13 │     await expect(dialog.getByRole("button", { name: "remove picture" })).toBeVisible();
    14 │   }
  > 15 │   if (process.env.SHOT) await dialog.screenshot({ path: `${process.env.SHOT}-dialog${withPicture ? "-picture" : ""}.png` });
       │                                                            ^^^^^^^^^^^^^^^^
    16 │   await dialog.getByRole("button", { name: "create" }).click();
    17 │   await expect(page.getByRole("heading", { level: 1 })).toContainText(name);


e2e/playlist-covers.e2e.ts:27:37 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    25 │   const header = page.locator("header").filter({ has: page.getByRole("heading", { level: 1 }) });
    26 │   const picture = header.locator("img[src^='/api/playlists/']");
  > 27 │   const shot = (suffix: string) => (process.env.SHOT ? header.screenshot({ path: `${process.env.SHOT}-${suffix}.png` }) : undefined);
       │                                     ^^^^^^^^^^^^^^^^
    28 │   if (process.env.SCHEME) await page.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
    29 │   await signedIn.goto("/");


e2e/playlist-covers.e2e.ts:27:85 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    25 │   const header = page.locator("header").filter({ has: page.getByRole("heading", { level: 1 }) });
    26 │   const picture = header.locator("img[src^='/api/playlists/']");
  > 27 │   const shot = (suffix: string) => (process.env.SHOT ? header.screenshot({ path: `${process.env.SHOT}-${suffix}.png` }) : undefined);
       │                                                                                     ^^^^^^^^^^^^^^^^
    28 │   if (process.env.SCHEME) await page.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
    29 │   await signedIn.goto("/");


e2e/playlist-covers.e2e.ts:28:7 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    26 │   const picture = header.locator("img[src^='/api/playlists/']");
    27 │   const shot = (suffix: string) => (process.env.SHOT ? header.screenshot({ path: `${process.env.SHOT}-${suffix}.png` }) : undefined);
  > 28 │   if (process.env.SCHEME) await page.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
       │       ^^^^^^^^^^^^^^^^^^
    29 │   await signedIn.goto("/");
    30 │


e2e/playlist-covers.e2e.ts:28:66 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    26 │   const picture = header.locator("img[src^='/api/playlists/']");
    27 │   const shot = (suffix: string) => (process.env.SHOT ? header.screenshot({ path: `${process.env.SHOT}-${suffix}.png` }) : undefined);
  > 28 │   if (process.env.SCHEME) await page.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
       │                                                                  ^^^^^^^^^^^^^^^^^^
    29 │   await signedIn.goto("/");
    30 │


e2e/queue-sync.e2e.ts:8:14 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

     6 │ test.describe.configure({ mode: "serial" });
     7 │
   > 8 │ const MOCK = process.env.E2E_MOCK_URL as string;
       │              ^^^^^^^^^^^^^^^^^^^^^^^^
     9 │ const AUTH = `u=demo&t=${createHash("md5").update("demosalt").digest("hex")}&s=salt&v=1.16.1&f=json`;
    10 │


e2e/releases.e2e.ts:58:18 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    56 │   const album = (await call(`/rest/getAlbum?f=json&id=${artist.album[0]?.id}`))["subsonic-response"].album;
    57 │   const song = album.song[0] as { id: string; artist: string };
  > 58 │   await fetch(`${process.env.E2E_MOCK_URL}/mock/added?id=${song.id}`, { method: "POST" });
       │                  ^^^^^^^^^^^^^^^^^^^^^^^^
    59 │   try {
    60 │     await call("/api/history", {


e2e/releases.e2e.ts:80:20 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_MOCK_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    78 │     await expect(page.getByRole("button", { name: /^get / })).toHaveCount(0);
    79 │   } finally {
  > 80 │     await fetch(`${process.env.E2E_MOCK_URL}/mock/added?id=${song.id}&mode=off`, { method: "POST" });
       │                    ^^^^^^^^^^^^^^^^^^^^^^^^
    81 │     await call("/api/index", { method: "POST" });
    82 │   }


e2e/remote-volume.e2e.ts:42:7 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    40 │   const other = await context.newPage();
    41 │   await join(other);
  > 42 │   if (process.env.SCHEME) await other.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
       │       ^^^^^^^^^^^^^^^^^^
    43 │   await other.goto("/");
    44 │   await expect(other.getByRole("button", { name: /^devices, playing on / })).toBeVisible({ timeout: 10_000 });


e2e/remote-volume.e2e.ts:42:67 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCHEME is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    40 │   const other = await context.newPage();
    41 │   await join(other);
  > 42 │   if (process.env.SCHEME) await other.emulateMedia({ colorScheme: process.env.SCHEME as "light" | "dark" });
       │                                                                   ^^^^^^^^^^^^^^^^^^
    43 │   await other.goto("/");
    44 │   await expect(other.getByRole("button", { name: /^devices, playing on / })).toBeVisible({ timeout: 10_000 });


e2e/remote-volume.e2e.ts:56:7 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    54 │   await expect.poll(() => volumeOf(other)).toBe(final);
    55 │
  > 56 │   if (process.env.SHOT) {
       │       ^^^^^^^^^^^^^^^^
    57 │     await other.getByRole("contentinfo").screenshot({ path: `${process.env.SHOT}.png` });
    58 │   }


e2e/remote-volume.e2e.ts:57:64 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    56 │   if (process.env.SHOT) {
  > 57 │     await other.getByRole("contentinfo").screenshot({ path: `${process.env.SHOT}.png` });
       │                                                                ^^^^^^^^^^^^^^^^
    58 │   }
    59 │


e2e/search.e2e.ts:51:7 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    49 │   await expect(favorites).not.toContainText("name fits");
    50 │   await expect(group.getByRole("option", { name: /Late night/ })).toBeHidden();
  > 51 │   if (process.env.SHOT) await dialog.screenshot({ path: process.env.SHOT });
       │       ^^^^^^^^^^^^^^^^
    52 │   await favorites.click();
    53 │   await expect(page).toHaveURL(/\/playlist\/pl-3/);


e2e/search.e2e.ts:51:57 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SHOT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    49 │   await expect(favorites).not.toContainText("name fits");
    50 │   await expect(group.getByRole("option", { name: /Late night/ })).toBeHidden();
  > 51 │   if (process.env.SHOT) await dialog.screenshot({ path: process.env.SHOT });
       │                                                         ^^^^^^^^^^^^^^^^
    52 │   await favorites.click();
    53 │   await expect(page).toHaveURL(/\/playlist\/pl-3/);


e2e/settings-phone.e2e.ts:6:24 lint/correctness/noUnusedFunctionParameters  FIXABLE  ━━━━━━━━━━━━━━━

  ! This parameter page is unused.

    4 │ const MIN = 44;
    5 │
  > 6 │ async function hitSize(page: Page, target: Locator): Promise<{ w: number; h: number }> {
      │                        ^^^^
    7 │   return target.evaluate((el) => {
    8 │     const box = el.getBoundingClientRect();

  i Unused parameters might be the result of an incomplete refactoring.

  i Unsafe fix: If this is intentional, prepend page with an underscore.

     4  4 │   const MIN = 44;
     5  5 │
     6    │ - async·function·hitSize(page:·Page,·target:·Locator):·Promise<{·w:·number;·h:·number·}>·{
        6 │ + async·function·hitSize(_page:·Page,·target:·Locator):·Promise<{·w:·number;·h:·number·}>·{
     7  7 │     return target.evaluate((el) => {
     8  8 │       const box = el.getBoundingClientRect();


e2e/theme.e2e.ts:3:80 lint/correctness/noUnusedFunctionParameters ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! This parameter signedIn is unused.

    1 │ import { expect, test } from "./fixtures";
    2 │
  > 3 │ test("a preset previews at once, saves, and survives a reload", async ({ page, signedIn }) => {
      │                                                                                ^^^^^^^^
    4 │   // The fixture stubs the synced settings; this flow needs the real ones, and puts the default look back at the end.
    5 │   await page.unroute("**/api/settings");

  i Unused parameters might be the result of an incomplete refactoring.


playwright.config.ts:4:23 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable E2E_PORT_OFFSET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    3 │ // Runners sharing one host run e2e side by side: each gets its own ports (E2E_PORT_OFFSET, set per runner in CI).
  > 4 │ const OFFSET = Number(process.env.E2E_PORT_OFFSET ?? 0);
      │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    5 │ const APP = 4580 + OFFSET;
    6 │ const MOCK = 4599 + OFFSET;


scripts/build.ts:78:11 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable BUN_TARGET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    76 │     compile: {
    77 │       outfile: "dist/lodesong",
  > 78 │       ...(process.env.BUN_TARGET ? { target: process.env.BUN_TARGET as Bun.Build.CompileTarget } : {}),
       │           ^^^^^^^^^^^^^^^^^^^^^^
    79 │     },
    80 │     target: "bun",


scripts/build.ts:78:46 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable BUN_TARGET is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    76 │     compile: {
    77 │       outfile: "dist/lodesong",
  > 78 │       ...(process.env.BUN_TARGET ? { target: process.env.BUN_TARGET as Bun.Build.CompileTarget } : {}),
       │                                              ^^^^^^^^^^^^^^^^^^^^^^
    79 │     },
    80 │     target: "bun",


scripts/bundle-size.ts:72:5 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SIZE_REPORT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    70 │   budget: BUDGET_KB,
    71 │ };
  > 72 │ if (process.env.SIZE_REPORT) await Bun.write(process.env.SIZE_REPORT, `${JSON.stringify(report, null, 2)}\n`);
       │     ^^^^^^^^^^^^^^^^^^^^^^^
    73 │ if (process.env.GITHUB_STEP_SUMMARY)
    74 │   await Bun.write(


scripts/bundle-size.ts:72:46 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SIZE_REPORT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    70 │   budget: BUDGET_KB,
    71 │ };
  > 72 │ if (process.env.SIZE_REPORT) await Bun.write(process.env.SIZE_REPORT, `${JSON.stringify(report, null, 2)}\n`);
       │                                              ^^^^^^^^^^^^^^^^^^^^^^^
    73 │ if (process.env.GITHUB_STEP_SUMMARY)
    74 │   await Bun.write(


scripts/bundle-size.ts:73:5 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    71 │ };
    72 │ if (process.env.SIZE_REPORT) await Bun.write(process.env.SIZE_REPORT, `${JSON.stringify(report, null, 2)}\n`);
  > 73 │ if (process.env.GITHUB_STEP_SUMMARY)
       │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    74 │   await Bun.write(
    75 │     process.env.GITHUB_STEP_SUMMARY,


scripts/bundle-size.ts:75:5 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    73 │ if (process.env.GITHUB_STEP_SUMMARY)
    74 │   await Bun.write(
  > 75 │     process.env.GITHUB_STEP_SUMMARY,
       │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    76 │     `${await Bun.file(process.env.GITHUB_STEP_SUMMARY).text()}### first-screen size (gzip)\n\n| | now | budget |\n|---|---|---|\n| js | ${report.js} KB | ${BUDGET_KB.js} KB |\n| css | ${report.css} KB | ${BUDGET_KB.css} KB |\n| lazy chunks | ${report.lazy} KB | |\n`,
    77 │   );


scripts/bundle-size.ts:76:23 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GITHUB_STEP_SUMMARY is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    74 │   await Bun.write(
    75 │     process.env.GITHUB_STEP_SUMMARY,
  > 76 │     `${await Bun.file(process.env.GITHUB_STEP_SUMMARY).text()}### first-screen size (gzip)\n\n| | now | budget |\n|---|---|---|\n| js | ${report.js} KB | ${BUDGET_KB.js} KB |\n| css | ${report.css} KB | ${BUDGET_KB.css} KB |\n| lazy chunks | ${report.lazy} KB | |\n`,
       │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    77 │   );
    78 │ process.exit(failed ? 1 : 0);


scripts/capture-video.ts:7:14 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable CAPTURE_USER is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    5 │ // CAPTURE_URL=… CAPTURE_USER=demo CAPTURE_PASSWORD=… bun scripts/capture-video.ts [search|lyrics|radio]
    6 │ const url = process.env.CAPTURE_URL ?? "http://127.0.0.1:8080";
  > 7 │ const user = process.env.CAPTURE_USER ?? "demo";
      │              ^^^^^^^^^^^^^^^^^^^^^^^^
    8 │ const password = process.env.CAPTURE_PASSWORD ?? "demo";
    9 │ const OUT = "apps/video/public/clips";


scripts/capture-video.ts:6:13 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable CAPTURE_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    4 │ // Records the promo's clips into apps/video/public/clips:
    5 │ // CAPTURE_URL=… CAPTURE_USER=demo CAPTURE_PASSWORD=… bun scripts/capture-video.ts [search|lyrics|radio]
  > 6 │ const url = process.env.CAPTURE_URL ?? "http://127.0.0.1:8080";
      │             ^^^^^^^^^^^^^^^^^^^^^^^
    7 │ const user = process.env.CAPTURE_USER ?? "demo";
    8 │ const password = process.env.CAPTURE_PASSWORD ?? "demo";


scripts/capture-video.ts:8:18 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable CAPTURE_PASSWORD is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

     6 │ const url = process.env.CAPTURE_URL ?? "http://127.0.0.1:8080";
     7 │ const user = process.env.CAPTURE_USER ?? "demo";
   > 8 │ const password = process.env.CAPTURE_PASSWORD ?? "demo";
       │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     9 │ const OUT = "apps/video/public/clips";
    10 │ const SIZE = { width: 1920, height: 1080 };


scripts/capture-video.ts:50:57 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable CHROMIUM_PATH is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    48 │ };
    49 │
  > 50 │ const browser = await chromium.launch({ executablePath: process.env.CHROMIUM_PATH || undefined });
       │                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^
    51 │ mkdirSync(OUT, { recursive: true });
    52 │


scripts/deploy/dokploy.mjs:14:33 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable POLL_INTERVAL_MS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    12 │ const DEMO_USER = "demo";
    13 │ const DEMO_PASSWORD = "demo";
  > 14 │ const POLL_INTERVAL_MS = Number(process.env.POLL_INTERVAL_MS) || 5_000;
       │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    15 │ const POLL_TIMEOUT_MS = 15 * 60_000;
    16 │


scripts/deploy/dokploy.mjs:24:29 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable DOKPLOY_PUBLIC_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    23 │ const DOKPLOY_URL = requireEnv("DOKPLOY_URL").replace(/\/$/, "");
  > 24 │ const DOKPLOY_PUBLIC_URL = (process.env.DOKPLOY_PUBLIC_URL || DOKPLOY_URL).replace(/\/$/, "");
       │                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    25 │ const DOKPLOY_API_KEY = requireEnv("DOKPLOY_API_KEY");
    26 │


scripts/deploy/dokploy.mjs:94:17 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GHCR_READ_TOKEN is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    92 │   // The images are public: no login. A workflow's own token expires with the run, and Dokploy would keep sending it on
    93 │   // every later pull (production too) and get "denied". A long-lived read token is used only when one is set on purpose.
  > 94 │   const token = process.env.GHCR_READ_TOKEN;
       │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    95 │   await dokploy("application.saveDockerProvider", {
    96 │     applicationId,


scripts/deploy/dokploy.mjs:173:81 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable PR_NUMBER is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    171 │           `Sign in with \`${DEMO_USER}\` / \`${DEMO_PASSWORD}\`. The preview is isolated: its own empty data, a generated demo library, no production data.`,
    172 │           "",
  > 173 │           `In the macOS app: sign out, tap the background 4 times, enter \`pr-${process.env.PR_NUMBER}\`.`,
        │                                                                                 ^^^^^^^^^^^^^^^^^^^^^
    174 │         ]
    175 │       : []),


scripts/deploy/dokploy.mjs:180:30 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable GITHUB_API_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    179 │ async function github(path, init = {}) {
  > 180 │   const res = await fetch(`${process.env.GITHUB_API_URL || "https://api.github.com"}${path}`, {
        │                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    181 │     ...init,
    182 │     headers: {


scripts/hero.ts:11:13 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable HERO_RAW is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    10 │ const THEMES: Theme[] = ["dark", "light"];
  > 11 │ const raw = process.env.HERO_RAW ?? mkdtempSync(join(tmpdir(), "lodesong-hero-raw-"));
       │             ^^^^^^^^^^^^^^^^^^^^
    12 │
    13 │ const build = Bun.spawnSync(["bun", "scripts/build.ts"], { stdout: "inherit", stderr: "inherit" });


scripts/screenshots.ts:5:14 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCREENSHOT_USER is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    3 │ // Refreshes docs/*.png: SCREENSHOT_URL=… SCREENSHOT_USER=demo SCREENSHOT_PASSWORD=… bun scripts/screenshots.ts
    4 │ const url = process.env.SCREENSHOT_URL ?? "http://127.0.0.1:8080";
  > 5 │ const user = process.env.SCREENSHOT_USER ?? "demo";
      │              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    6 │ const password = process.env.SCREENSHOT_PASSWORD ?? "demo";
    7 │


scripts/screenshots.ts:4:13 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCREENSHOT_URL is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    3 │ // Refreshes docs/*.png: SCREENSHOT_URL=… SCREENSHOT_USER=demo SCREENSHOT_PASSWORD=… bun scripts/screenshots.ts
  > 4 │ const url = process.env.SCREENSHOT_URL ?? "http://127.0.0.1:8080";
      │             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    5 │ const user = process.env.SCREENSHOT_USER ?? "demo";
    6 │ const password = process.env.SCREENSHOT_PASSWORD ?? "demo";


scripts/screenshots.ts:6:18 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable SCREENSHOT_PASSWORD is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    4 │ const url = process.env.SCREENSHOT_URL ?? "http://127.0.0.1:8080";
    5 │ const user = process.env.SCREENSHOT_USER ?? "demo";
  > 6 │ const password = process.env.SCREENSHOT_PASSWORD ?? "demo";
      │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    7 │
    8 │ const browser = await chromium.launch({ executablePath: process.env.CHROMIUM_PATH || undefined });


scripts/screenshots.ts:8:57 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable CHROMIUM_PATH is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

     6 │ const password = process.env.SCREENSHOT_PASSWORD ?? "demo";
     7 │
   > 8 │ const browser = await chromium.launch({ executablePath: process.env.CHROMIUM_PATH || undefined });
       │                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^
     9 │
    10 │ async function shoot(theme: "dark" | "light"): Promise<void> {


test/mock/server.ts:7:21 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable MOCK_PORT is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    6 │ /** Subsonic/OpenSubsonic mock over a seeded library for e2e and perf budgets. Login demo/demo, audio is a quiet 440 Hz tone. */
  > 7 │ const PORT = Number(process.env.MOCK_PORT ?? 4599);
      │                     ^^^^^^^^^^^^^^^^^^^^^
    8 │ const USER = "demo";
    9 │ const PASSWORD = "demo";


test/mock/server.ts:166:7 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable MOCK_AUDIO is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    164 │   for (let i = 0; i < data; i += 1) bytes[44 + i] = Math.round(128 + 40 * Math.sin((2 * Math.PI * 440 * i) / rate));
    165 │   // `MOCK_AUDIO=beat`: a 120 bpm kick with a hat on the off-beat, for checking visuals that follow the music.
  > 166 │   if (process.env.MOCK_AUDIO === "beat")
        │       ^^^^^^^^^^^^^^^^^^^^^^
    167 │     for (let i = 0; i < data; i += 1) {
    168 │       const t = i / rate;


test/mock/server.ts:12:38 lint/suspicious/noUndeclaredEnvVars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The environment variable MOCK_TRACKS is not listed as a dependency in turbo.json. Add this environment variable a task's 'env'/'passThroughEnv', or to 'globalEnv', 'globalPassThroughEnv', in your turbo.json(c) configuration to ensure correct caching behavior in Turborepo.

    10 │ // A second account, so a spec can leave plays and follows without touching demo's.
    11 │ const SIDE_USER = "radar";
  > 12 │ const library = createLibrary(Number(process.env.MOCK_TRACKS ?? 10_000));
       │                                      ^^^^^^^^^^^^^^^^^^^^^^^
    13 │ const albumsById = new Map(library.albums.map((album) => [album.id, album]));
    14 │ const songsById = new Map(library.songs.map((song) => [song.id, song]));


Checked 793 files in 942ms. No fixes applied.
Found 58 warnings.
Found 1 info.
▸ Run bunx knip
bunx knip
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
Configuration hints (1)
collections  apps/web  knip.json  Remove from ignoreDependencies
▸ Run bunx oxlint
bunx oxlint
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
Found 0 warnings and 0 errors.
Finished in 1.2s on 752 files with 7 rules using 4 threads.
▸ Run cd packages/ui && bun run cn-tables && git diff --exit-code src/lib/cn-tables.ts
cd packages/ui && bun run cn-tables && git diff --exit-code src/lib/cn-tables.ts
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
$ cn build --full --css src/styles/theme.css -o src/lib/cn-tables.ts
cn build: all class groups kept (--full)
  → src/lib/cn-tables.ts (13.8 KB source, 5.4 KB gzip)
▸ Run bun run colors
bun run colors
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
$ bun scripts/check-colors.ts
colors: theme tokens only
▸ Run bun run test
bun run test
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
$ turbo run test && bun test scripts

   • Packages in scope: @lodesong/api, @lodesong/config, @lodesong/orpc, @lodesong/player, @lodesong/shared, @lodesong/ui, @lodesong/video, @lodesong/web
   • Running test in 8 packages
   • Remote caching enabled

▸ @lodesong/ui:typecheck
cache hit, replaying logs 727ab735bf64bfd3
$ tsc --noEmit -p .
▸ @lodesong/shared:typecheck
cache hit, replaying logs 33283a2e77915aef
$ tsc --noEmit -p .
▸ @lodesong/orpc:typecheck
cache hit, replaying logs 5494ebf638686193
$ tsc --noEmit -p .
▸ @lodesong/shared:test
cache miss, executing 91af0ea9598d7bd4
$ bun test src
bun test v1.4.2 (744846f84)

▸ src/vibe-fit.test.ts:
(pass) a song inside the range scores 1, and the score falls to 0 over the margin outside it [0.41ms]
(pass) every feature the mood constrains has to fit, the others don't count [0.14ms]
(pass) a playlist scores the average of its songs and says how it sounds [0.27ms]
(pass) reasons only name what the playlist really is, in the direction the mood wants [0.37ms]
(pass) a playlist is judged only when enough of it is analysed and it scores well [0.08ms]
(pass) every profile says what its search query says [0.53ms]


▸ src/search-query.test.ts:
(pass) operators become filters and chips, the rest stays the text [0.16ms]
(pass) artist - title and title by artist, and lyrics: takes the rest literally [0.07ms]
(pass) moment: finds songs by a moment's note, is:moment any song with one [0.05ms]
(pass) bpm:, energy: and mood: take ranges, levels and a word, and ignore what they can't read [0.07ms]


▸ src/artist-merges.test.ts:
(pass) the same artist in two spellings is one group, with every id and the albums summed [0.45ms]
(pass) the most common spelling shows, a tie goes to mixed case, and all caps gives way to mixed case [0.05ms]
(pass) a spelling the user picked wins, and an unmerged artist splits back to one group per id [0.07ms]


▸ src/normalize.test.ts:
(pass) normalization folds the differences people don't type [0.36ms]
(pass) trigram similarity forgives typos and missing spaces [0.18ms]
(pass) edit distance counts a swap of neighbours as one edit and stops early [0.33ms]


▸ src/vibes.test.ts:
(pass) what people type finds its vibe: its label, plurals, 'for the' and filler words [1.45ms]
(pass) band names, titles and short words are not moods [1.70ms]
(pass) a prefix names a vibe from 6 letters, an exact word wins over any prefix [0.34ms]
(pass) playlists fit by whole words, not by how they start [0.40ms]
(pass) genres fit however the library spells them [0.90ms]


▸ src/doctor.test.ts:
(pass) duplicates need the same artist and title and a length within 2 seconds [0.27ms]
(pass) an album under two artists with the same first word is split [0.22ms]
(pass) unusual formats: an odd container, or very low lossy bitrate [0.13ms]
(pass) health is the average share of items that pass [0.30ms]


▸ src/spotify-import.test.ts:
(pass) readTrack > reads Spotify's export, the library file and the web API shape [0.17ms]
(pass) readTrack > skips anything without a title and an artist (podcasts, local files) [0.07ms]
(pass) parseExport > merges playlist files and the library file [0.20ms]
(pass) parseExport > reads our own shape [0.04ms]
(pass) dedupe and csv > a repeated song once, case-insensitively [0.07ms]
(pass) dedupe and csv > missing list as CSV with quoting [0.13ms]
(pass) dedupe and csv > formula-looking cells are defused and CRs quoted [0.03ms]


▸ src/listen.test.ts:
(pass) the expected playhead moves with the clock only while playing [0.10ms]
(pass) small drift is left alone, larger is corrected [0.05ms]
(pass) client messages are validated and songs trimmed [0.30ms]


▸ src/dither.test.ts:
(pass) a seed gives the same dither every time and another seed another one [1.66ms]
(pass) every seed leaves some cells on and some off [2.78ms]
(pass) time moves the glow [0.20ms]
(pass) the path covers exactly the on cells of a real frame [1.16ms]


 39 pass
 0 fail
 173 expect() calls
Ran 39 tests across 9 files. [87.00ms]
▸ @lodesong/player:test
cache miss, executing fa1fa053cc58e86d
$ bun test src
bun test v1.4.2 (744846f84)

▸ src/lib/folder-cover-file.test.ts:
(pass) a picture too big at the first quality is encoded again smaller, and given up on only when nothing fits [0.65ms]


▸ src/lib/album-missing.test.ts:
(pass) lists the release tracks whose title the library lacks, ignoring case and accents [0.89ms]
(pass) punctuation-only titles don't collide and a repeated title needs each copy [0.08ms]
(pass) a missing track sits before the next owned song, numbered after its neighbour on the same disc [0.08ms]
(pass) the first track of disc 2 starts at 1 and stays on its own disc, whichever way the album numbers its songs [0.05ms]


▸ src/lib/i18n.test.ts:
(pass) every language has exactly the english keys, and messages pick the plural and fill in the count [1.65ms]


▸ src/lib/crossfade.test.ts:
(pass) continuesAlbum > the next track of the same album does [0.05ms]
(pass) continuesAlbum > a skipped track, another album, or no track numbers do not [0.04ms]
(pass) continuesAlbum > the first track of the next disc does [0.03ms]
(pass) fadeBetween > is 0 when off, for the same song, and inside an album [0.04ms]
(pass) fadeBetween > is the setting between unrelated songs, capped at 12 [0.02ms]
(pass) fitFade > shrinks to half of the shorter song [0.04ms]
(pass) equalPower > goes 0 to 1 and 1 to 0 with constant total power [0.19ms]
(pass) equalPower > scales each side by its ReplayGain factor [0.04ms]


▸ src/lib/now-playing.test.ts:
(pass) another device stays playing for the whole song, not just its first two minutes [0.03ms]


▸ src/lib/aura.test.ts:
(pass) determinism > the same id and songs give the same aura, another id another one [0.44ms]
(pass) determinism > hash, random stream and noise are stable and in range [0.30ms]
(pass) the look follows the music > loud music has more energy and less softness than quiet music [0.19ms]
(pass) the look follows the music > folk is organic, techno geometric [0.15ms]
(pass) the look follows the music > a BPM in the tags sets the tempo [0.08ms]
(pass) the look follows the music > nothing known still gives a valid aura, and the vibe is three words [0.32ms]
(pass) audio analysis > measured energy, valence and BPM beat the genre guess [0.20ms]


▸ src/lib/press-hold.test.ts:
(pass) a press is held until the click lands [0.17ms]
(pass) a press the browser cancels is let go [0.02ms]
(pass) a press that turns into a context menu is let go [0.01ms]
(pass) a press that turns into a drag is let go [0.01ms]
(pass) a press the window loses focus in is let go [0.01ms]
(pass) a press during which the tab is hidden is let go [0.02ms]
(pass) a press nothing ever releases is let go after a few seconds [0.02ms]
(pass) space is held from keydown until keyup, since that is when a button acts [0.04ms]
(pass) typing a letter holds nothing [0.01ms]


▸ src/lib/notify.test.ts:
(pass) at all, every notice shows [0.05ms]
(pass) at important, plain confirmations are dropped and anything you can act on stays [0.02ms]
(pass) at errors, only errors show [0.02ms]


▸ src/lib/album-browse.test.ts:
(pass) sortAlbums > sorts by name, year, plays and artist [0.40ms]
(pass) sortAlbums > random is deterministic for a given source and leaves the input alone [0.06ms]
(pass) matches > combines genre, years, unplayed and liked [0.10ms]
(pass) matches > an album without a year fails a year range [0.01ms]
(pass) release types > classifies, with compilations and unknowns handled [0.06ms]
(pass) release types > groups in a fixed order, newest first, without empty groups [0.17ms]
(pass) discStarts > is empty for one disc and lists first tracks for more [0.13ms]
(pass) genre page helpers > topArtists ranks by album count, then name, and skips albums without an artist [0.25ms]
(pass) genre page helpers > topSongs ranks by plays and keeps order for ties [0.10ms]


▸ src/lib/playlist-cover-view.test.ts:
(pass) a playlist without a saved choice keeps the mosaic; a dither or picture is read from its row [0.07ms]


▸ src/lib/eq.test.ts:
(pass) replay gain > tags give the track or album gain, held under the peak [0.08ms]
(pass) replay gain > a tag that is no number or no sane value never silences a song or blasts it [0.08ms]
(pass) equalizer maths > every preset has one value per band, within ±12 [0.06ms]
(pass) equalizer maths > clampGains pads, clamps and cleans junk [0.08ms]
(pass) equalizer maths > presetOf finds a preset by its gains [0.09ms]
(pass) equalizer maths > headroom takes the loudest boost off, and nothing for cuts [0.03ms]
(pass) equalizer maths > fromDb


▸ src/lib/snapshot-store.test.ts:
(pass) the first change after a quiet spell is written at once [0.30ms]
(pass) a burst of queue changes is the first write and one more after the burst [0.09ms]
(pass) a burst that never pauses still gets written within half a second [0.13ms]
(pass) a queue change that lands while an idle write waits is written once [0.06ms]
(pass) hiding the tab right after a change writes it, and the pagehide after that adds nothing [0.05ms]
(pass) leaving the page writes a change that was still waiting for an idle moment [0.02ms]
(pass) a tab that changed nothing leaves what another tab saved alone when it is hidden [0.02ms]
(pass) the tab that is playing writes its position when hidden [0.02ms]
(pass) an empty queue is not written before the saved one is read back [0.22ms]
(pass) a queue cleared before the saved one is read back stays cleared [0.11ms]
(pass) a read that never settles stops blocking after a while [0.09ms]
(pass) a queue saved by another account is not restored [0.05ms]
(pass) a queue saved by this account is restored [0.05ms]
(pass) a tab left on the old account writes nothing after the account changed elsewhere [0.06ms]
(pass) changing account drops the saved queue and the write that was waiting [0.11ms]
(pass) after an account change the new account's changes are written [0.07ms]
(pass) an emptied queue is written even though the saved one is still being read [0.10ms]


▸ src/lib/shortcuts.test.ts:
(pass) the default map has no two actions on the same key in a scope [0.88ms]
(pass) bindings follow the physical key and spell modifiers one way [0.13ms]


▸ src/lib/diagnostics-format.test.ts:
(pass) no hostile url keeps a credential, a host, an id or a private path [0.23ms]
(pass) a stream url keeps its path and the audio params only [0.06ms]
(pass) no hostile text keeps a credential, a host or an address [0.43ms]
(pass) ordinary media errors survive redaction [0.02ms]
(pass) an error is reduced to its name and code [0.07ms]
(pass) a part that throws becomes a failure that names the error and nothing else [0.14ms]
(pass) a response is reduced to the headers that decide how a browser plays it [0.09ms]
(pass) a healthy playback has no findings, and they come first when there are some [0.37ms]
(pass) the report holds no credential whatever the page was holding [0.17ms]
(pass) numbers are rounded and events and eq bands are one line each [0.12ms]
(pass) findings name a silent master gain, a suspended context and a muted player [0.20ms]
(pass) findings name a playing deck whose gain is 0 and say why [0.10ms]
(pass) a stream with no length, a silent graph and a media error are findings [0.11ms]
(pass) a stream the player downloaded whole is one finding that says it was handled [0.06ms]
(pass) a whole-stream download that failed or is still running is a finding [0.09ms]
(pass) the probe says it went through lodesong's own server [0.07ms]
(pass) a probe that fails is a finding [0.07ms]
(pass) a part that failed is named and the rest of the report still arrives [0.14ms]


▸ src/lib/import-plan.test.ts:
(pass) rows > buckets by confidence, and a hand-picked song is sure [0.12ms]
(pass) rows > counts, with skipped apart [0.07ms]
(pass) buildPlan > keeps playlist order, once each, leaves out missing and skipped, and prefixes the folder [0.20ms]
(pass) buildPlan > missingTracks lists what nothing matched or was skipped [0.07ms]


▸ src/lib/folder-import.test.ts:
(pass) a legacy group becomes a list of folders, and what nests past four levels joins the fourth [0.84ms]
(pass) a group with an empty or blank name still makes names the server takes [2.59ms]


▸ src/lib/folder-tree.test.ts:
(pass) folder tree: real folders hold placed playlists, the old naming still folds the rest, dead ids are ignored [0.52ms]


▸ src/lib/bar-mode.test.ts:
(pass) the bar's mode follows the window width [0.03ms]


▸ src/lib/decks.test.ts:
(pass) only WebKit engines get the whole-download fallback for streams without a length [0.06ms]
(pass) a gain that is not a number plays at unity instead of throwing in the audio graph [0.04ms]
(pass) the audio session is marked playback where the browser has one [0.03ms]
(pass) browsers without an audio session, or with a read-only one, are left alone [0.10ms]


▸ src/lib/settings.test.ts:
(pass) settings > the audio settings follow you to every browser, the stream quality does not [0.04ms]
(pass) settings > sanitize keeps values from the server in range and of the right type [0.11ms]
(pass) notifications level > a value from another browser is kept only if it is a level [0.02ms]


▸ src/lib/radio-pick.test.ts:
(pass) leaves out bans, dislikes, songs already played and artists with two strikes [0.21ms]
(pass) similar songs outrank the genre neighbourhood, and no artist takes more than two of a batch [0.07ms]
(pass) variety: familiar prefers songs you play, discover prefers ones you never did [0.07ms]
(pass) era and artist locks [0.06ms]


▸ src/lib/vibe-playlists.test.ts:
(pass) without the server's answer the names decide, whole words only, at most 4 [0.24ms]
(pass) the server's ranking and reasons are used, for playlists that still exist, at most 4 [0.08ms]
(pass) an answer for another mood is never shown [0.05ms]
(pass) a server answer with nothing in it shows nothing, even if a name matched before it came [0.02ms]
(pass) polling for the rest of the ranking stops once it is complete or after a few tries [0.04ms]
(pass) a playlist that fits by sound alone still says something, in every language [0.05ms]
(pass) every reason the server can give has words in every language [0.03ms]


▸ src/lib/install-help.test.ts:
(pass) arc is told it can't install, even though it looks like chrome; safari gets add to dock [0.07ms]


▸ src/lib/sidebar-width.test.ts:
(pass) sidebar width > a stored width is kept inside the limits and junk falls back to the default [0.04ms]
(pass) sidebar width > arrows nudge the width, shift goes further, home and end jump to the limits [0.04ms]
(pass) sidebar width > a drag released under 120 collapses and 120 itself does not [0.01ms]
(pass) sidebar width > a small window shows less than the stored width, zoom included [0.02ms]


▸ src/lib/format.test.ts:
(pass) clock pads seconds and switches to hours past 60 minutes [0.04ms]
(pass) fileFormat > lists codec, depth, rate and bit rate that are known [0.06ms]


▸ src/lib/throttle.test.ts:
(pass) a burst runs once at once and once more with the latest value, never twice inside a window [0.13ms]


▸ src/lib/drift-clock.test.ts:
(pass) a page of covers shares one timer, which stops with the last of them [0.11ms]
(pass) a cover that throws on its frame doesn't skip the covers after it [0.10ms]


▸ src/lib/fetch-rest.test.ts:
(pass) a run survives the page, stops on an error and resumes without re-adding [1.09ms]
(pass) a track whose status check fails is not added again on retry [0.18ms]
(pass) a long album is requested in one hour's worth and finishes on the next run [0.93ms]


▸ src/lib/releases.test.ts:
(pass) the home shelf keeps only releases from the last 7 days, today included [0.18ms]


▸ src/lib/when-quiet.test.ts:
(pass) steps run one after another, each after a quiet spell, and taps and keys push them back [393.56ms]
(pass) a tap never starts a step by itself, and a cancelled warm-up never runs [200.55ms]
(pass) data saver and 2g links get no warm-up [0.14ms]
(pass) without requestIdleCallback (Safari) the step waits a second more instead of landing in the same task [60.53ms]
(pass) a tap while the browser is about to run a step cancels that step [344.27ms]


▸ src/lib/look-code.test.ts:
(pass) every preset survives a trip through its code [0.26ms]
(pass) codes that are not ours decode to nothing [0.07ms]
(pass) the default look adds no css [0.22ms]


▸ src/lib/queue.test.ts:
(pass) queue > plays a context in order from the start song, then ends [0.20ms]
(pass) queue > your queue plays before the context and survives starting a new context [0.14ms]
(pass) queue > previous returns a queued song to the front of your queue and restores the context cursor [0.11ms]
(pass) queue > repeat all wraps around, and peekNext agrees with next [0.04ms]
(pass) queue > shuffle on reorders only what's left; off continues in natural order after the last context song [0.40ms]
(pass) queue > shuffled play starts with the chosen song and plays every song once [0.09ms]
(pass) queue > balanced shuffle never puts the same artist back to back when it can be avoided [0.93ms]
(pass) queue > jump, remove and clear act on the right part of the queue [0.26ms]
(pass) queue > move reorders within your queue and within the upcoming context, never past the current song [0.20ms]
(pass) queue > dragging an entry onto another takes its place, only within the same part of the queue [0.18ms]
(pass) a radio refills by appending to the context: the new songs play after the old ones, shuffle or not [0.24ms]
(pass) shuffle rules > never: skipped songs are left out of a shuffle [0.09ms]
(pass) shuffle rules > keep in order: an album stays together and in track order wherever the shuffle puts it [0.26ms]
(pass) shuffle rules > no rules, no change [0.09ms]


▸ src/lib/stream-quality.test.ts:
(pass) stream quality > original asks for the raw file [0.04ms]
(pass) stream quality > a transcode asks for a format and bit rate, with a length estimate for seeking [0.02ms]
(pass) stream quality > every listed quality is valid, the fallback among them, and junk is not [0.06ms]
(pass) stream quality > auto keeps kept songs original and streams the rest light; a fixed choice is never overridden [0.03ms]
(pass) stream quality > auto streams mp3 where the browser can't play opus; a fixed choice stays [0.01ms]


 155 pass
 0 fail
 649 expect() calls
Ran 155 tests across 33 files. [1093.00ms]
▸ @lodesong/video:test
cache miss, executing 051b6f192ef5251e
$ bun test src
bun test v1.4.2 (744846f84)

▸ src/features.test.ts:
(pass) 202 features, unique ids, numbered 1 to 202 [0.46ms]
(pass) the tour is 7601 frames and the frame table equals the storyboard [0.13ms]
(pass) every range sits in its chapter, lasts 30 frames, and chips fit their host [6.37ms]
(pass) each feature owns one cue on its first frame [0.18ms]


▸ src/audio-voices.test.ts:
(pass) every voice ends at least 60 dB under its own peak, so nothing ends in a click [1315.68ms]
(pass) the kick is tuned and short: it does not ring for the whole beat [0.57ms]


▸ src/audio-cues.test.ts:
(pass) each film is sorted, unique and inside its length [1.18ms]
(pass) every film's score follows the edit's own tempo map [0.03ms]
(pass) every segment names a mood and the tempo map only ever speeds up into the finale [0.15ms]
(pass) the clock is piecewise: beat frames are integers and increase, cuts sit on the tempo of their shot [0.10ms]
(pass) kicks follow the tempo of their section to the sample [1.16ms]
(pass) sections tile each film without gaps [0.10ms]
(pass) every manifest event owns a sound on its own frame, unless the silence gate owns that frame [0.63ms]
(pass) every film ends on eight frames of silence and then a hit, and the film keeps ringing after it [0.15ms]
(pass) the drop is announced: riser, roll and a short silence right before the impact [0.62ms]
(pass) the motif is the six notes E A C B G A and it comes back in every film's drop [0.38ms]
(pass) chords move by small steps: no voice jumps more than a fifth between neighbours [0.41ms]
(pass) voice leading keeps common tones in place [0.16ms]
(pass) risers, whooshes and swells carry a length that ends inside the film [0.28ms]
(pass) the ritardando ends on the picture's own frame, so the last hit lands where the shot expects it [0.09ms]
(pass) every tour feature owns a sound within one frame of its first frame [0.29ms]


▸ src/captures/film-manifest.test.ts:
(skip) every plate and video the manifest names is a file in public/film
(pass) every capture points at a recipe and plate that exist, and no feature is served twice [1.74ms]
(pass) boxes are real rectangles inside their plate, in CSS pixels [0.25ms]
(pass) lookups give the plate, its box, its scale and its static path [0.43ms]
(pass) a capture lists the features that ride on it, and a feature finds its capture [0.06ms]
(pass) the featured song's words come out in time order with their line [0.15ms]


▸ src/design/lens.test.ts:
(pass) camTo puts the box centre on the middle of the frame [0.10ms]
(pass) camToBox keeps the frame inside the plate when the target hugs an edge [0.13ms]
(pass) plate keys arrive on their beat and hold [0.17ms]
(pass) the cursor is on each stop when its beat arrives and presses on the click frame [0.76ms]
(pass) the cursor path bows off the straight line instead of sliding [0.04ms]
(pass) a whip rests at both ends and its blur peaks in the middle [0.15ms]
(pass) karaoke words tile the line and the fill only moves forward [0.23ms]
(pass) the connection pulse starts on one device and ends on the other [0.11ms]
(pass) focus racks between keys and blur is zero on the focal plane [0.15ms]


▸ src/design/beat.test.ts:
(pass) the hero ramp is 126 beats [0.01ms]
(pass) beat is strictly increasing and integer, also between beats [0.46ms]
(pass) every shot boundary lands within half a frame of its ideal second [0.08ms]
(pass) bpm steps up at each boundary and seconds follow the local tempo [0.06ms]
(pass) beatAtFrame inverts beat [0.03ms]
(pass) gridBeat keeps the old 120 bpm grid [0.02ms]


▸ src/scenes/timelines.test.ts:
(pass) the hero is 15 shots, 3681 frames, tiled without gaps [0.07ms]
(pass) the cutdown runs about 15 s on its own ramp [0.02ms]
(pass) local beats follow the shot's own tempo and join the next shot [0.06ms]
(pass) chapters group consecutive shots [0.09ms]
(pass) a capture event lands on the shot-local frame its time and rate say [0.04ms]
(pass) any shot list becomes a film, so the tour only needs its own table [0.10ms]


▸ src/scenes/cutdown.test.ts:
(pass) every cue of a cut lands inside that cut [0.12ms]
(pass) the readme loop is 10 s so it can run at 30 fps without a remainder [0.01ms]


▸ src/scenes/s10-plan.test.ts:
(pass) the keyboard storm is two-beat moments that tile the shot, each held about a second with every key inside it [0.09ms]
(pass) yours is four equal flashes held about a second, with no jargon chips, and it ends on 8 silent frames [0.15ms]
(pass) the land types the README command from the first frame, enters on a beat and breathes 8 frames before the last hit [0.16ms]


▸ src/scenes/legacy-timelines.test.ts:
(pass) shots tile 60 beats for the hero and 30 for the cutdown [0.03ms]
(pass) every text item holds 0.5 s plus 0.3 s per word fully visible [0.04ms]
(pass) every event sits on the quarter-beat grid and inside its shot [0.09ms]
(pass) UI hits land on odd beats [0.04ms]


▸ src/scenes/shots-lens-b.test.ts:
(pass) every cue of S4, S5, S6 and import lands inside its beat budget and in order [0.11ms]
(pass) import is a shot component [0.01ms]
(pass) the queue gives way row by row as the dragged row climbs: four rising ticks [0.03ms]


▸ src/scenes/s7-s9-cues.test.ts:
(pass) S7 to S9 and notch cue lists > mood: every cue lands inside its shot [0.05ms]
(pass) S7 to S9 and notch cue lists > session: every cue lands inside its shot
(pass) S7 to S9 and notch cue lists > shells: every cue lands inside its shot
(pass) S7 to S9 and notch cue lists > notch: every cue lands inside its shot


▸ src/scenes/open-timeline.test.ts:
(pass) every text item holds 0.5 s plus 0.3 s per word fully visible [0.04ms]
(pass) cues and text sit on the beat grid, UI hits on beat 2 or 4 [0.18ms]


▸ src/scenes/shots-a.test.ts:
(pass) every cue of S1 to S3 lands inside its shot, in order [0.15ms]
(pass) the lyric is typed before the results land, and the keys come before the whip [0.04ms]


1 tests skipped:
(skip) every plate and video the manifest names is a file in public/film

 67 pass
 1 skip
 0 fail
 2978 expect() calls
Ran 68 tests across 14 files. [1.61s]
▸ @lodesong/api:test
cache miss, executing 72e79babfc8484d0
$ bun test src
bun test v1.4.2 (744846f84)

▸ src/compress.test.ts:
(pass) compresses json the browser accepts, leaves small bodies and audio alone [6.92ms]


▸ src/origin-of.test.ts:
(pass) without a trusted proxy the forwarded headers are ignored [0.10ms]
(pass) behind a trusted proxy the first forwarded host and protocol count [0.12ms]
(pass) a configured public address beats everything else [0.02ms]


▸ src/mixes.test.ts:
(pass) plays count by artist and title even when the song's id changed, and artists played together share a mix [5.95ms]
(pass) discover weekly is only songs you never played; the daylist follows what you play at that hour [4.85ms]
(pass) release radar is new songs by artists you follow; on this day is what you played a year ago [10.10ms]
(pass) the cache key for made for you changes with a play or a never pref, and only then [2.14ms]
(pass) a day's daily mix is kept all day, and the next days steer away from it [14.38ms]
(pass) seeds rotate through your top artists week to week [13.55ms]
(pass) accounts don't see each other's mixes, and cleaning one account leaves the other [3.61ms]
(pass) mixes older than 14 days are cleaned and only the last 3 days are avoided [35.77ms]
(pass) a small library still gets a full mix on the next day [6.23ms]
(pass) a day far from the server's is pulled back, so it can't wipe or flood the history [0.08ms]
(pass) the same song under two ids shows once, and a repeat of the day's mix is identical [3.18ms]
(pass) stored mixes whose songs are gone aren't served empty [2.37ms]
(pass) a short list made early in the day grows when more artists qualify [2.65ms]
(pass) a day that regenerates after songs vanish stays the same on the next calls [5.49ms]
(pass) a corrupt stored row is skipped instead of failing the mixes [5.09ms]
(pass) artists next to the artists next to a seed join its mix at a lower weight [8.00ms]
(pass) a mix draws on at most 15 artists [18.78ms]
(pass) a seed is joined by the five artists it was played next to most [6.01ms]
(pass) one artist takes at most a fifth of a mix while others have songs left [7.11ms]
(pass) groups of artists played together still make a mix each, even when one link joins them [5.68ms]
(pass) a song under two ids doesn't take two of the fifty slots [4.07ms]
(pass) a stored day replays the same after a never pref and after the index changes [10.01ms]
(pass) songs you replayed come before songs you played once [19.79ms]
(pass) at the same recency, a like outweighs a hundred replays [2451.01ms]
(pass) songs you skip sink, but one skip doesn't sink a song you replay [440.26ms]
(pass) a liked song you keep skipping and never finish sinks [4.78ms]
(pass) songs left alone for a while come up before ones you just played [3.73ms]
(pass) a recently played like still beats a song left alone [3.87ms]
(pass) one account's skips are its own, and songs with the same taste differ between accounts [9.63ms]
(pass) someone who never repeats gets mostly songs they haven't played [3.65ms]
(pass) someone who plays the same songs over and over gets mostly songs they know [7.79ms]
(pass) half of what's new in a mix is songs you never played by artists played next to it [11.70ms]
(pass) when audiomuse has analysed the library the new songs are the ones that sound like the mix [13.43ms]
(pass) the sound-alike songs rotate between accounts [26.21ms]
(pass) a stored day with a discovery lane replays the same after likes and analysis change [30.54ms]
(pass) a song set to never after the day is stored leaves it without a refill, and the day replays that way [30.12ms]
(pass) songs set to never stay out of the discovery lane, whether it is found by sound or by company [26.38ms]
(pass) a mix still fills when every song of its neighbours was played [2.74ms]
(pass) skips never count as plays: not in what you played, your top artists, a song's last play or the daylist [1.74ms]
(pass) only the last 30 days say how much you repeat [3.20ms]
(pass) one skip dents a liked song but doesn't sink it below songs you never touched [2.95ms]
(pass) a day made while the likes are unknown isn't kept, and one made with them replays [13.36ms]
(pass) an artist that is a seed's fifth neighbour doesn't start a second mix around the same artists [4.43ms]
(pass) a seed's neighbours without songs in the library don't take its slots [4.87ms]
(pass) a one-artist library still fills the mix from songs you have played [2.44ms]
(pass) release radar shows the newest copy of a song, whichever id comes first [1.82ms]
(pass) a song set to never stays out under every id it has [1.48ms]
(pass) release radar needs a follow: none for a light listener, none once unfollowed, and a follow changes the mixes version [1.85ms]
(pass) release radar follows an artist you play often without you following them yourself [1.67ms]


▸ src/artist-genres.test.ts:
(pass) untagged albums get their artist's musicbrainz genres, cached, and tagged ones stay untouched [2.66ms]


▸ src/playlist-folders.test.ts:
(pass) create: a folder needs a parent that is yours, a sane name, and room under the depth and count limits [1.45ms]
(pass) move: nesting counts what is inside, never into itself, and only your own folders [1.46ms]
(pass) remove: what is inside moves up to the parent, or to the top, and nothing of another account moves [1.42ms]
(pass) two accounts with the same folder and playlist ids: removing, placing and forgetting only touch the caller's [1.56ms]
(pass) place: only into your own folder, and an account holds a bounded number of placements [6.94ms]
(pass) cover: set, replaced, cleared, and the list only carries its version [1.22ms]
(pass) import: a tree lands in one go, and a refused entry leaves nothing behind [1.75ms]
(pass) import: a playlist counts once however often it is listed, and the account cap holds for the whole tree [14.10ms]
(pass) import: the request is bounded as a whole, not only per folder [6.92ms]
(pass) a picture's data url is capped before it is decoded [0.67ms]


▸ src/appears-on.test.ts:
(pass) appears on is albums by others with this artist on a song, in the folders you can see [2.35ms]


▸ src/likes.test.ts:
(pass) ids come from every kind of starred item, and bad entries or shapes are skipped [0.13ms]
(pass) the key follows the likes and not their order, and an unknown answer has its own [0.08ms]


▸ src/radio.test.ts:
(pass) radio bans are per account, newest first, and can be lifted [1.42ms]


▸ src/lrc-writer.test.ts:
(pass) LrcWriter > writes next to the audio file, from a relative or a differently mounted absolute path [1.34ms]
(pass) LrcWriter > never leaves the folder, never writes without the audio file [0.35ms]
(pass) LrcWriter > never overwrites an existing file [0.42ms]
(pass) LrcWriter > undo removes only files still as written [0.80ms]


▸ src/lyrics.test.ts:
(pass) titles lose the noise lyric databases don't have [1.52ms]
(pass) search results match by length: within 2 s yes, beyond 5 s never [0.18ms]
(pass) Navidrome first, then LRCLIB search by normalized title and closest length; misses cached, outages not [6.30ms]
(pass) other languages from Navidrome come along as translations, aligned by time [0.23ms]


▸ src/folder-cover.test.ts:
(pass) a cover counts only when it decodes as the type it claims, within the byte and pixel limits [12.49ms]
(pass) the cover response is 404 with none, 304 for the version the browser has, and the bytes with their type otherwise [0.76ms]


▸ src/api.test.ts:
(pass) the proxy replaces any client credentials with the session's [1.63ms]
(pass) the proxy refuses unlisted endpoints, missing sessions and non-media calls without the CSRF header [0.37ms]
(pass) a stream the browser drops is dropped upstream too [3.59ms]
(pass) a transcode with no length reaches WebKit with its real Content-Length [15.83ms]
(pass) other browsers keep the progressive stream, and raw files are never held back [1.05ms]
(pass) a ranged answer is passed through as it came [0.35ms]
(pass) only admins see or rebuild the search index [0.54ms]
(pass) a terminal token reads what the playing player plays and skips it; the cookie alone gets nothing [5.71ms]
(pass) release covers stay off without MusicBrainz and never reach out for a bad id [0.33ms]
(pass) album tracks: signed-out, bad id, cached by lowercase id, rate limited, and a 404 is remembered [6.60ms]


▸ src/upload.test.ts:
(pass) an upload keeps its folders but can't leave the inbox or be anything but music [0.13ms]


▸ src/mix-pool.test.ts:
(pass) equal weights are broken alphabetically, and artists missing from the library never take a slot [0.15ms]
(pass) the second ring fills what is left of the pool alphabetically when weights tie [0.24ms]
(pass) an artist next to a close one outranks a weakly linked close one [0.05ms]


▸ src/spool.test.ts:
(pass) a body under the limit becomes a blob that knows its size [3.32ms]
(pass) past the limit the same bytes keep streaming, in order [4.38ms]
(pass) only WebKit is held for a length [0.04ms]


▸ src/memo-async.test.ts:
(pass) the first call loads, later calls share it, and a failure is retried instead of cached [0.18ms]


▸ src/wishlist.test.ts:
(pass) any signed-in user adds songs, the public demo can't, and the token never leaves the server [6.63ms]
(pass) a name search returns candidates with covers inlined from known hosts only [3.36ms]
(pass) lyterion's reason comes through, and a busy run is a conflict [5.40ms]
(pass) a preview cover is inlined only from known image hosts [3.02ms]
(pass) an unknown step is a 404 and never reaches lyterion [3.31ms]
(pass) searches are counted per account, so a new session doesn't reset them [7.32ms]
(pass) search covers are inlined, and a big one is dropped by the smaller search cap [4.31ms]


▸ src/share-card.test.ts:
(pass) an album card carries artist, year, song count and length [0.56ms]
(pass) an artist counts albums and the songs on them [0.07ms]
(pass) a playlist without art gets a mosaic of its first distinct covers [0.10ms]
(pass) a song shows artist and album, and its length as a clock [0.08ms]
(pass) an item without a name has no card [0.01ms]
(pass) letters the fonts lack show as an ellipsis, never vanish, and emoji drop quietly [4.13ms]
(pass) a title with nothing drawable is replaced by the artist, then by the kind [0.35ms]
(pass) long titles shrink and the longest word must fit the column [0.13ms]
(pass) text kept on a card is cleaned and capped, and a playlist cover id must be a plain id [0.40ms]
(pass) markup in a title is drawn as text, never as elements [234.76ms]


▸ src/follow-sync.test.ts:
(pass) spotify artists are followed once a day, never touching what you chose here [2.29ms]
(pass) a lyterion that does not answer follows nothing and is asked again [0.91ms]


▸ src/share-store.test.ts:
(pass) each account keeps its own row for an item, and sharing again refreshes that row only [1.96ms]
(pass) the same item id on another server is another row [0.95ms]
(pass) only the owner removes a share, and then it is gone [0.99ms]
(pass) a share expires with its row and expired rows are cleaned up [1.01ms]
(pass) sharing again pushes the expiry out [0.98ms]
(pass) an account can share only so many items, but can still refresh and free a slot [1.05ms]
(pass) the default limit is 200 shares per account [3.66ms]
(pass) a row that does not hold a valid card reads as no share instead of throwing [1.52ms]
(pass) accounts are matched however the name was typed [1.12ms]
(pass) expired rows are gone as soon as the store opens [1.42ms]
(pass) a share keeps its art until it is shared again, removed or expired [1.30ms]
(pass) shares whose owner has had no login for the grace period are dropped, and a login in between saves them [1.23ms]
(pass) when the signing key changes every old share goes, and the same key keeps them [1.44ms]
(pass) clear removes every share [1.05ms]


▸ src/login.test.ts:
(pass) signing in says what went wrong, so a broken setup can be told from a typo [2.33ms]


▸ src/lyrics-search.test.ts:
(pass) finds the line, with context and where it starts, ignoring apostrophes and line breaks [6.93ms]
(pass) forgives misspellings, ranks phrases first and keeps other folders out [4.60ms]
(pass) lyrics cached after a search can be found by a misspelling straight away [3.32ms]


▸ src/artist-merges.test.ts:
(pass) artist merges: kept per account, and a reset puts the artist back to the default [1.11ms]


▸ src/rate-limit.test.ts:
(pass) three free failures, then the wait doubles, and success resets it [0.07ms]


▸ src/card-image.test.ts:
(pass) a finished card is kept and reused, the oldest goes first, and one still being drawn is shared [0.41ms]
(pass) a card missing a cover is reused for a minute, then drawn again and kept once it is whole [0.15ms]
(pass) incomplete cards are held only a few at a time and never push whole ones out [0.26ms]
(pass) a pinned card is drawn once, outside the queue, and a failed draw is tried again [0.17ms]
(pass) the default keeps the 48 newest finished cards [0.41ms]
(pass) a render gets 20 seconds by default [0.13ms]
(pass) by default 8 cards may wait at once and the 9th is refused [30.35ms]
(pass) only two cards are drawn at once [15.48ms]
(pass) a card over a worst-case noisy cover stays under the 300 KB chat apps allow [823.42ms]
(pass) a card that fits the budget is encoded at the first quality, 90 [126.47ms]


▸ src/og.test.ts:
(pass) a crawler gets the generic card without a signed link, the real album and a JPEG with one [425.19ms]
(pass) a tampered or borrowed token falls back to the generic card [1.45ms]
(pass) a signed-in browser sees the real album without a token, and a forwarded host changes nothing [0.59ms]
(pass) image caching follows who asks: a member's stays private, a link's and the generic one are public [359.81ms]
(pass) two members sharing one album keep their own snapshots and links [3.60ms]
(pass) unsharing ends every link made from the share, and only its owner can do it [2.40ms]
(pass) sharing needs a sign-in, the header, an item the member can open, and is off in the public demo [4.84ms]
(pass) a member who creates links too fast is told to wait [11.65ms]
(pass) a card whose art could not be fetched is served for a minute without drawing again [56.87ms]
(pass) sharing keeps a copy of the art, so the card still has it once the owner is signed out [2.23ms]
(pass) a copy of the art over the size bound is not kept [138.38ms]
(pass) control and bidi characters never reach the tags, and long names are cut [0.93ms]
(pass) the public address comes from config, and forwarded headers only count behind a trusted proxy [7.17ms]
(pass) the og tags are cut to length whatever the album says [0.77ms]
(pass) a full share list is refused with a message instead of growing [5.33ms]
(pass) a burst of different cards is answered 503 with a retry time once the render queue is full [2845.45ms]
(pass) two servers with the same card id and different covers draw their own image [731.93ms]
(pass) a member flooding card urls is stopped before any lookup, and everyone else still gets cards [404.51ms]
(pass) one address is limited too, however many accounts or links it uses [43.38ms]
(pass) the generic card is served even while the render queue is full [750.22ms]
(pass) alice and ALICE are one account: one list, one cap, one rate limit, and either can stop a share [2139.10ms]
(pass) a card cached for one account is not handed to another that cannot see it [2.02ms]
(pass) the member list needs the app header like every other call [0.28ms]
(pass) a share request body over 4 KB is refused, and 4 KB exactly is not [1.15ms]
(pass) a lookup that takes longer than two seconds gives the generic card instead of holding the page [2000.59ms]


▸ src/search-index.test.ts:
(pass) finds through accents, typos, missing spaces and punctuation, best match first [5.36ms]
(pass) results stay inside the folders the user may see [2.72ms]
(pass) rebuilds only after a new scan or a day, and drops what Navidrome no longer has [4.42ms]


▸ src/remote.test.ts:
(pass) the lyric line is the one sung at the playhead, with the user's nudge [0.11ms]
(pass) navidrome's now playing gives this user's latest song still within its length [0.07ms]


▸ src/public-url.test.ts:
(pass) only a bare http(s) origin is accepted [0.06ms]
(pass) a port out of range, a broken address, a login, a path or a query are all refused [0.07ms]


▸ src/audiomuse.test.ts:
(pass) sync keeps only valid analysed songs the index knows, and status counts them [3.56ms]
(pass) sonic neighbours are index songs the person may see, without the seed itself [1.57ms]
(pass) smart shuffle flows by tempo and key, builds energy up and leaves unanalysed songs last [0.29ms]
(pass) features are only handed out for songs in the caller's folders [1.41ms]


▸ src/settings.test.ts:
(pass) one env var is enough: everything else has a working default [0.59ms]
(pass) several servers come from NAVIDROME_SERVERS, and bad entries are named [0.19ms]
(pass) every bad value is reported at once, each naming its variable [0.13ms]
(pass) DEMO_SEED needs the account it seeds [0.18ms]
(pass) AUDIOMUSE_URL is optional and must be a URL [0.13ms]
(pass) PUBLIC_URL loses a trailing slash, and a value that passes a regex but is not an origin is an error [0.24ms]
(pass) SHARE_PURGE is off unless asked for [0.13ms]
(pass) only a public demo with its own account signs visitors in; the index account never does [0.25ms]


▸ src/doctor.test.ts:
(pass) the doctor reads the index and reports what's missing [1.27ms]


▸ src/devices.test.ts:
(pass) starting to play takes the session: the old device stops, the others follow [0.28ms]
(pass) commands reach only the playing device; a transfer hands it the playhead [0.24ms]
(pass) the playing device closing keeps where it stopped for the next one [0.16ms]
(pass) a volume command reaches only the playing device, and a bad volume is dropped [0.26ms]


▸ src/import-match.test.ts:
(pass) an ISRC match is certain [0.09ms]
(pass) title and artist agree, and the duration breaks ties between versions [0.09ms]
(pass) finds the song through accents, case and a trailing credit, and offers the alternatives [1.65ms]
(pass) a typo still finds it, with a lower confidence, and a song we don't have finds nothing [1.76ms]
(pass) folders the user may not see are never offered [1.19ms]
(pass) an ISRC finds the song even when the title is unrelated [1.21ms]


▸ src/rpc.test.ts:
(pass) the typed client reaches the procedures signed in, is turned away signed out, and bad input never runs [8.77ms]
(pass) over plain HTTP: a bearer token signs in, a cookie needs the CSRF header, the spec lists the procedures [13.40ms]
(pass) the terminal's token only reaches what's playing; an api token made in settings reaches the api [1.04ms]
(pass) neither token counts as the browser cookie [0.98ms]
(pass) an integration lifts a radio ban with the song id in the path [1.56ms]
(pass) the songs you like in navidrome lead your daily mix [16.39ms]
(pass) a day made while navidrome's likes failed isn't kept, so the likes lead it once they are back [20.34ms]
(pass) a hung navidrome holds the mixes for a couple of seconds, not for the whole upstream timeout [2011.42ms]
(pass) a malformed starred entry degrades to the entries that are fine [10.07ms]
(pass) a like added or removed shows in the next mixes, per account, and a failing navidrome keeps the last likes [18.15ms]
(pass) playlists for a mood: signed in only, the words are bounded, and plain HTTP reaches it [5.10ms]
(pass) a slow groq never holds the daily mixes, and its mixes join once it answers [6512.34ms]
(pass) a groq run that fails still returns the daily mixes [8.57ms]


▸ src/csp-report.test.ts:
(pass) logs both report formats and drops the flood past the per-minute cap [0.77ms]
(pass) rejects a huge or malformed body [0.14ms]
(pass) a page address is logged without its query or fragment, which can hold a share token [0.11ms]
(pass) a fragment, a query or a line break cannot carry a token into the log [0.18ms]


▸ src/backfill.test.ts:
(pass) walks the library song by song, resumes from its saved position, and slows down when LRCLIB is down [5.43ms]


▸ src/search.test.ts:
(pass) artist - title and title by artist pick that song first, and a name you typed exactly is the top result [3.57ms]
(pass) operators filter every group, alone or with text [0.96ms]
(pass) your likes, not the indexing account's: they rank first and is:liked keeps only them [0.90ms]
(pass) bpm:, energy: and mood: need analysed songs and only ever match songs [1.26ms]


▸ src/public-demo.test.ts:
(pass) the public demo has no admins, no tokens and no playlist deletes; a normal server keeps them [8.34ms]
(pass) the demo signs a visitor in without a password, and only when it is a public demo [8.86ms]
(pass) wrong passwords can't lock the demo's visitors out [6.92ms]
(pass) sign-ins are counted by the address the proxy appended, per address and in all [90.92ms]
(pass) the demo keeps a bounded number of sessions, and visitors can't see or end each other's [4.66ms]


▸ src/covers.test.ts:
(pass) sizes snap up to the ladder [0.03ms]
(pass) a cover is fetched once, even for concurrent requests, then served from disk as webp [2.25ms]
(pass) the least recently used covers go first when the cache is full [4.35ms]
(pass) a gate runs at most its limit at once and still finishes every task [20.44ms]


▸ src/folders-rpc.test.ts:
(pass) inputs are bounded and refused with their own reason: long names and ids, an empty parent, a missing or foreign parent [11.68ms]
(pass) place answers just ok, only for a playlist that exists and a folder that is yours, and each account has its own [8.68ms]
(pass) a picture is checked for real, kept out of the list, and served to its owner only with a version to cache by [5.54ms]
(pass) the picture is yours alone to fetch: another account, a terminal token and a signed-out request are all turned away [4.07ms]
(pass) the public demo takes new folders, and only a few, but nobody edits or deletes the shared ones [7.17ms]
(pass) import makes the whole tree or nothing, and refuses playlists that are not there [5.20ms]
(pass) when Navidrome can't be asked, place and import say so instead of calling the playlist missing [5.21ms]
(pass) deleting a playlist through lodesong drops its folder placement, for that account only [6.65ms]
(pass) a playlist cover is the mosaic until the dither or a real picture is chosen, and each account sees only its own [7.47ms]
(pass) a playlist picture is private, cached by etag, refused in the demo, and swept when its playlist is gone [7.77ms]
(pass) deleting a playlist through the proxy drops its cover, even though the playlist id is still known upstream [4.00ms]
(pass) artist merges stop at a cap per account, and the public demo refuses them [59.31ms]


▸ src/playlist-mood.test.ts:
(pass) ranks by how the songs fit plus the name, and says why [4.59ms]
(pass) without AudioMuse features only the name counts, and the answer says so [1.61ms]
(pass) words mean their mood, unknown words mean none and cost no calls [1.39ms]
(pass) two accounts never see each other's playlists [2.09ms]
(pass) accounts whose listings look the same still get their own answers [2.59ms]
(pass) the answer is cached, only changed playlists are read again, and features or playlist changes refresh it [4.05ms]
(pass) a playlist is read again when only its change stamp or only its size moved [2.29ms]
(pass) a cached answer is kept for ten minutes [2.08ms]
(pass) a rename refreshes the answer [1.58ms]
(pass) a playlist that can't be read yet is left out, the rest answers, and the next ask reads only that one [2.85ms]
(pass) a playlist that never reads is given up on after three tries, for that account and that version of the playlist [3.35ms]
(pass) a playlist that was given up on is tried again after ten minutes [2.90ms]
(pass) a playlist edited while the first read is still going is not answered from its old songs [153.32ms]
(pass) listing order never decides: equal playlists come in the same order whichever way they arrive [2.66ms]
(pass) a playlist that is only partly analysed ranks below one that is fully analysed with the same sound [1.76ms]
(pass) a name match adds enough to beat a better sound, but a name alone doesn't beat a perfect sound [2.13ms]
(pass) asking at once reads the playlists once, and never more than 8 at a time [30.90ms]
(pass) reading stops at the time budget and says it isn't done [2.08ms]
(pass) nine slow playlists still fit the time budget [243.22ms]
(pass) only the first 2000 playlists are listed [4.03ms]
(pass) a huge playlist keeps its first 2000 songs [2.84ms]
(pass) Navidrome not answering is an error, not an empty answer [1.21ms]


▸ src/stats.test.ts:
(pass) listening stats > tops, minutes, skips, discovery and the clock [1.90ms]
(pass) listening stats > streaks count consecutive days, still going if the last was yesterday [0.05ms]
(pass) listening stats > forgotten favourites: played a lot, not lately [1.11ms]


▸ src/prefs.test.ts:
(pass) song rules: set, change one field, validate trims, and an all-default row disappears [1.21ms]
(pass) album rules keep their name and go when both flags are off [1.13ms]


▸ src/read-capped.test.ts:
(pass) a body up to the cap is read whole, one byte over is refused [0.17ms]
(pass) a body that does not say how long it is is still cut off [0.09ms]
(pass) multi-byte text counts in bytes [0.07ms]


▸ src/releases.test.ts:
(pass) an artist is matched only on an exact name and a sure score, never between two equal candidates [0.09ms]
(pass) release dates: a bare year is too vague, only the last 90 days and the next 30 are new, known ones are skipped [0.16ms]
(pass) the artists you play most are followed for you, an unfollow sticks, a pin stays [1.22ms]
(pass) a check resolves the artist once, stores only new release groups and lists the recent ones not in the library [1.91ms]
(pass) marking a release seen sticks for that account only [1.20ms]
(pass) a release's tracks come back in order across discs, with lengths [0.13ms]
(pass) only a real 404 means a release has no tracks; a failure is null [0.09ms]


▸ src/mix-discovery.test.ts:
(pass) the lane is half of what's left, from the artists nearest in sound [0.46ms]
(pass) equally near songs rotate with the seed [0.28ms]
(pass) one artist takes at most the cap, played songs never come back, and songs from the last days wait [0.54ms]
(pass) songs you skipped are left out of the sound lane and songs you like come a little earlier [0.21ms]
(pass) a thin lane stays thin rather than serve songs you skipped, and a liked song far in sound doesn't beat the near ones [0.28ms]
(pass) a thin sound lane is topped up with the artists played next to the mix, without repeating a song [0.35ms]
(pass) without analysis the lane is the artists played most next to the mix, walking past those with nothing left to offer [0.73ms]
(pass) the company lane keeps to the cap, to unplayed songs, and sends songs from the last days to the back [0.43ms]
(pass) the artists played most next to the mix come first, then alphabetically, and within an artist liked songs lead and skipped ones trail [0.44ms]
(pass) a lane has nothing to offer when nothing is analysed and nobody was played next to the mix [0.04ms]
(pass) someone who never repeats gets 40% familiar songs, a heavy repeater up to 85%, and no one more than a looped song allows [0.06ms]


▸ src/health.test.ts:
(pass) health names each server and whether it answers, without its URL [2.65ms]
(pass) health says it is a demo only when told so [0.29ms]
(pass) the update check stays quiet unless turned on [0.52ms]
(pass) versions compare by number, not as text [0.03ms]


▸ src/moments.test.ts:
(pass) moments: many per song, per account, edited and deleted only by their owner [1.69ms]


▸ src/weekly-playlists.test.ts:
(pass) weekly playlists come from one cached groq call, keep to your artists, and no artist takes over [3.52ms]


▸ src/import-metadata.test.ts:
(pass) only missing tags are filled; a tag the file already has is offered as a replace, never applied [10.01ms]


▸ src/card-text.test.ts:
(pass) clean composes accents, drops control and bidi characters, flattens lines and caps the length [0.09ms]
(pass) the fonts' own glyph tables decide what is drawn: Vietnamese and Cyrillic yes, CJK, Arabic, Hebrew and Thai no [0.11ms]
(pass) a run of letters the fonts lack becomes one ellipsis, while emoji and stray marks vanish [0.11ms]
(pass) the card's colours are the player's dark theme tokens [0.23ms]
(pass) joiners stay inside emoji sequences and Persian words, and go everywhere else [0.03ms]
(pass) a joiner left over from a dropped emoji or an unsupported word draws nothing [0.05ms]


▸ src/feedback.test.ts:
(pass) a screenshot goes to the feedback branch, never the default one, and the issue links it [0.62ms]
(pass) a long first line is cut for the title [0.04ms]


▸ src/lrc.test.ts:
(pass) several timestamps on one line, sorted, with ends from the next line [0.15ms]
(pass) BOM, CRLF, blank timed lines and fractions of any length [0.12ms]
(pass) [offset:] shifts every time (positive is earlier), never below zero [0.05ms]
(pass) Enhanced LRC word timings [0.11ms]


▸ src/history.test.ts:
(pass) a short listen that didn't finish is a skip; pages go back in time, per account [1.68ms]


▸ src/share-token.test.ts:
(pass) a token opens exactly the item it was signed for, and names its share [0.14ms]
(pass) a token cannot be moved onto another share row [0.05ms]
(pass) a changed token, another secret or no token opens nothing [0.10ms]
(pass) a token lives for the configured time and not a moment longer [0.15ms]
(pass) a default token is good for 180 days [0.05ms]
(pass) an image token cannot be turned into a page token [0.09ms]
(pass) the fingerprint follows the secret and never contains it [0.06ms]


▸ src/listen.test.ts:
(pass) the host's state reaches listeners stamped with the server clock; a listener's can't [0.68ms]
(pass) a room is only joinable from its own server [0.04ms]
(pass) anyone can add; skip is the host's unless allowed [0.12ms]
(pass) ending the room tells everyone; a host who stays away ends it after the grace [80.63ms]
(pass) in party mode with anyone can skip, a listener can play or pause the host; otherwise only the host can [0.27ms]


▸ src/share-limit.test.ts:
(pass) allows `max` events a window per key, then says how long to wait [0.11ms]
(pass) a refused event is not counted against the window [0.07ms]


▸ src/sessions.test.ts:
(pass) sessions decrypt for their cookie only and expire after idling [0.55ms]
(pass) a rotated secret invalidates existing sessions instead of failing [14.09ms]
(pass) background jobs borrow only an admin's session [0.47ms]
(pass) an account's login is found whatever case the name was typed in [0.32ms]


▸ src/ai-playlist.test.ts:
(pass) a plan keeps only artists in the library, matched loosely, with a sane era and size [0.25ms]
(pass) the playlist is only owned songs by those artists, in the era asked [0.31ms]
(pass) a failed or empty answer from groq is no plan [0.51ms]


▸ src/demo-seed.test.ts:
(pass) the same seed gives the same history, a different one doesn't [7.92ms]
(pass) the history reads like a person: months of it, favourites on top, some skips, nothing in the future [2.00ms]
(pass) seeding fills an empty account once and leaves a used one alone [5.59ms]


▸ src/pwa.test.ts:
(pass) the icon is a valid PNG of the right size: dark corners, a light square split by a dark vein [3.61ms]
(pass) the manifest makes the app installable: standalone, a start url, 192 and 512 icons [22.82ms]


▸ src/lyrics-coverage.test.ts:
(pass) coverage counts each kind of lyrics, unchecked songs apart, only in the folders you may see [2.24ms]
(pass) forgetting misses lets them be looked up again [1.46ms]


 339 pass
 0 fail
 1447 expect() calls
Ran 339 tests across 63 files. [24.48s]

 Tasks:    7 successful, 7 total
Cached:    3 cached, 7 total
  Time:    25.337s

bun test v1.4.2 (744846f84)

▸ scripts/csp.test.ts:
(pass) the CSP allows exactly index.html's inline scripts (rerun `bun scripts/csp.ts` after editing them) [0.75ms]


▸ scripts/dockerfile.test.ts:
(pass) the Dockerfile copies every workspace's package.json before installing [0.44ms]


▸ scripts/check-colors.test.ts:
(pass) flags palette classes, arbitrary and literal colors but not theme tokens [0.28ms]


▸ scripts/deploy/dokploy.test.ts:
(pass) a preview is deployed, tied to the demo navidrome, and one sticky comment tracks it [452.17ms]
(pass) a second push edits the same comment instead of adding one [139.58ms]
(pass) closing the PR deletes the app and marks the comment deleted [128.46ms]


▸ scripts/demo/demo.test.ts:
(pass) the catalog is the same for the same seed and differs for another [1.52ms]
(pass) the catalog is a believable library: many albums, mixed formats, unique titles per album [0.46ms]
(pass) covers are deterministic and use only the requested grey levels [4.38ms]
(pass) synth renders whole stereo frames, deterministically [42.09ms]
(pass) lyrics are LRC lines inside the track length [0.51ms]


 11 pass
 0 fail
 50 expect() calls
Ran 11 tests across 5 files. [789.00ms]
▸ Run SIZE_REPORT=perf-trend/size.json bun run size
SIZE_REPORT=perf-trend/size.json bun run size
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
$ bun scripts/bundle-size.ts
first screen js: 156.9 KB gzip (budget 161 KB)
first screen css: 23.8 KB gzip (budget 30 KB)
lazy chunks: 353.5 KB gzip
▸ Run actions/upload-artifact@v7
with:
  name: perf-trend-size
  path: perf-trend
  retention-days: 90
  if-no-files-found: warn
  compression-level: 6
  overwrite: false
  include-hidden-files: false
  archive: true
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: perf-trend-size.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 206
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is c29bd2c7cbc43ed7f45fe0f189bdb3acdf8f1fab3c3ba3a746e1c935fb8d2473
Finalizing artifact upload
Artifact perf-trend-size successfully finalized. Artifact ID 14553155964
Artifact perf-trend-size has been successfully uploaded! Final size is 206 bytes. Artifact ID is 14553155964
Artifact download URL: https://github.com/FindMalek/lodesong/actions/runs/44568312228/artifacts/14553155964
▸ Run bun scripts/config-docs.ts --check
bun scripts/config-docs.ts --check
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
docs/configuration.md: up to date
▸ Run bun scripts/shortcuts-docs.ts --check
bun scripts/shortcuts-docs.ts --check
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***
docs/shortcuts.md: up to date
▸ Run bunx turbo run build --filter=@lodesong/web
bunx turbo run build --filter=@lodesong/web
shell: /usr/bin/bash -e {0}
env:
  TURBO_API: https://turbo.findmalek.engineer
  TURBO_TEAM: lodesong
  TURBO_TOKEN: ***

   • Packages in scope: @lodesong/web
   • Running build in 1 packages
   • Remote caching enabled

▸ @lodesong/ui:typecheck
cache hit, replaying logs 727ab735bf64bfd3
$ tsc --noEmit -p .
▸ @lodesong/shared:typecheck
cache hit, replaying logs 33283a2e77915aef
$ tsc --noEmit -p .
▸ @lodesong/web:build
cache miss, executing 082ab7a31b104924
$ bun run docs && next build
$ bun scripts/sync-docs.ts && fumadocs-mdx
docs: synced into apps/web/content/docs
[MDX] generated files in 11.175820000000016ms
▲ Next.js 16.4.2 (Turbopack)
[MDX] generated files in 6.996403999999984ms
✓ Running next.config.ts took 227ms
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry


  Creating an optimized production build ...
Found 2 warnings while optimizing generated CSS:

Issue #1:
│     }
│   }
│   .\[\&_\:\:highlight\(fd-search\)\]\:text-fd-primary ::highlight(fd-search) {
┆                                                                   ^-- 'highlight' is not recognized as a valid pseudo-element. Did you mean ':highlight' (pseudo-class) or is this a typo?
┆
│     color: var(--color-fd-primary);
│   }

Issue #2:
│     color: var(--color-fd-primary);
│   }
│   .\[\&_\:\:highlight\(fd-search\)\]\:underline ::highlight(fd-search) {
┆                                                             ^-- 'highlight' is not recognized as a valid pseudo-element. Did you mean ':highlight' (pseudo-class) or is this a typo?
┆
│     text-decoration-line: underline;
│   }

✓ Compiled successfully in 9.7s
  Skipping validation of types
  Finished TypeScript config validation in 11ms ...
  Collecting page data using 3 workers ...
  Generating static pages using 3 workers (0/122) ...
  Generating static pages using 3 workers (30/122)
  Generating static pages using 3 workers (60/122)
  Generating static pages using 3 workers (91/122)
✓ Generating static pages using 3 workers (122/122) in 2.3s
  Finalizing page optimization ...

Route (app)                         Revalidate  Expire
┌ ○ /                                       1d      1y
├ ○ /_not-found
├ ƒ /api/search
├ ○ /apple-icon
├   /docs/[[...slug]]
│ ├ ● /docs/accessibility
│ ├ ● /docs/android
│ ├ ● /docs/api
│ └ ● [+33 more paths]
├ ○ /icon.svg
├ ○ /llms-full.txt
├   /llms.mdx/docs/[[...slug]]
│ ├ ● /llms.mdx/docs/accessibility
│ ├ ● /llms.mdx/docs/android
│ ├ ● /llms.mdx/docs/api
│ └ ● [+33 more paths]
├ ○ /llms.txt
├ ○ /manifest.webmanifest
├   /og/docs/[[...slug]]
│ ├ ● /og/docs/accessibility
│ ├ ● /og/docs/android
│ ├ ● /og/docs/api
│ └ ● [+33 more paths]
├ ○ /opengraph-image
├ ○ /roadmap                                1h      1y
├ ○ /roadmap/opengraph-image                1h      1y
├ ○ /robots.txt
└ ○ /sitemap.xml


○  (Static)   prerendered as static content
●  (SSG)      prerendered as static HTML (uses generateStaticParams)
ƒ  (Dynamic)  server-rendered on demand


 Tasks:    3 successful, 3 total
Cached:    2 cached, 3 total
  Time:    15.595s

Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/ae03bd1a-00b2-48bd-8aae-fdf7c52389da' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/lodesong/lodesong
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
includeif.gitdir:/home/runner/work/lodesong/lodesong/.git.path
includeif.gitdir:/home/runner/work/lodesong/lodesong/.git/worktrees/*.path
includeif.gitdir:/github/workspace/.git.path
includeif.gitdir:/github/workspace/.git/worktrees/*.path
[command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/lodesong/lodesong/.git.path
/home/runner/work/_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/lodesong/lodesong/.git.path \/home\/runner\/work\/_temp\/git\-credentials\-04b8c1d6\-dcd2\-425c\-a3af\-16e22b218f5a\.config
[command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/lodesong/lodesong/.git/worktrees/*.path
/home/runner/work/_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/lodesong/lodesong/.git/worktrees/*.path \/home\/runner\/work\/_temp\/git\-credentials\-04b8c1d6\-dcd2\-425c\-a3af\-16e22b218f5a\.config
[command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
/github/runner_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git.path \/github\/runner_temp\/git\-credentials\-04b8c1d6\-dcd2\-425c\-a3af\-16e22b218f5a\.config
[command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
/github/runner_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path \/github\/runner_temp\/git\-credentials\-04b8c1d6\-dcd2\-425c\-a3af\-16e22b218f5a\.config
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Removing credentials config '/home/runner/work/_temp/git-credentials-04b8c1d6-dcd2-425c-a3af-16e22b218f5a.config'
Cleaning up orphan processes