Skip to content

chore(deps): apply the red Dependabot updates with their fixes - #950

Merged
Medformatik merged 11 commits into
mainfrom
chore/dependabot-wave-2026-11-15
Nov 15, 2026
Merged

Medformatik merged 11 commits into
mainfrom
chore/dependabot-wave-2026-11-15

Conversation

@Medformatik

Copy link
Copy Markdown
Collaborator

What changed and why

This PR applies the four Dependabot PRs that were red (#921, #922, #923, #928) in one branch, with the fixes each needed, so CI runs once. #927, the Docker digest refresh, was green and is already merged. Each Dependabot commit was cherry-picked with -x where it applied; the lockfile was regenerated with pnpm after each conflict.

Minor and patch group (#921). Dependabot wrote the OTP code generator's graphql 16.15.0 into every manifest that lists graphql, which downgraded the root, otp-client and scripts workspaces from 17.0.2 and left the Entur generated code stale. Those workspaces go back to 17.0.2; only the generator moves to 16.15.0. A new Dependabot ignore rule stops graphql 16 proposals, because Dependabot cannot limit them to one workspace. The bundled undici moves to 8.12.4, which changes the extension CLI bundle, so this PR adds a patch Changeset for @openmapx/extension-cli.

Soup Sieve 4.1.1 (#928, security). This fixes the high-severity selector denial of service (Dependabot alert #260, GHSA-mmhr-3c5m-f64f and GHSA-6655-6qjp-jx7x); the Transitous catalog scripts run selectors over HTML fetched from third-party feed sites. Soup Sieve 3.0.2 and later need Python 3.11.5 or newer, and Debian bookworm ships 3.11.2. The data-manager, transitous-runner and transitous-tools images therefore move to Debian trixie (Python 3.13):

  • Bases are pinned by multi-arch index digest: node:24.22.2-trixie-slim and debian:trixie-slim. Every node stage moves, so native addons match the runner's glibc; the golang stage was already trixie.
  • Each bookworm security version check now names its trixie package and fixed version, with the Debian advisory cited: apt and libapt-pkg7.0 3.0.4, libexpat1 2.9.0-1deb13u1, libbrotli1 1.1.0-2+deb13u1, libssl3t64 and openssl 3.5.7-1deb13u3. libpcre2 keeps its upgrade without a minimum, as before. No check was dropped.
  • requirements.txt was regenerated for Python 3.13; only soupsieve moved.
  • The two Trivy exceptions for Soup Sieve 3.0.1 are removed. A security release-notes fragment covers the base change, and the pending apt fragment names the trixie versions.

jsdom 31.0.1 (#923, major). The 31.0.0 release notes list three breaking changes. Neither canvas nor @napi-rs/canvas is used, and no code calls the JSDOM constructor directly, so only the new CSS engine applies. That engine resolves var(), lengths and colours like a browser and evaluates @media at a fixed 1024×768 viewport, which caused all 31 failures in 8 web test files. The changes are in test files only:

  • The test setup now loads the app's real :root design tokens from globals.css.
  • A small helper resolves the token a test expects, replacing assertions on literal var(--omx-…) text, which a browser never returns.
  • Admin tests that faked a phone through matchMedia now agree with the 1024px layout. The two that need the phone drawer query its hidden links explicitly.
  • No product bug turned up.

postgres 4.1.1 (#922, major). v4 rewrites the pool, connection and protocol layers. I checked the v4.0.0 release notes and the README's upgrade guide against every use of the client:

  • Server-decided parameter types (infer: false). No change is needed. drizzle replaces the client's date/time serializers, so the code already passes ISO strings with explicit ::timestamp, ::timestamptz or ::text casts, and drizzle's overrides still apply under v4. No raw bigint or Buffer parameters, sql.array() calls or migration files with their own BEGIN/COMMIT were found. Every import already uses the default export.
  • Transactions. Manual BEGIN runs only on reserved connections or on the max: 1 migration session. A COMMIT that the server answers with ROLLBACK now rejects, and the two explicit COMMIT sites already treat a failed COMMIT as an unknown outcome.
  • Binary decoding. bytea and some arrays now decode in binary. MVT tiles still come back as the same Buffer, and int8 arrays still come back as strings.
  • Type fixes. v4 types a reserved connection without begin/end, which it never had at runtime. The configuration writer that hands one to drizzle gets an explicit, commented cast; its callers already receive a type without drizzle's transaction(). One test names the unsafe() parameter type directly instead of picking up v4's new overload.
  • Version. I took 4.1.1 instead of chore(deps): bump postgres from 3.4.9 to 4.0.0 #922's 4.0.0 to get the patch fixes. It was published four days ago, inside the repository's 7-day cooldown. jsdom 31.0.1 and Soup Sieve 4.1.1 are also the latest patch releases.

Related work

Supersedes #921, #922, #923 and #928.

Verification

  • pnpm install --frozen-lockfile passes on the final branch. The lockfile resolves postgres 4.1.1, jsdom 31.0.1, vitest 5.1.0 and undici 8.12.4.
  • pnpm check:policy passes on the minor-and-patch changes, including the Entur, OTP, API SDK and data-manager OpenAPI checks.
  • Passing focused tests:
    • scripts/otp/codegen.test.ts (17/17);
    • the Dependabot, supply-chain, CI, Docker release and Linux CI policy tests;
    • the 8 web test files that failed under jsdom 31 (161/161);
    • platform-configuration-application.test.ts (5/5).
  • Typechecks pass for apps/api (both configs), services/data-manager, packages/core and apps/ops-agent under postgres 4. The web app typecheck shows only the missing generated licences JSON, which needs a build.
  • Supply-chain pin, Docker-context and Dockerfile-sync checks pass for the trixie images.
  • drizzle-kit migrate applied every migration to a fresh PostGIS 18/3.6 database under postgres 4.
  • The extension CLI bundle was compared with main's: it differs only in the bundled undici, hence the Changeset.
  • The transitous-tools image was built for arm64 and smoke-tested: Python 3.13.5, soupsieve 4.1.1, and working gtfsclean and motis --help.
  • Left to this PR's CI:
    • the full node and web test projects and the database suites (api-privacy and ingestion matter most for postgres 4);
    • the data-manager and transitous-runner image builds, and all amd64 builds;
    • the Trivy scans.
  • Not covered anywhere: a real Transitous catalog run on Python 3.13.

Release and upgrade impact

Product impact: security

The Data Manager, Transitous runner and Transitous tools images move to Debian 13 and Python 3.13 (see the release-notes fragment). Operators who build custom images on top of them should expect Debian 13 package names. postgres 4 now honours PGSSLMODE and ~/.pgpass; the repository does not set either, so a deployment that sets PGSSLMODE will start using it.

dependabot Bot and others added 8 commits November 15, 2026 17:28
…1 updates

Bumps the minor-and-patch group with 21 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `5.0.5` | `5.1.0` |
| [graphql](https://github.com/graphql/graphql-js) | `16.14.2` | `16.15.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.5` | `5.1.0` |
| [@fastify/cors](https://github.com/fastify/fastify-cors) | `11.3.1` | `11.4.1` |
| [@opentelemetry/exporter-prometheus](https://github.com/open-telemetry/opentelemetry-js) | `0.300.0` | `0.301.0` |
| [@opentelemetry/sdk-metrics](https://github.com/open-telemetry/opentelemetry-js) | `3.0.0` | `3.1.0` |
| [fastify](https://github.com/fastify/fastify) | `5.12.7` | `5.12.8` |
| [lettermint](https://github.com/lettermint/lettermint-node) | `3.2.0` | `3.3.0` |
| [@fastify/swagger](https://github.com/fastify/fastify-swagger) | `9.9.2` | `9.9.3` |
| [expo-doctor](https://github.com/expo/expo/tree/HEAD/packages/expo-doctor) | `1.21.5` | `1.21.6` |
| [@fastify/rate-limit](https://github.com/fastify/fastify-rate-limit) | `11.2.1` | `11.2.2` |
| [@iconify/react](https://github.com/iconify/iconify/tree/HEAD/components/react) | `6.0.3` | `6.0.4` |
| [react-window](https://github.com/bvaughn/react-window) | `2.5.1` | `2.5.3` |
| [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) | `6.2.6` | `6.2.7` |
| [name-suggestion-index](https://github.com/osmlab/name-suggestion-index) | `8.0.20260918` | `8.0.20261101` |
| [undici](https://github.com/nodejs/undici) | `8.12.3` | `8.12.4` |
| [@scalar/openapi-parser](https://github.com/scalar/scalar/tree/HEAD/packages/openapi-parser) | `0.29.19` | `0.29.20` |
| [geo-tz](https://github.com/evansiroky/node-geo-tz) | `8.1.10` | `8.1.11` |
| [@ai-sdk/google](https://github.com/vercel/ai/tree/HEAD/packages/google) | `4.0.107` | `4.0.112` |
| [@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai) | `4.0.104` | `4.0.109` |
| [@ai-sdk/openai-compatible](https://github.com/vercel/ai/tree/HEAD/packages/openai-compatible) | `3.0.80` | `3.0.85` |

Updates `@vitest/coverage-v8` from 5.0.5 to 5.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/coverage-v8)

Updates `graphql` from 16.14.2 to 16.15.0
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](graphql/graphql-js@v16.14.2...v16.15.0)

Updates `vitest` from 5.0.5 to 5.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest)

Updates `@fastify/cors` from 11.3.1 to 11.4.1
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](fastify/fastify-cors@v11.3.1...v11.4.1)

Updates `@opentelemetry/exporter-prometheus` from 0.300.0 to 0.301.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js@experimental/v0.300.0...experimental/v0.301.0)

Updates `@opentelemetry/sdk-metrics` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js@v3.0.0...v3.1.0)

Updates `fastify` from 5.12.7 to 5.12.8
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v5.12.7...v5.12.8)

Updates `lettermint` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/lettermint/lettermint-node/releases)
- [Changelog](https://github.com/lettermint/lettermint-node/blob/main/CHANGELOG.md)
- [Commits](lettermint/lettermint-node@v3.2.0...v3.3.0)

Updates `@fastify/swagger` from 9.9.2 to 9.9.3
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](fastify/fastify-swagger@v9.9.2...v9.9.3)

Updates `expo-doctor` from 1.21.5 to 1.21.6
- [Release notes](https://github.com/expo/expo/releases)
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo-doctor/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/expo-doctor@1.21.6/packages/expo-doctor)

Updates `@fastify/rate-limit` from 11.2.1 to 11.2.2
- [Release notes](https://github.com/fastify/fastify-rate-limit/releases)
- [Commits](fastify/fastify-rate-limit@v11.2.1...v11.2.2)

Updates `@iconify/react` from 6.0.3 to 6.0.4
- [Commits](https://github.com/iconify/iconify/commits/HEAD/components/react)

Updates `react-window` from 2.5.1 to 2.5.3
- [Release notes](https://github.com/bvaughn/react-window/releases)
- [Changelog](https://github.com/bvaughn/react-window/blob/main/CHANGELOG.md)
- [Commits](bvaughn/react-window@2.5.1...2.5.3)

Updates `fake-indexeddb` from 6.2.6 to 6.2.7
- [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases)
- [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md)
- [Commits](dumbmatter/fakeIndexedDB@v6.2.6...v6.2.7)

Updates `name-suggestion-index` from 8.0.20260918 to 8.0.20261101
- [Changelog](https://github.com/osmlab/name-suggestion-index/blob/main/CHANGELOG.md)
- [Commits](osmlab/name-suggestion-index@v8.0.20260918...v8.0.20261101)

Updates `undici` from 8.12.3 to 8.12.4
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v8.12.3...v8.12.4)

Updates `@scalar/openapi-parser` from 0.29.19 to 0.29.20
- [Release notes](https://github.com/scalar/scalar/releases)
- [Changelog](https://github.com/scalar/scalar/blob/main/packages/openapi-parser/CHANGELOG.md)
- [Commits](https://github.com/scalar/scalar/commits/HEAD/packages/openapi-parser)

Updates `geo-tz` from 8.1.10 to 8.1.11
- [Release notes](https://github.com/evansiroky/node-geo-tz/releases)
- [Commits](evansiroky/node-geo-tz@v8.1.10...v8.1.11)

Updates `@ai-sdk/google` from 4.0.107 to 4.0.112
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/google/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/google@4.0.112/packages/google)

Updates `@ai-sdk/openai` from 4.0.104 to 4.0.109
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/openai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/openai@4.0.109/packages/openai)

Updates `@ai-sdk/openai-compatible` from 3.0.80 to 3.0.85
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/openai-compatible/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/openai-compatible@3.0.85/packages/openai-compatible)

---
updated-dependencies:
- dependency-name: "@ai-sdk/google"
  dependency-version: 4.0.112
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@ai-sdk/openai"
  dependency-version: 4.0.109
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@ai-sdk/openai-compatible"
  dependency-version: 3.0.85
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@fastify/cors"
  dependency-version: 11.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@fastify/rate-limit"
  dependency-version: 11.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@fastify/swagger"
  dependency-version: 9.9.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@iconify/react"
  dependency-version: 6.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@opentelemetry/exporter-prometheus"
  dependency-version: 0.301.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@opentelemetry/sdk-metrics"
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@scalar/openapi-parser"
  dependency-version: 0.29.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: expo-doctor
  dependency-version: 1.21.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: fake-indexeddb
  dependency-version: 6.2.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: fastify
  dependency-version: 5.12.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: geo-tz
  dependency-version: 8.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: graphql
  dependency-version: 16.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: lettermint
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: name-suggestion-index
  dependency-version: 8.0.20261101
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-window
  dependency-version: 2.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: undici
  dependency-version: 8.12.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 1814bd9)
The minor-and-patch group wrote the code generator's graphql 16.15.0 to every
manifest, downgrading the root, otp-client and scripts from 17.0.2 and leaving
the Entur generated code stale. Restore 17.0.2 there and stop Dependabot
proposing graphql 16 updates, which it cannot scope to one workspace.
The data-manager, transitous-runner and transitous-tools images move from
Debian bookworm (Python 3.11.2) to trixie (Python 3.13). Every node stage
moves together so native addons copied into the runner are built against
the same glibc, and the runners now match the trixie-based golang stage
that builds gtfsclean.

Bases are pinned by multi-arch index digest:
- node:24.22.2-trixie-slim@sha256:0820eaa85e07…
- debian:trixie-slim@sha256:a72b4433de1c…

The explicit security upgrades are translated to trixie package names and
the fixed trixie versions from the Debian security tracker: apt and
libapt-pkg7.0 >= 3.0.4 (DSA-6607-1), libexpat1 >= 2.9.0-1~deb13u1
(DSA-6566-1), libbrotli1 >= 1.1.0-2+deb13u1 (DSA-6582-1), libssl3t64 and
openssl >= 3.5.7-1~deb13u3 (DSA-6531-1). PCRE2 keeps its explicit upgrade
without a floor, as before: trixie's 10.46-1~deb13u2 point release already
carries the fixes.
Regenerate the Transitous requirements lock for Python 3.13 with uv; only
soupsieve moves (3.0.1 -> 4.1.1), fixing CVE-2026-126190
(GHSA-mmhr-3c5m-f64f, Dependabot alert #260) and CVE-2026-126191
(GHSA-6655-6qjp-jx7x). Releases >= 3.0.2 need Python >= 3.11.5, which the
trixie images now provide.

Remove the two Trivy exceptions that waived those advisories for
soupsieve 3.0.1 under python3.11; nothing else was waived.
Supersedes Dependabot #923 with the latest 31.x patch. jsdom is a
test-only dev dependency of apps/web, packages/core and three
integrations; the lockfile was regenerated with pnpm install.
jsdom 31 replaces its CSS engine with one that resolves computed styles
like a browser: var() is substituted, lengths and colours come back
resolved, and @media rules are matched against a fixed 1024x768 layout
viewport. Tests that read getComputedStyle had been asserting jsdom 30's
unresolved authored strings, and the --omx-* tokens were never defined
in the test document, so every token reference now fell back to its
initial or inherited value.

- setup.ts installs the top-level :root tokens from globals.css, as the
  app loads them on first paint.
- resolvedStyle() resolves an authored value through the same cascade,
  so assertions keep naming the token or layout constant they expect.
- MapControls checks that every transition duration is zero rather than
  an empty shorthand, which no browser reports.
- Admin navigation tests stub matchMedia consistently with the 1024px
  CSS layout. Where a test must drive the phone drawer, which that
  layout hides, it reaches the link through the hidden tree explicitly;
  the hosted Data topic test now also checks that no hidden Cache link
  exists and that a visible Transit/Coverage link remains.
Bump postgres from 3.4.9 to 4.1.1 in apps/api, packages/core (dev and
peer ranges) and services/data-manager, and adapt to the v4 types:

- A reserved connection is typed as ISql without begin/end. Drizzle's
  writer connection is built over it; cast it explicitly and document
  that the writer uses explicit BEGIN/COMMIT, not drizzle's transaction().
- `unsafe` gained a (query, options) overload, so the coordinator test
  proxy names the parameter-array type instead of Parameters<>[1].

Every production client is wrapped by drizzle, whose date/time
serializers already made raw Date parameters unusable under v3, so the
code passes ISO strings with casts and keeps v4's default infer: false.
@Medformatik Medformatik added the dependencies Dependency updates and dependency maintenance label Nov 15, 2026
@Medformatik Medformatik self-assigned this Nov 15, 2026
@Medformatik Medformatik added docker Container images and Docker build or deployment tooling python Pull requests that update python code labels Nov 15, 2026
The trixie bases ship zlib1g 1:1.3.dfsg+really1.3.1-1+b1; trixie-security's
1:1.3.dfsg+really1.3.1-1+deb13u1 fixes CVE-2026-76844 and CVE-2026-85091,
which failed the transitous-tools image scan.
…-2026-11-15

# Conflicts:
#	apps/web/src/test/setup.ts
@Medformatik
Medformatik merged commit 10bdcfb into main Nov 15, 2026
45 of 46 checks passed
@Medformatik
Medformatik deleted the chore/dependabot-wave-2026-11-15 branch November 15, 2026 19:42
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Dependency updates and dependency maintenance docker Container images and Docker build or deployment tooling python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant