fix: gate bootstrap syntax in release build
All checks were successful
Quality gates / quality (push) Successful in 1m45s
All checks were successful
Quality gates / quality (push) Successful in 1m45s
This commit is contained in:
parent
8e3c2f8889
commit
11d1b364ab
|
|
@ -135,6 +135,7 @@ def main() -> int:
|
|||
run(["npm", "audit", "--audit-level=high"], tree)
|
||||
for file in ("app.js", "server.mjs", "service-worker.js", "src/analysis.js", "src/domain.js", "src/hermes-agent-service.js", "src/vision-config.js", "src/vision-service.js"):
|
||||
run(["node", "--check", file], tree)
|
||||
run(["bash", "-n", "scripts/bootstrap_selfhost_smolvlm.sh"], tree)
|
||||
run(["bash", "-n", "scripts/run_selfhost_smolvlm.sh"], tree)
|
||||
run(["python3", "-m", "py_compile", "scripts/ingest_training_photo.py", "scripts/build_release.py"], tree)
|
||||
run(["git", "diff", "--check", commit], tree)
|
||||
|
|
|
|||
|
|
@ -20,9 +20,10 @@ test('release demo visibly explains the CI-protected browser path without overst
|
|||
assert.match(demo, /SLEEK\. SIMPLE\.<br>HERMES-POWERED\./);
|
||||
});
|
||||
|
||||
test('release builder gates the sleek shell and Hermes chat browser path', async () => {
|
||||
test('release builder gates the sleek shell, Hermes chat, and bootstrap syntax', async () => {
|
||||
const builder = await readFile(builderPath, 'utf8');
|
||||
assert.match(builder, /"test:sleek"/);
|
||||
assert.match(builder, /"sleek_hermes_chat_acceptance": "passed"/);
|
||||
assert.match(builder, /Sleek three-destination shell/);
|
||||
assert.match(builder, /"bash", "-n", "scripts\/bootstrap_selfhost_smolvlm\.sh"/);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user