gestion_table_tournante_libre/scripts
Mathieu Benoit 63efdb21a1 [FIX] matrix: UTF-8 locale for Chromium, skip ps reading when absent
On Linux, Chromium converts origin-private file names through the process
locale. The debian:13 and fedora:44 images set no LANG, so every accented
name failed with TypeMismatchError there, while Arch, which sets C.UTF-8,
passed. The container steps now run under LANG=C.UTF-8, and a browser test
names that cause when a Chromium cannot write an accented name. The long
test that reads the real ps skips with its reason when ps is missing.
Checked: debian-13 and fedora-44 test_navigateur and test_long green in
containers; 36 browser and 26 node-long tests locally.

--- FR ---

[FIX] matrice : locale UTF-8 pour Chromium, lecture ps sautée sans ps

Sous Linux, Chromium convertit les noms de fichiers de l'origine privée par
la locale du processus. Les images debian:13 et fedora:44 ne posent aucun
LANG : chaque nom accentué y échouait (TypeMismatchError), alors qu'Arch,
qui pose C.UTF-8, passait. Les étapes des conteneurs tournent sous
LANG=C.UTF-8, et une épreuve du navigateur nomme cette cause quand un
Chromium n'écrit pas un nom accentué. L'épreuve longue qui lit le vrai ps se
saute, raison dite, quand ps manque.
Vérifié : debian-13 et fedora-44 au vert en conteneur ; 36 + 26 en local.

Assisted-by: Claude Opus 5.5
2026-10-07 02:14:19 -04:00
..
installation [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
oracle [ADD] prng: PCG32 checked against the reference C implementation 2026-10-05 17:27:06 -04:00
windows [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
construire_windows.sh [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00
construire_windows.test.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
engendrer_livrables.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
engendrer_livrables.test.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
essai_demarrage.js [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
verifier_systemes.sh [FIX] matrix: UTF-8 locale for Chromium, skip ps reading when absent 2026-10-07 02:14:19 -04:00
version.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
version.test.js [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00