test(infra): shellcheck не-.sh скриптов, фикс BOM, регрессионный тест RAG
- workflow shellcheck теперь покрывает агентский CGI, hotplug WAN-монитор и точки входа usr/bin; в CGI перед shebang стоял UTF-8 BOM, из-за которого Linux вообще не мог исполнить скрипт (bad interpreter) - удалён вместе со случайными BOM в исходниках фронтенда - новый rag_embeddings.sh фиксирует исправленный порядок аргументов push(), инвалидацию кэша по отпечатку индекса, нормализацию null model_override и порядок объявлений - ни один из починенных багов RAG не сможет вернуться незаметно - hosts_li
This commit is contained in:
@@ -10,6 +10,9 @@ on:
|
||||
- 'build.sh'
|
||||
- 'install.sh'
|
||||
- 'tachyon/files/etc/init.d/**'
|
||||
- 'tachyon/files/usr/bin/**'
|
||||
- 'tachyon/files/usr/lib/cgi-bin/**'
|
||||
- 'tachyon/files/etc/hotplug.d/iface/**'
|
||||
- 'luci-app-tachyon/root/etc/uci-defaults/**'
|
||||
- 'tests/**/*.sh'
|
||||
- '.github/workflows/shellcheck.yml'
|
||||
@@ -21,6 +24,9 @@ on:
|
||||
- 'build.sh'
|
||||
- 'install.sh'
|
||||
- 'tachyon/files/etc/init.d/**'
|
||||
- 'tachyon/files/usr/bin/**'
|
||||
- 'tachyon/files/usr/lib/cgi-bin/**'
|
||||
- 'tachyon/files/etc/hotplug.d/iface/**'
|
||||
- 'luci-app-tachyon/root/etc/uci-defaults/**'
|
||||
- 'tests/**/*.sh'
|
||||
- '.github/workflows/shellcheck.yml'
|
||||
@@ -49,6 +55,9 @@ jobs:
|
||||
find . -type f \
|
||||
\( -name '*.sh' -o -path './build.sh' -o -path './install.sh' \
|
||||
-o -path './tachyon/files/etc/init.d/*' \
|
||||
-o -path './tachyon/files/usr/bin/*' \
|
||||
-o -path './tachyon/files/usr/lib/cgi-bin/*' \
|
||||
-o -path './tachyon/files/etc/hotplug.d/iface/*' \
|
||||
-o -path './luci-app-tachyon/root/etc/uci-defaults/*' \) \
|
||||
-print0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user