ci(postgres): run the Postgres lane in three slices per major

Since the lane runs every suite that boots the app it takes about ten
minutes on Postgres 18 and about 25 on 14, past the job's 20 minute timeout.
Each major now runs it in three slices (--shard=i/3), each on its own runner
and service with its own template; the probe and its artifact stay once per
major, in the first slice. ci-ok still needs server-postgres, whose result is
failure when any slice fails or is cancelled, so every slice is required.
This commit is contained in:
Maurice
2026-11-17 22:41:57 +00:00
parent e8f808b67f
commit adcda60f7d
4 changed files with 32 additions and 23 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -18,8 +18,8 @@ import { defineConfig } from 'vitest/config';
* instead of the real database module.
*
* CI runs the lane once per supported Postgres major (the server-postgres job
* in test.yml). `--shard=i/n` slices it like the SQLite suite once it outgrows
* one runner; every slice builds its own template in global setup.
* in test.yml), each in three slices (`--shard=i/3`) like the SQLite suite;
* every slice builds its own template in global setup.
*/
export default defineConfig({
...base,