diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86a9925e..06e5e15e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,14 +64,14 @@ jobs: # must be a deliberate commit rather than a surprise from a CI run. - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 with: - bun-version: 1.4.2 + bun-version: 1.4.5 # The documentation site is npm rather than bun: Astro and Starlight are # exercised on npm upstream, and the lockfile is what `just site-build` # installs from. - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + - uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0 with: - node-version: 24.19.0 + node-version: 26.14.0 cache: npm cache-dependency-path: site/package-lock.json @@ -79,7 +79,7 @@ jobs: # runs the real thing, so local and CI share one invocation. - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: - version: v2.14.0 + version: v2.15.0 args: --help - name: just ui-deps @@ -218,10 +218,10 @@ jobs: - uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4 - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 with: - bun-version: 1.4.2 - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + bun-version: 1.4.5 + - uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0 with: - node-version: 24.19.0 + node-version: 26.14.0 - name: just ui-deps run: just ui-deps - name: just e2e @@ -252,7 +252,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # The browser image lacks unzip, which setup-bun needs. - name: Install Bun - run: npm install --global bun@1.4.2 + run: npm install --global bun@1.4.5 - name: Install UI dependencies run: cd ui/host && bun install --frozen-lockfile - name: Check image driver version @@ -286,7 +286,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # The browser image lacks unzip, which setup-bun needs. - name: Install Bun - run: npm install --global bun@1.4.2 + run: npm install --global bun@1.4.5 - name: Install UI dependencies run: cd ui/host && bun install --frozen-lockfile - name: Check image driver version @@ -325,10 +325,10 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - name: Scan the runtime image - uses: aquasecurity/trivy-action@a9c7b0f06e461e9d4b4d1711f154ee024b8d7ab8 # v0.36.0 + uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0 with: image-ref: pitot:ci - version: v0.74.0 + version: v0.77.0 scanners: vuln,secret severity: HIGH,CRITICAL exit-code: 1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 445bf662..a5893439 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -105,11 +105,11 @@ jobs: - uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4 - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 with: - bun-version: 1.4.2 + bun-version: 1.4.5 - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 if: steps.ci.outputs.passed != 'true' with: - version: v2.14.0 + version: v2.15.0 args: --help - run: just ui-deps # The advisory database changes over time, so the audit runs at release @@ -198,10 +198,10 @@ jobs: provenance: false outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=true - name: Scan the native image - uses: aquasecurity/trivy-action@a9c7b0f06e461e9d4b4d1711f154ee024b8d7ab8 # v0.36.0 + uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0 with: image-ref: ${{ env.IMAGE }}@${{ steps.build.outputs.digest }} - version: v0.74.0 + version: v0.77.0 scanners: vuln,secret severity: HIGH,CRITICAL exit-code: 1 diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 516cc974..3a30b99a 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -67,9 +67,9 @@ jobs: # workflow asserted the runner's preinstalled Node instead, to avoid # adding a supply-chain dependency without a SHA to pin it to; the SHA is # the same one ci.yml uses, so the objection no longer applies. - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + - uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0 with: - node-version: 24.19.0 + node-version: 26.14.0 cache: npm cache-dependency-path: site/package-lock.json diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 402bfced..99354570 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ just check # the full gate ``` You need Go 1.27.4 and a C/C++ toolchain on native Linux or macOS (amd64 or arm64), -[Bun](https://bun.sh), Node.js 24.19.0, [just](https://just.systems), +[Bun](https://bun.sh), Node.js 26.14.0, [just](https://just.systems), [golangci-lint](https://golangci-lint.run/), and [Lefthook](https://github.com/evilmartians/lefthook). Running in local auth mode also requires a 32-character authentication code secret. SMTP and AI chat are diff --git a/Dockerfile b/Dockerfile index a318a401..75619819 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Bun is a build compiler only. Neither Bun nor Node is copied into the final # image or launched by the Pitot process. -FROM oven/bun:1.4.2@sha256:9114c058aeae42162ee16dd5084b95fe9473970bb6bcb5b232ab1630f0546895 AS ui-build +FROM oven/bun:1.4.5@sha256:3aa040e5445efa09d75bb428a64ba50db13e2b3ac9b6b0c7f145615f62b2ee18 AS ui-build WORKDIR /app COPY ui/host/package.json ui/host/bun.lock ./ui/host/ RUN cd ui/host && bun install --frozen-lockfile diff --git a/README.md b/README.md index a49afa41..453cc470 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ quality gate. See the [performance methodology](https://pitot.dev/docs/concepts/ the wrapper supplies DuckDB's pinned headers, static libraries, and CGO flags. The first build needs network access to download the checksum-verified engine. - **[Bun](https://bun.sh)** — compiles the browser assets -- **Node.js 24.19.0** — runs development helpers and builds the documentation site +- **Node.js 26.14.0** — runs development helpers and builds the documentation site - **[just](https://just.systems)** — task runner - A 32-character **authentication code secret** diff --git a/docs/testing.md b/docs/testing.md index c05fb506..e98b39b5 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -129,7 +129,7 @@ panel and show populated series or rows, and the gauge must have a numeric value The dashboard checks topology edge paths and a checkout deploy annotation's HTML tooltip text without reading canvas pixels. Fragment height is capped at 2000 pixels to match the host, and messages must stop for five seconds after the first -settled frame. CI pins Node 24.19.0 and limits the job to 15 minutes. It runs the same recipe on +settled frame. CI pins Node 26.14.0 and limits the job to 15 minutes. It runs the same recipe on pull requests and pushes. Failures write `ui/host/playwright-report/index.html` and retain failure screenshots and first-retry traces in `ui/host/test-results/`; both directories are ignored by git. CI uploads available browser evidence after every run. diff --git a/justfile b/justfile index 8e9f1ee4..19232a81 100644 --- a/justfile +++ b/justfile @@ -105,7 +105,7 @@ e2e-image-check: # Generate Linux baselines with the same image and shared-memory setting as CI. e2e-linux-baselines: - docker run --rm --ipc=host -v "{{justfile_directory()}}:/work" -v /work/ui/host/node_modules -w /work mcr.microsoft.com/playwright:v1.65.1-noble@sha256:1507cbfc550a63a6b7396791ca4f00df17beb56342d2447b3f106c306f525579 bash -euc 'npm install --global bun@1.4.2; cd ui/host; bun install --frozen-lockfile; cd ../..; node scripts/playwright-image-check.mjs; cd ui/host; bun run e2e --project visual --update-snapshots' + docker run --rm --ipc=host -v "{{justfile_directory()}}:/work" -v /work/ui/host/node_modules -w /work mcr.microsoft.com/playwright:v1.65.1-noble@sha256:1507cbfc550a63a6b7396791ca4f00df17beb56342d2447b3f106c306f525579 bash -euc 'npm install --global bun@1.4.5; cd ui/host; bun install --frozen-lockfile; cd ../..; node scripts/playwright-image-check.mjs; cd ui/host; bun run e2e --project visual --update-snapshots' # Refresh all six landing captures and export the app lockup as logo.svg. landing-captures: