From 0b99f86cb79e4fd6a06a9d6c6d7c97cdd1d40c73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2026 02:26:43 +0000 Subject: [PATCH 1/2] chore(deps): bump the docker-minor-and-patch group Bumps the docker-minor-and-patch group in /deploy with 5 updates: | Package | From | To | | --- | --- | --- | | oven/bun | `1.4.2-alpine` | `1.4.4-alpine` | | golang | `1.26.10-alpine3.23` | `1.27.3-alpine3.23` | | alpine | `3.24.1` | `3.24.3` | | [astral-sh/uv](https://github.com/astral-sh/uv) | `0.12.17` | `0.13.7` | | python | `3.12.13-slim-bookworm` | `3.15.0-slim-bookworm` | Updates `oven/bun` from 1.4.2-alpine to 1.4.4-alpine Updates `golang` from 1.26.10-alpine3.23 to 1.27.3-alpine3.23 Updates `alpine` from 3.24.1 to 3.24.3 Updates `astral-sh/uv` from 0.12.17 to 0.13.7 - [Release notes](https://github.com/astral-sh/uv/releases) - [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/uv/compare/0.12.17...0.13.7) Updates `python` from 3.12.13-slim-bookworm to 3.15.0-slim-bookworm --- updated-dependencies: - dependency-name: oven/bun dependency-version: 1.4.4-alpine dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-minor-and-patch - dependency-name: golang dependency-version: 1.27.3-alpine3.23 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker-minor-and-patch - dependency-name: alpine dependency-version: 3.24.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-minor-and-patch - dependency-name: astral-sh/uv dependency-version: 0.13.7 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker-minor-and-patch - dependency-name: python dependency-version: 3.15.0-slim-bookworm dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker-minor-and-patch ... Signed-off-by: dependabot[bot] --- deploy/Dockerfile | 6 +++--- deploy/Dockerfile.e2e | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 0dbcccd..5e17496 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -1,11 +1,11 @@ -FROM --platform=$BUILDPLATFORM oven/bun:1.4.2@sha256:9114c058aeae42162ee16dd5084b95fe9473970bb6bcb5b232ab1630f0546895 AS frontend +FROM --platform=$BUILDPLATFORM oven/bun:1.4.4@sha256:1d22548f177f4ff38e0c15baa3c2c46c6c2060ba2d1bc573bb4720b407548f1d AS frontend WORKDIR /src/frontend COPY frontend/package.json frontend/bun.lock* ./ RUN bun install --frozen-lockfile COPY frontend/ ./ RUN bun run build -FROM golang:1.26.10-alpine3.23@sha256:78e7f1e419545bc4b8b5ee8a40a99ddb5df1216d38681dbab2eeb1fdb2427f43 AS backend +FROM golang:1.27.3-alpine3.23@sha256:5d5113301ffcac84e2bfb20c42648803fecaea6789c89bb9b66884e18cbb30a7 AS backend ARG N2API_VERSION=dev ARG N2API_COMMIT=unknown ARG N2API_BUILD_TIME=1970-01-01T00:00:00Z @@ -18,7 +18,7 @@ RUN go build -trimpath \ -ldflags="-s -w -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.Version=${N2API_VERSION} -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.Commit=${N2API_COMMIT} -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.BuildTime=${N2API_BUILD_TIME}" \ -o /out/n2api ./cmd/n2api -FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a ARG N2API_VERSION=dev ARG N2API_COMMIT=unknown ARG N2API_BUILD_TIME=1970-01-01T00:00:00Z diff --git a/deploy/Dockerfile.e2e b/deploy/Dockerfile.e2e index 297bd0a..1d38d9e 100644 --- a/deploy/Dockerfile.e2e +++ b/deploy/Dockerfile.e2e @@ -1,4 +1,4 @@ -FROM golang:1.26.10-alpine3.23@sha256:78e7f1e419545bc4b8b5ee8a40a99ddb5df1216d38681dbab2eeb1fdb2427f43 AS e2e-go-base +FROM golang:1.27.3-alpine3.23@sha256:5d5113301ffcac84e2bfb20c42648803fecaea6789c89bb9b66884e18cbb30a7 AS e2e-go-base WORKDIR /src/backend COPY backend/go.mod backend/go.sum ./ RUN go mod download @@ -7,7 +7,7 @@ COPY backend/ ./ FROM e2e-go-base AS mock-openai-builder RUN CGO_ENABLED=0 go build -trimpath -o /out/mock-openai ./cmd/mock-openai -FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS mock-openai +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a AS mock-openai RUN apk add --no-cache --upgrade curl libcrypto3 libssl3 WORKDIR /app COPY --from=mock-openai-builder /out/mock-openai /app/mock-openai @@ -18,14 +18,14 @@ ENTRYPOINT ["/app/mock-openai"] FROM e2e-go-base AS gateway-e2e-builder RUN CGO_ENABLED=0 go test -c -o /out/gateway-e2e ./e2e -FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS gateway-e2e +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a AS gateway-e2e RUN apk add --no-cache --upgrade libcrypto3 libssl3 WORKDIR /app COPY --from=gateway-e2e-builder /out/gateway-e2e /app/gateway-e2e USER 65532:65532 ENTRYPOINT ["/app/gateway-e2e", "-test.v", "-test.timeout=3m"] -FROM oven/bun:1.4.2-alpine@sha256:d888c0ae6c86d7866ff10c5aafdd9077b36aee6455b33dd270fb93c0dd5cef6f AS contracts-javascript +FROM oven/bun:1.4.4-alpine@sha256:4cf82f5686b196504fe119db3fcd9185b191f82ece82c40680e597228ec6070a AS contracts-javascript WORKDIR /app COPY tests/contracts/javascript/package.json tests/contracts/javascript/bun.lock ./ RUN bun install --frozen-lockfile --production @@ -33,9 +33,9 @@ COPY tests/contracts/javascript/openai.test.ts ./ USER bun ENTRYPOINT ["bun", "test", "openai.test.ts"] -FROM ghcr.io/astral-sh/uv:0.12.17@sha256:10787c682e4184e4f290de1171fd4703dc63de99221f10fe1c99002ce7fa9acc AS uv-bin +FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv-bin -FROM python:3.12.13-slim-bookworm@sha256:d50fb7611f86d04a3b0471b46d7557818d88983fc3136726336b2a4c657aa30b AS contracts-python +FROM python:3.15.0-slim-bookworm@sha256:0e019bbdfb5d9874cb2389f1c2884b64aa2ac97c99960b5bc521cef978c0617d AS contracts-python ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 \ UV_PYTHON_DOWNLOADS=never From 08b2ce28b9215c78af1db6bdeb89ff117ee669f4 Mon Sep 17 00:00:00 2001 From: KnowSky404 Date: Mon, 9 Nov 2026 03:41:51 +0100 Subject: [PATCH 2/2] fix(deps): align container updates with pinned toolchains --- .github/workflows/ci-image.yml | 2 +- .github/workflows/security.yml | 2 +- deploy/Dockerfile | 2 +- deploy/Dockerfile.e2e | 4 ++-- dev/ci/verify-pinned-dependencies.sh | 2 +- frontend/package.json | 2 +- tests/contracts/javascript/package.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-image.yml b/.github/workflows/ci-image.yml index 9cfa282..a6a5522 100644 --- a/.github/workflows/ci-image.yml +++ b/.github/workflows/ci-image.yml @@ -201,7 +201,7 @@ jobs: - name: Set up Bun uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 with: - bun-version: 1.4.2 + bun-version: 1.4.4 - name: Install frontend dependencies working-directory: frontend diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 18eff99..b88a57a 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -157,7 +157,7 @@ jobs: - name: Set up Bun uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 with: - bun-version: 1.4.2 + bun-version: 1.4.4 - name: Install frontend dependencies working-directory: frontend diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 5e17496..d343c40 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -5,7 +5,7 @@ RUN bun install --frozen-lockfile COPY frontend/ ./ RUN bun run build -FROM golang:1.27.3-alpine3.23@sha256:5d5113301ffcac84e2bfb20c42648803fecaea6789c89bb9b66884e18cbb30a7 AS backend +FROM golang:1.26.10-alpine3.23@sha256:78e7f1e419545bc4b8b5ee8a40a99ddb5df1216d38681dbab2eeb1fdb2427f43 AS backend ARG N2API_VERSION=dev ARG N2API_COMMIT=unknown ARG N2API_BUILD_TIME=1970-01-01T00:00:00Z diff --git a/deploy/Dockerfile.e2e b/deploy/Dockerfile.e2e index 1d38d9e..796ce9a 100644 --- a/deploy/Dockerfile.e2e +++ b/deploy/Dockerfile.e2e @@ -1,4 +1,4 @@ -FROM golang:1.27.3-alpine3.23@sha256:5d5113301ffcac84e2bfb20c42648803fecaea6789c89bb9b66884e18cbb30a7 AS e2e-go-base +FROM golang:1.26.10-alpine3.23@sha256:78e7f1e419545bc4b8b5ee8a40a99ddb5df1216d38681dbab2eeb1fdb2427f43 AS e2e-go-base WORKDIR /src/backend COPY backend/go.mod backend/go.sum ./ RUN go mod download @@ -35,7 +35,7 @@ ENTRYPOINT ["bun", "test", "openai.test.ts"] FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv-bin -FROM python:3.15.0-slim-bookworm@sha256:0e019bbdfb5d9874cb2389f1c2884b64aa2ac97c99960b5bc521cef978c0617d AS contracts-python +FROM python:3.12.13-slim-bookworm@sha256:d50fb7611f86d04a3b0471b46d7557818d88983fc3136726336b2a4c657aa30b AS contracts-python ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 \ UV_PYTHON_DOWNLOADS=never diff --git a/dev/ci/verify-pinned-dependencies.sh b/dev/ci/verify-pinned-dependencies.sh index 5391ce7..868c5ad 100755 --- a/dev/ci/verify-pinned-dependencies.sh +++ b/dev/ci/verify-pinned-dependencies.sh @@ -67,7 +67,7 @@ while IFS=: read -r workflow line source; do echo "$workflow:$line must pin external Action $reference to a full commit SHA" >&2 exit 1 fi -done < <(rg -n --no-heading '^[[:space:]]*uses:[[:space:]]*' .github/workflows) +done < <(grep -nE '^[[:space:]]*uses:[[:space:]]*' .github/workflows/*.yml) declare -A build_stages=() while IFS= read -r stage; do diff --git a/frontend/package.json b/frontend/package.json index a5bb902..8189698 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,7 +3,7 @@ "private": true, "version": "0.1.0", "type": "module", - "packageManager": "bun@1.4.2", + "packageManager": "bun@1.4.4", "scripts": { "dev": "vite --host 0.0.0.0", "test": "bun test", diff --git a/tests/contracts/javascript/package.json b/tests/contracts/javascript/package.json index fad360b..62e2af0 100644 --- a/tests/contracts/javascript/package.json +++ b/tests/contracts/javascript/package.json @@ -3,7 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", - "packageManager": "bun@1.4.2", + "packageManager": "bun@1.4.4", "scripts": { "test": "bun test openai.test.ts" },