CI: i database SQLite delle prove stanno in memoria #110

Open
Alby96 wants to merge 1 commits from ci-sqlite-ram into main
pull from: ci-sqlite-ram
Owner

La CI di main dopo l'unione della Fase 8 (run 557) è caduta in HealthChecksDatabaseAndScheduler: per oltre 6 secondi nessun test è avanzato e il ping al database ha superato i suoi 5 secondi. È il disco dell'esecutore, come nell'ADR 0015, che però riguardava solo PostgreSQL.

  • Nella CI le prove usano una cartella temporanea in memoria (tmpfs, al massimo 4 GB). Il codice di Anubis e le impostazioni di SQLite restano quelli veri.
  • Il test di /health guarda la risposta a cui si arriva entro 30 secondi. Provato con un guasto voluto: fallisce e mostra lo stato dei controlli.
  • ADR 0019.

🤖 Generated with Claude Code

La CI di `main` dopo l'unione della Fase 8 (run 557) è caduta in `HealthChecksDatabaseAndScheduler`: per oltre 6 secondi nessun test è avanzato e il ping al database ha superato i suoi 5 secondi. È il disco dell'esecutore, come nell'ADR 0015, che però riguardava solo PostgreSQL. - Nella CI le prove usano una cartella temporanea in memoria (`tmpfs`, al massimo 4 GB). Il codice di Anubis e le impostazioni di SQLite restano quelli veri. - Il test di `/health` guarda la risposta a cui si arriva entro 30 secondi. Provato con un guasto voluto: fallisce e mostra lo stato dei controlli. - ADR 0019. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Alby96 added 1 commit 2026-12-01 17:36:59 +01:00
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
e8b3500db6
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>
All checks were successful
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
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ci-sqlite-ram:ci-sqlite-ram
git checkout ci-sqlite-ram
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BalboSoft/Anubis#110