ci(clt): add pre-warming for HuggingFace model cache#4622
Conversation
donhardman
commented
Jun 8, 2026
- Add prepare_models job to download and cache embedding models
- Implement dynamic cache key based on models used in .rec files
- Mount shared model cache into CLT test containers to avoid redownloads
- Add prepare_models job to download and cache embedding models - Implement dynamic cache key based on models used in .rec files - Mount shared model cache into CLT test containers to avoid redownloads
Linux debug test results1 210 tests 1 158 ✅ 1h 55m 1s ⏱️ For more details on these failures, see this check. Results for commit f06a4af. |
clt❌ CLT tests in Failed tests:🔧 Edit failed tests in UI: test/clt-tests/core/test-alter-table.rec––– input –––
rm -rf /var/lib/manticore
––– output –––
+ rm: cannot remove '/var/lib/manticore/.cache/manticore': Device or resource busy
––– input –––
mkdir /tmp/test-alter/
––– output –––
OK
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
OK
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
OK
––– input –––
ls -1 /var/lib/manticore/
––– output –––
- exc.txt
+ test-alter
- stop.txt
- wordforms1.txt
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd ${SEARCHD_ARGS:-} > /dev/null
––– output –––
OK
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
+ ERROR 1064 (42000) at line 1: error adding table 'test3': 'stopwords' file missed stop.txt
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
- *************************** 1. row ***************************
+ ERROR 1064 (42000) at line 1: SHOW TABLE SETTINGS requires an existing table
- Variable_name: settings
- Value: exceptions = /tmp/test-alter/test3/exceptions_chunk0_0.txt
- stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
+ ERROR 1064 (42000) at line 1: table 'test3' is not found, or not real-time
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
- *************************** 1. row ***************************
+ ERROR 1064 (42000) at line 1: SHOW TABLE SETTINGS requires an existing table
- Variable_name: settings
- Value: stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt |