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>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-03 14:29:00 +01:00
1 parent db563a0ebf
commit 46e4a2bf6a
3 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ Nulla.
- Nella modalità dimostrativa il Laboratorio è spento: mostra l'elenco ma non esegue prove.
- I dati di mercato si spengono con `ANUBIS_MARKET_DATA=off`; nella modalità dimostrativa sono sempre spenti.
- Gli universi passati usano i flag ETF e "frazionabile" di oggi: è un limite delle fonti gratuite (API-NOTES, Fase 2).
- Nella CI le prove tengono i database SQLite in una cartella in memoria, perché il disco dell'esecutore si ferma per secondi sotto carico (ADR 0019, pull request #110 unita il 3/12/2026).
- Nella CI le prove tengono in memoria sia i database SQLite sia i dati del servizio PostgreSQL, perché il disco dell'esecutore si ferma per secondi sotto carico (ADR 0019).
- Gitea ha un esecutore delle Actions attivo: la CI gira a ogni push (prima esecuzione: run 169 del branch `fase-0`, test verdi su SQLite e PostgreSQL). `tasks ci` resta per provarla in locale.
- Su questo PC Docker Desktop non partiva: erano rimasti due file di comunicazione di una sessione di ottobre, che Windows non riusciva a cancellare. Le cartelle che li contengono sono state rinominate, non cancellate: `%LOCALAPPDATA%\Docker\run.stale*` e `%LOCALAPPDATA%\docker-secrets-engine.stale*`. Si possono eliminare dopo un riavvio.