LUCIRUNSDOCSPUBLIC CI
Run · pi-ext / push

Run failed.

build: typecheck selected extension projects

1 failed. 5 skipped.

Finished

Execution 001 · FAILED

ci

Execution recordexit status 1

Jump to execution output
.ci/ci.kdl:7Pinned workflow · Phases measured by runner; step times from job log
job ci {
  1. 8
    image ref=pi-ext
    File-local definition · .ci/ci.kdl:1
    image pi-ext {
      build {
        containerfile ".ci/image/Containerfile"
      }
    }
    Image preparation
  2. 9
    trigger {
      push {
        branch trunk
      }
    }
  3. 14
    mount cache toolchains "/cache/toolchains"
  4. 15
    mount cache npm "/cache/npm"
  5. 16
    run ". .ci/setup.sh" description="Prepare job environment"
    Finished ·
  6. 17
    run "mise trust && mise install" description="Resolve locked tools"
    Finished ·
  7. 19
    cache test-baseline {
      path ".pi/tmp/ci-baseline"
      key {
        file "scripts/trunk-tests.ts"
        file "package-lock.json"
        file "mise.lock"
      }
    }
    Cache restore
  8. 28
    run "mkdir -p .pi/tmp/ci-baseline && CI=true PI_EXT_TRUNK_TEST_CACHE=/work/.pi/tmp/ci-baseline NODE_COMPILE_CACHE=/cache/toolchains/node-compile MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci" description="Check, lint and test affected code"
    Failed ·
}

Execution timing

Runner total · 9m 35s. Container time includes all run steps.

Checkout Execution setup Execution setup Container execution Finalize log

Other elapsed time · ≈<1s

Execution output · recorded tailView full log Download original
[earlier output truncated]

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

 FAIL   contract  extensions/nushell/__tests__/contract.test.ts > nushell contract > renders fresh Nu with syntax highlighting and shell-style results
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
 ❯ extensions/nushell/__tests__/contract.test.ts:112:32
    110|    expect(lines).not.toContain("<syntaxVariable>");
    111|    await vi.waitFor(() =>
    112|     expect(context.invalidate).toHaveBeenCalledTimes(1),
       |                                ^
    113|    );
    114|    const highlighted =

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


 Test Files  1 failed | 316 passed | 13 skipped (330)
      Tests  1 failed | 3496 passed | 37 skipped (3534)
   Start at  00:27:44
   Duration  323.26s (tests 69%, import 28%, transform 3%)

