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>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-03 13:13:23 +01:00
1 parent 4aea2d0be7
commit 76c19d533b
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ Il 1° dicembre 2026 la CI di `main` (run 557, lavoro `test (sqlite)`) è fallit
## Decisione
1. **Cartella temporanea in memoria.** Il contenitore del lavoro `test` monta un `tmpfs` da 4 GB al massimo in `/test-tmp`, e le prove la usano come cartella temporanea (`TMPDIR`). Il codice di Anubis e le impostazioni di SQLite restano quelli veri.
1. **Cartella temporanea in memoria.** Il contenitore del lavoro `test` monta un `tmpfs` da 4 GB al massimo in `/test-tmp`, e le prove la usano come cartella temporanea (`TMPDIR`). Il codice di Anubis e le impostazioni di SQLite restano quelli veri. Il montaggio ha l'opzione `exec`: Docker monta un `tmpfs` senza permesso di esecuzione, e i test dello script di pubblicazione (Fase 9) scrivono ed eseguono lì i loro `git` e `docker` finti. Senza `exec` parte il `git` vero e 18 test cadono (provato il 3/12/2026 nel contenitore della CI: 18 su 37 senza, 37 su 37 con).
2. **Il test di `/health` aspetta.** Un computer fermo da più di 5 secondi *deve* risultare non disponibile: il test guarda la risposta a cui si arriva entro 30 secondi. Uno scheduler o un database davvero fermi lo fanno fallire ancora, e il messaggio dice quale.
## Alternative scartate