Commit Graph
3 Commits
Author SHA1 Message Date
Alby96andClaude Opus 5.5 46e4a2bf6a Keep the data of the CI's PostgreSQL service in memory
ci / test (postgres) (push) Successful in 5m50s
ci / test (sqlite) (push) Successful in 5m11s
ci / test (postgres) (pull_request) Successful in 5m40s
ci / test (sqlite) (pull_request) Successful in 5m0s
ci / image (push) Successful in 2m37s
ci / image (pull_request) Successful in 1m0s
The PostgreSQL job of the Phase 9 CI failed once on a read timeout while a
test connected: the service log showed the runner's disk stalled, with a
25-second checkpoint even with fsync off and a forced DROP DATABASE
waiting on a stuck backend. The data of the service now live on a tmpfs
at /var/lib/postgresql, which holds PGDATA in PostgreSQL 18, like the
SQLite test databases already do (ADR 0019).

Tried in the CI's SDK container against postgres:18 with the same
options: 706 tests passed of 709 (3 skipped), peak use 295 MB, no stall.
The limit is 1 GB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:29:00 +01:00
Alby96andClaude Opus 5.5 76c19d533b Let the tests run their fake tools from the CI's memory folder
ci / test (postgres) (push) Successful in 7m50s
ci / test (sqlite) (push) Successful in 5m23s
ci / test (sqlite) (pull_request) Successful in 5m24s
ci / image (push) Successful in 3m54s
ci / test (postgres) (pull_request) Successful in 7m19s
ci / image (pull_request) Successful in 1m36s
Docker mounts a tmpfs noexec by default. The publish script tests of
Phase 9 write fake git and docker into the temp folder and run them;
on /test-tmp they could not, the real git ran instead and 18 tests
failed. Reproduced in the CI's SDK container: 18 of 37 delivery tests
fail without exec, all 37 pass with it. ADR 0019 says why.

refs #75

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 13:13:23 +01:00
Alby96andClaude Opus 5.5 e8b3500db6 Keep the test databases of the CI in memory
ci / test (postgres) (push) Successful in 6m54s
ci / test (sqlite) (push) Successful in 5m17s
ci / test (postgres) (pull_request) Successful in 6m51s
ci / test (sqlite) (pull_request) Successful in 7m17s
ci / image (push) Successful in 1m0s
ci / image (pull_request) Successful in 1m40s
The disk of the runner stops for seconds under load, and the health check of a
test rightly answered "unavailable" after five. PostgreSQL was already spared
the syncs (ADR 0015); the SQLite tests now use a temporary folder in memory, and
the health test looks at the answer it settles on (ADR 0019).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:31:13 +01:00