LUCIRUNSDOCSPUBLIC CI
Run summary

Run failed.

1 failed.

pi-ext / push

docs: add documentation and review specs

··
Affected execution

FAILED ci

Child failure detailexit status 1

Execution configuration

Image

Matrixnone

Triggerpush

Commands

export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p "$HOME" /cache/toolchains/bin
export PATH="/cache/toolchains/bin:$HOME/.local/bin:$PATH"
command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp "$HOME/.local/bin/mise" /cache/toolchains/bin/mise; }
mise trust
mise install
CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci
Job source · .ci/ci.kdl
job "ci" {
build {
containerfile ".ci/Containerfile"context ".ci"	}trigger {
push {
branch "trunk"tag "v*"		}	}mount "cache" "toolchains" "/cache/toolchains"mount "cache" "npm" "/cache/npm"run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin"run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\""run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }"run "mise trust"run "mise install"run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci"artifact "release" {
path "release-manifest.json"required true	}publish "pkg" {
from ".pi/tmp/release-artifacts"to "releases/pi-ext/${rev}"	}}
Actual evidence · child 001
[luci] build cache bytes=7291521492 removed=0 graphroot-free=52420837376
[luci] build start containerfile=.ci/Containerfile context=.ci
STEP 1/4: FROM mcr.microsoft.com/playwright:v1.61.0-noble
Trying to pull mcr.microsoft.com/playwright:v1.61.0-noble...
Getting image source signatures
Copying blob sha256:cbe151a12b0374a937e583a60673dc24cf98cef69954860cae7d8d51d88173ce
Copying blob sha256:a9cc3c289b1b7df8079d33df5f1975cf65e6ec292dde5748af547213059d6be5
Copying blob sha256:914b82411860874c8ef4ae9fe0a0fdfc11618201766e9995a0b6d4c9096cbf2b
Copying blob sha256:0e5f8475f38bbc351dc1b0148d9ea94bc5c5f2b710f72e96988b799b681a0b35
Copying config sha256:753f831a898523662c36011748ba0729b59838745d577c61c91287fe1778bfe1
Writing manifest to image destination
STEP 2/4: RUN apt-get update     && apt-get install -y --no-install-recommends ffmpeg     && rm -rf /var/lib/apt/lists/*
Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:3 https://deb.nodesource.com/node_24.x nodistro InRelease [12.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:6 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [55.6 kB]
Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1551 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2132 kB]
Get:11 https://deb.nodesource.com/node_24.x nodistro/main amd64 Packages [9993 B]
Get:12 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1420 kB]
Get:13 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1808 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1741 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2240 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2172 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [61.7 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [669 B]
Fetched 33.7 MB in 3s (11.8 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libavdevice60 libcdio-cdda2t64 libcdio-paranoia2t64 libcdio19t64
  libxcb-shape0 libxv1
Suggested packages:
  ffmpeg-doc
The following NEW packages will be installed:
  ffmpeg libavdevice60 libcdio-cdda2t64 libcdio-paranoia2t64 libcdio19t64
  libxcb-shape0 libxv1
0 upgraded, 7 newly installed, 0 to remove and 115 not upgraded.
Need to get 2073 kB of archives.
After this operation, 3171 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcdio19t64 amd64 2.1.0-4.1ubuntu1.2 [62.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 libcdio-cdda2t64 amd64 10.2+2.0.1-1.1build2 [16.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 libcdio-paranoia2t64 amd64 10.2+2.0.1-1.1build2 [16.6 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-shape0 amd64 1.15-1ubuntu2 [6100 B]
Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 libxv1 amd64 2:1.0.11-1.1build1 [10.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble/universe amd64 libavdevice60 amd64 7:6.1.1-3ubuntu5 [82.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu noble/universe amd64 ffmpeg amd64 7:6.1.1-3ubuntu5 [1879 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 2073 kB in 0s (7292 kB/s)
Selecting previously unselected package libcdio19t64:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 34798 files and directories currently installed.)
Preparing to unpack .../0-libcdio19t64_2.1.0-4.1ubuntu1.2_amd64.deb ...
Unpacking libcdio19t64:amd64 (2.1.0-4.1ubuntu1.2) ...
Selecting previously unselected package libcdio-cdda2t64:amd64.
Preparing to unpack .../1-libcdio-cdda2t64_10.2+2.0.1-1.1build2_amd64.deb ...
Unpacking libcdio-cdda2t64:amd64 (10.2+2.0.1-1.1build2) ...
Selecting previously unselected package libcdio-paranoia2t64:amd64.
Preparing to unpack .../2-libcdio-paranoia2t64_10.2+2.0.1-1.1build2_amd64.deb ...
Unpacking libcdio-paranoia2t64:amd64 (10.2+2.0.1-1.1build2) ...
Selecting previously unselected package libxcb-shape0:amd64.
Preparing to unpack .../3-libxcb-shape0_1.15-1ubuntu2_amd64.deb ...
Unpacking libxcb-shape0:amd64 (1.15-1ubuntu2) ...
Selecting previously unselected package libxv1:amd64.
Preparing to unpack .../4-libxv1_2%3a1.0.11-1.1build1_amd64.deb ...
Unpacking libxv1:amd64 (2:1.0.11-1.1build1) ...
Selecting previously unselected package libavdevice60:amd64.
Preparing to unpack .../5-libavdevice60_7%3a6.1.1-3ubuntu5_amd64.deb ...
Unpacking libavdevice60:amd64 (7:6.1.1-3ubuntu5) ...
Selecting previously unselected package ffmpeg.
Preparing to unpack .../6-ffmpeg_7%3a6.1.1-3ubuntu5_amd64.deb ...
Unpacking ffmpeg (7:6.1.1-3ubuntu5) ...
Setting up libxcb-shape0:amd64 (1.15-1ubuntu2) ...
Setting up libcdio19t64:amd64 (2.1.0-4.1ubuntu1.2) ...
Setting up libcdio-cdda2t64:amd64 (10.2+2.0.1-1.1build2) ...
Setting up libcdio-paranoia2t64:amd64 (10.2+2.0.1-1.1build2) ...
Setting up libxv1:amd64 (2:1.0.11-1.1build1) ...
Setting up libavdevice60:amd64 (7:6.1.1-3ubuntu5) ...
Setting up ffmpeg (7:6.1.1-3ubuntu5) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
--> e0efa2f375ec
STEP 3/4: RUN test "$(dpkg --print-architecture)" = amd64     && curl -fsSL https://github.com/nushell/nushell/releases/download/0.116.1/nu-0.116.1-x86_64-unknown-linux-gnu.tar.gz -o /tmp/nu.tar.gz     && echo 'd6d8ace4be491ed8abba4026e73b60c0470b4671d7039307e7d772282ef863da  /tmp/nu.tar.gz' | sha256sum -c -     && tar -xzf /tmp/nu.tar.gz -C /tmp     && install /tmp/nu-0.116.1-x86_64-unknown-linux-gnu/nu /usr/local/bin/nu     && rm -rf /tmp/nu.tar.gz /tmp/nu-0.116.1-x86_64-unknown-linux-gnu
/tmp/nu.tar.gz: OK
--> 541255132baa
STEP 4/4: LABEL "io.luci.build"="cache-v1"
COMMIT luci-build-1793723820928246370-001
--> 0844a2163628
Successfully tagged localhost/luci-build-1793723820928246370-001:latest
0844a21636285da30f284f2903e5429343979bf6cfdd589b8c4f8bf35ff551d8
[luci] build done image=sha256:0844a21636285da30f284f2903e5429343979bf6cfdd589b8c4f8bf35ff551d8 in 21s
[luci] step 1/6: export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p "$HOME" /cache/toolchains/bin
[luci] step 1/6 done in 0s
[luci] step 2/6: export PATH="/cache/toolchains/bin:$HOME/.local/bin:$PATH"
[luci] step 2/6 done in 0s
[luci] step 3/6: command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp "$HOME/.local/bin/mise" /cache/toolchains/bin/mise; }
[luci] step 3/6 done in 0s
[luci] step 4/6: mise trust
mise trusted /work
[luci] step 4/6 done in 0s
[luci] step 5/6: mise install
mise by @jdx – installing 8 tools
mise ⇢ node@latest                                10ms · already installed
mise ⇢ go@latest                                  0ms · already installed
mise ⇢ biome@latest                               0ms · already installed
mise ⇢ aqua:mikefarah/yq@latest                   0ms · already installed
mise ⇢ aqua:rvben/rumdl@latest                    0ms · already installed
mise ⇢ aqua:tamasfe/taplo@latest                  0ms · already installed
mise ⇢ github:asciinema/agg@latest                0ms · already installed
mise ⇢ go:golang.org/x/perf/cmd/benchstat@latest  0ms · already installed
mise ████████████████ 8/8 · installed 0 tools · 8 already installed in 13ms
mise all tools are installed
[luci] step 5/6 done in 1s
[luci] step 6/6: CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci
[//:install] $ npm ci
npm warn deprecated sliced@1.0.1: Unsupported
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead

added 790 packages, and audited 838 packages in 28s

191 packages are looking for funding
  run `npm fund` for details

20 vulnerabilities (4 low, 13 moderate, 3 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
[//:lint] $ npm run lint
[//:check] $ npm run typecheck

> pi-ext@0.1.10 lint
> biome ci . && rumdl check .


> pi-ext@0.1.10 typecheck
> tsc -b

Checked 974 files in 10s. No fixes applied.

Success: No issues found in 163 files (227ms)
[//:lint] $ taplo format --check
 INFO taplo:format_files:load_config: found configuration file path="/work/.taplo.toml"
 INFO taplo:format_files:collect_files: found files total=99 excluded=47 files=["/work/.miserc.toml", "/work/.rumdl.toml", "/work/.taplo.toml", "/work/extensions/activity/mise.toml", "/work/extensions/afk/mise.toml", "/work/extensions/ask/mise.toml", "/work/extensions/bak/mise.toml", "/work/extensions/canvas/mise.toml", "/work/extensions/chrome-cdp/mise.toml", "/work/extensions/clipboard/mise.toml", "/work/extensions/context-size/mise.toml", "/work/extensions/continuity/mise.toml", "/work/extensions/cost/mise.toml", "/work/extensions/dilemma/mise.toml", "/work/extensions/ephemlets/mise.toml", "/work/extensions/fast/mise.toml", "/work/extensions/firefox-bidi/mise.toml", "/work/extensions/footer/mise.toml", "/work/extensions/git-safe/mise.toml", "/work/extensions/good-job/mise.toml", "/work/extensions/gratis/mise.toml", "/work/extensions/handoff/mise.toml", "/work/extensions/horst/mise.toml", "/work/extensions/intellij/mise.toml", "/work/extensions/loop/mise.toml", "/work/extensions/masks/mise.toml", "/work/extensions/memory/mise.toml", "/work/extensions/mockup/mise.toml", "/work/extensions/model-info/mise.toml", "/work/extensions/notes/mise.toml", "/work/extensions/nu-bang/mise.toml", "/work/extensions/nushell/mise.toml", "/work/extensions/open/mise.toml", "/work/extensions/os-notifier/mise.toml", "/work/extensions/pfui/mise.toml", "/work/extensions/pipi/mise.toml", "/work/extensions/prompt-autopsy/mise.toml", "/work/extensions/quota/mise.toml", "/work/extensions/rtk/mise.toml", "/work/extensions/runtime/mise.toml", "/work/extensions/session-rename/mise.toml", "/work/extensions/skillz/mise.toml", "/work/extensions/the-system/mise.toml", "/work/extensions/tps/mise.toml", "/work/extensions/ultra/mise.toml", "/work/extensions/usage/mise.toml", "/work/extensions/uv/mise.toml", "/work/extensions/vcs-status/mise.toml", "/work/extensions/voice/mise.toml", "/work/extensions/web/mise.toml", "/work/mise.android.toml", "/work/mise.toml"] cwd="/work"
[//:lint] $ node scripts/check_frontmatter.ts
[//:lint] $ node scripts/check_skills.ts
OK skills 0
[//:check] $ node scripts/check_skills.ts
OK skills 0
[//:extension-rules-test] $ node scripts/test_extensions_static_check.ts
OK static-check tests
[//:check] $ node scripts/extensions.ts check
OK static 47 extension package(s)
[//:check] $ node scripts/compatibility.ts
OK compatibility: minimum Pi 1.4.0 consistent
[//:check] $ node scripts/readme/banners.ts --check
OK banners 47
[//:check-readmes] $ node scripts/readme/check.ts
OK readmes 47
[//:test] $ npm run test --

> pi-ext@0.1.10 test
> vitest run


 RUN  v5.0.3 /work

From /tmp/pi-ext-release-prepare-3GPfgq/remote
 * branch            f578b92660086e0b1fb89982c9f104aef82f68ee -> FETCH_HEAD
HEAD is now at f578b92 source
[detached HEAD 268dad8] release: prepare v2.0.0
 2 files changed, 13 insertions(+)
 create mode 100644 release-manifest.json
 create mode 100644 release-provenance.json
To /tmp/pi-ext-release-prepare-3GPfgq/remote.git
*	HEAD:refs/heads/release/v2.0.0	[new branch]
Done
From /tmp/pi-ext-release-prepare-3GPfgq/remote
 * branch            268dad8843eeb4cd3e43dd79cc7f637dbd5adc28 -> FETCH_HEAD
From /tmp/pi-ext-release-prepare-B1Ml66/remote
 * branch            7ce3b959a3822232105bc4db2cdd55d7f158c262 -> FETCH_HEAD
HEAD is now at 7ce3b95 source
mise WARN  deprecated [monorepo_auto_discovery]: Automatic monorepo discovery is deprecated. Please define [monorepo].config_roots in your root mise.toml. See https://mise.jdx.dev/tasks/monorepo.html#explicit-config-roots
[//:release-version] $ node task.mjs version 2.0.0
mise WARN  deprecated [monorepo_auto_discovery]: Automatic monorepo discovery is deprecated. Please define [monorepo].config_roots in your root mise.toml. See https://mise.jdx.dev/tasks/monorepo.html#explicit-config-roots
[//:release-all] $ node task.mjs build
mise WARN  deprecated [monorepo_auto_discovery]: Automatic monorepo discovery is deprecated. Please define [monorepo].config_roots in your root mise.toml. See https://mise.jdx.dev/tasks/monorepo.html#explicit-config-roots
[//:verify-packages] $ node task.mjs verify
[detached HEAD 4079f16] release: prepare v2.0.0
 2 files changed, 13 insertions(+)
 create mode 100644 release-manifest.json
 create mode 100644 release-provenance.json
To /tmp/pi-ext-release-prepare-B1Ml66/remote.git
*	HEAD:refs/heads/release/v2.0.0	[new branch]
Done
From /tmp/pi-ext-release-prepare-KQuDk3/remote
 * branch            f9e045b6aa726d0b06ce20a988c54c2b156cb5a2 -> FETCH_HEAD
HEAD is now at f9e045b source
[detached HEAD f9de46b] release: prepare v2.0.0
 2 files changed, 13 insertions(+)
 create mode 100644 release-manifest.json
 create mode 100644 release-provenance.json
To /tmp/pi-ext-release-prepare-KQuDk3/remote.git
*	HEAD:refs/heads/release/v2.0.0	[new branch]
Done
From /tmp/pi-ext-release-prepare-KQuDk3/remote
 * branch            660077edb75db4ea40b100c8ffc2d303e8ac59c0 -> FETCH_HEAD
From /tmp/pi-ext-release-prepare-11Kvmb/remote
 * branch            088d2c71ceccc71838b7be20f2e93bdf2e945ddf -> FETCH_HEAD
HEAD is now at 088d2c7 source
From /tmp/pi-ext-release-prepare-yFrJtw/remote
 * branch            088d2c71ceccc71838b7be20f2e93bdf2e945ddf -> FETCH_HEAD
HEAD is now at 088d2c7 source
[detached HEAD be8e199] release: prepare v2.0.0
 2 files changed, 13 insertions(+)
 create mode 100644 release-manifest.json
 create mode 100644 release-provenance.json
error: failed to push some refs to '/tmp/pi-ext-release-prepare-yFrJtw/remote.git'
To /tmp/pi-ext-release-prepare-yFrJtw/remote.git
!	HEAD:refs/heads/release/v2.0.0	[rejected] (stale info)
Done
 ❯  unit  scripts/demo/runner.test.ts (4 tests | 1 failed) 189ms
   ❯ README demo scenes (4)
     × every scene is well-formed and its recordings are committed 16ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯

 FAIL   unit  scripts/demo/runner.test.ts > README demo scenes > every scene is well-formed and its recordings are committed
AssertionError: ephemlets: reading pause: expected 4 to be greater than or equal to 6
 ❯ scripts/demo/runner.test.ts:40:8
     38|       step.hold ?? 6,
     39|       `${name}: reading pause`,
     40|      ).toBeGreaterThanOrEqual(6);
       |        ^
     41|     }
     42|     if (step.hold !== undefined)

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯


 Test Files  1 failed | 287 passed | 10 skipped (298)
      Tests  1 failed | 3597 passed | 29 skipped (3627)
   Start at  16:39:24
   Duration  505.63s (tests 71%, import 26%, transform 3%)

[//:test] ERROR task failed
[luci] step 6/6 failed after 599s
exit status 1

Complete raw log

step timing
StepCommandTime
1/6export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p "$HOME" /cache/toolchains/bin
2/6export PATH="/cache/toolchains/bin:$HOME/.local/bin:$PATH"
3/6command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp "$HOME/.local/bin/mise" /cache/toolchains/bin/mise; }
4/6mise trust
5/6mise install
6/6CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci
Continue in CLI

Nushell command · read-only · local Luci data access required.

luci log dogoh-ninaz-savij-panof 001

Full run ID + stable child selector. Copying never executes it.

All configuration at this revision
ci.kdl @ 6c1b
job "ci" {
  build {
    containerfile ".ci/Containerfile"
    context ".ci"
  }
  trigger {
    push {
      branch "trunk"
      tag "v*"
    }
  }
  mount "cache" "toolchains" "/cache/toolchains"
  mount "cache" "npm" "/cache/npm"
  run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin"
  run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\""
  run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }"
  run "mise trust"
  run "mise install"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci"
  artifact "release" {
    path "release-manifest.json"
    required true
  }
  publish "pkg" {
    from ".pi/tmp/release-artifacts"
    to "releases/pi-ext/${rev}"
  }
}
release.kdl @ 6c1b
// Manual-only: the reviewed request in .ci/release-request.json is the sole input.
// `release-branch` is an externally provisioned, owner-only auth mount containing
// one restricted push URL; it must authorize only refs/heads/release/*.
job "release-prepare" {
  build {
    containerfile ".ci/Containerfile"
    context ".ci"
  }
  mount "cache" "toolchains" "/cache/toolchains"
  mount "cache" "npm" "/cache/npm"
  mount "auth" "release-branch" "/auth"
  run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin"
  run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\""
  run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }"
  run "mise trust"
  run "mise install"
  run "test -s /auth/release-branch-url && PI_EXT_RELEASE_REMOTE=\"$(cat /auth/release-branch-url)\" mise run //:release-prepare-ci"
  artifact "release-preparation" {
    path "release-manifest.json"
    path "release-provenance.json"
    required true
  }
}

job "release-matrix" {
  image "mcr.microsoft.com/playwright:v1.61.0-noble"
  trigger {
    push {
      tag "v*"
    }
  }
  // Compatibility matrix over supported Pi versions. Luci runs Linux containers
  // only, so Windows and macOS have no runners; they are recorded here as known
  // gaps rather than silently passing. Node tracks the mise-locked version
  // (same as dev and normal CI). Broaden the `pi` axis as newer Pi
  // releases are verified; the compatibility check keeps it in sync with the
  // declared minimum (`pi-ext.minimumPi`).
  matrix {
    pi "1.4.0"
  }
  mount "cache" "toolchains" "/cache/toolchains"
  mount "cache" "npm" "/cache/npm"
  run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin"
  run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\""
  run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }"
  run "mise trust"
  run "mise install"
  run "CI=true PI_EXT_MATRIX_PI=${pi} mise run //:verify-packages"
}