ci(db): run the Postgres probe and lane on Postgres 14 and 18

TREK supports Postgres 14 to 18, and CI tested 17 only. One server-postgres
job per major now runs the probe and then the lane against the same service,
so the change keeps the job count of the two jobs it replaces. The lane's
global setup refuses a service whose major is not TREK_TEST_PG_MAJOR, and
the image's Postgres boot moves to 18, the major its client tools target.

scripts/ci/workflow-jobs.test.mjs fails when a job other than the scan is
missing from ci-ok's needs, and changed-areas pins that migrations,
repositories, the engine and the lane's files always run the job.
This commit is contained in:
Maurice
2026-11-17 11:47:40 +01:00
parent 3b6d7238fe
commit e4b990b75e
6 changed files with 133 additions and 70 deletions
@@ -64,7 +64,7 @@ import { describe, expect, it } from 'vitest';
/**
* The Postgres branches of the dialect layer, pinned as compiled text. Nothing
* here talks to a Postgres server: the CI `postgres-probe` job
* here talks to a Postgres server: the CI `server-postgres` job
* (`scripts/pg-probe.ts`) runs every one of these spellings against a real
* one and compares the values with what SQLite returns. This file holds the
* text, so a change to a spelling is a visible diff in review.