[//:test] ERROR task failed
[luci] step 3/3 failed after 511s
exit status 1
Read this log in terminal
ssh ci log r#'dogov-gazab-pohak-jinup'# r#'001'#
Original pinned files · 2280
.ci/ci.kdl
Original file
image pi-ext {
  build {
    containerfile ".ci/image/Containerfile"
  }
}

job ci {
  image ref=pi-ext
  trigger {
    push {
      branch trunk
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Tiny last-green snapshot; filters validate even a newest-key fallback.
  cache test-baseline {
    path ".pi/tmp/ci-baseline"
    key {
      file "scripts/trunk-tests.ts"
      file "package-lock.json"
      file "mise.lock"
    }
  }
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "mkdir -p .pi/tmp/ci-baseline && CI=true PI_EXT_TRUNK_TEST_CACHE=/work/.pi/tmp/ci-baseline NODE_COMPILE_CACHE=/cache/toolchains/node-compile MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci" description="Check, lint and test affected code"
}

job release-verify {
  image ref=pi-ext
  trigger {
    push {
      tag "v*"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true NODE_COMPILE_CACHE=/tmp/pi-ext-node-compile MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci-release" description="Verify release before publishing"
  artifact "release" {
    path "release-manifest.json"
    required #true
  }
  publish "pkg" {
    from ".pi/tmp/release-artifacts"
    to "releases/pi-ext/${rev}"
  }
}
.ci/e2e.kdl
Original file
// Browser suites run only when their extension or shared test infrastructure changed.
// They follow the ci job, so a failing unit gate skips them.
image pi-ext {
  build {
    containerfile ".ci/image/Containerfile"
  }
}

job e2e-canvas {
  image ref=pi-ext
  trigger {
    push {
      branch trunk
      include "extensions/canvas/**"
      include "package.json"
      include "package-lock.json"
      include "mise.lock"
      include "mise.toml"
      include "test/browser-diagnostics.ts"
      include "test/fixture/**"
      include ".ci/setup.sh"
      include "scripts/lib/common.ts"
      include "scripts/e2e.ts"
      include "scripts/build/**"
      include "tsconfig.base.json"
      exclude "**/__tests__/*.test.ts"
      exclude "**/__bench__/**"
      exclude "test/**/*.test.ts"
      exclude "scripts/build/*.test.ts"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //extensions/canvas:e2e" description="canvas browser tests"
}

job e2e-chrome-cdp {
  image ref=pi-ext
  trigger {
    push {
      branch trunk
      include "extensions/chrome-cdp/**"
      include "package.json"
      include "package-lock.json"
      include "mise.lock"
      include "mise.toml"
      include ".ci/setup.sh"
      include "scripts/lib/common.ts"
      include "scripts/e2e.ts"
      exclude "**/__tests__/*.test.ts"
      exclude "**/__bench__/**"
      exclude "test/**/*.test.ts"
      exclude "scripts/build/*.test.ts"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //extensions/chrome-cdp:e2e" description="chrome-cdp browser tests"
}

job e2e-loop {
  image ref=pi-ext
  trigger {
    push {
      branch trunk
      include "extensions/loop/**"
      include "package.json"
      include "package-lock.json"
      include "mise.lock"
      include "mise.toml"
      include "test/playwright.base.ts"
      include ".ci/setup.sh"
      include "scripts/lib/common.ts"
      include "scripts/e2e.ts"
      include "scripts/build/**"
      include "tsconfig.base.json"
      exclude "**/__tests__/*.test.ts"
      exclude "**/__bench__/**"
      exclude "test/**/*.test.ts"
      exclude "scripts/build/*.test.ts"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //extensions/loop:e2e" description="loop browser tests"
}

job e2e-mockup {
  image ref=pi-ext
  trigger {
    push {
      branch trunk
      include "extensions/mockup/**"
      include "package.json"
      include "package-lock.json"
      include "mise.lock"
      include "mise.toml"
      include "test/playwright.base.ts"
      include ".ci/setup.sh"
      include "scripts/lib/common.ts"
      include "scripts/e2e.ts"
      include "scripts/build/**"
      include "tsconfig.base.json"
      exclude "**/__tests__/*.test.ts"
      exclude "**/__bench__/**"
      exclude "test/**/*.test.ts"
      exclude "scripts/build/*.test.ts"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //extensions/mockup:e2e" description="mockup browser tests"
}

job e2e-the-system {
  image ref=pi-ext
  trigger {
    push {
      branch trunk
      include "extensions/the-system/**"
      include "package.json"
      include "package-lock.json"
      include "mise.lock"
      include "mise.toml"
      include "test/playwright.base.ts"
      include "test/browser-diagnostics.ts"
      include "test/browser-departures.ts"
      include ".ci/setup.sh"
      include "scripts/lib/common.ts"
      include "scripts/e2e.ts"
      include "scripts/build/**"
      include "tsconfig.base.json"
      exclude "**/__tests__/*.test.ts"
      exclude "**/__bench__/**"
      exclude "test/**/*.test.ts"
      exclude "scripts/build/*.test.ts"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  // Luci's capability-free container replaces Firefox's incompatible content sandbox.
  run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //extensions/the-system:e2e" description="the-system browser tests"
}
.ci/release.kdl
Original file
// 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 {
  image {
    build {
      containerfile ".ci/image/Containerfile"
    }
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  mount "auth" "release-branch" "/auth"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  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 {
    pull "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.6.1"
  }
  mount cache toolchains "/cache/toolchains"
  mount cache npm "/cache/npm"
  run ". .ci/setup.sh" description="Prepare job environment"
  run "mise trust && mise install" description="Resolve locked tools"
  run "CI=true PI_EXT_MATRIX_PI=${pi} mise run //:verify-packages"
}

Copy value