mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 12:35:48 -05:00
the_menu_family_list_now_does_not_wait_for_the_scan held the background font scan with a named pipe named like a font. The font catalog now skips files that are not regular files, so the scan never waited on the pipe: it read the small test folder and could finish before the test called installed_fonts_ready and menu_family_list_now. On a busy CI runner the test then saw the installed fonts and failed with "before the scan ends, only the fonts already loaded". The test now builds its database with a test-only lister that the scan calls before it reads the folder. The lister waits until the test drops a channel sender after the two calls return, and gives up after 10 s so that a list that waits for the scan fails the test instead of hanging it. The pipe, the release thread and the Unix-only gate are removed.