Files
aigc-home/docs/hel-892/controlnet-document-evidence/validation-commands.txt
T

21 lines
2.8 KiB
Plaintext

# Repository root; existing locked dependencies only. No target machine, plugins or media execution.
uv sync --project calliope-backend --frozen --extra dev --python 3.11
npm ci --prefix calliope-web --ignore-scripts
uv run --project calliope-backend --offline python docs/hel-892/controlnet-document-evidence/build_definition.py
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_asr_fixed_document.py calliope-backend/tests/test_media_fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_fixed_document.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_supplied_companions.py calliope-backend/tests/test_delivery_scope.py calliope-backend/tests/test_h3_reference.py -q --disable-warnings
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py docs/hel-892/controlnet-document-evidence/build_definition.py docs/hel-892/controlnet-document-evidence/recompute.py e2e/run-controlnet-document.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml --check calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py docs/hel-892/controlnet-document-evidence/build_definition.py docs/hel-892/controlnet-document-evidence/recompute.py e2e/run-controlnet-document.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/controlnet-document-evidence/recompute.py
# Run frontend build/check BEFORE browser tests: SvelteKit sync/build can trigger Vite page reload.
npm run build --prefix calliope-web
npm test --prefix calliope-web
npm run check --prefix calliope-web
# Existing svelte-check 1 error / 2 warnings; see frontend-check.txt, no frontend source changed.
# From calliope-web: npm exec -- eslint src/lib/components/WorkflowDocumentDrawer.svelte src/lib/comfy/types.ts
# Existing missing eslint.config exits2; no claim of whole-repository green.
node --check e2e/controlnet-document.mjs
LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-controlnet-document.py
# Foreground supervisor: ControlNet plus ASR/media/audio/H3 regressions, always stops owned services.
# Rebuild definition and recompute twice: definition/review/actual/import/boundary/package/audit hashes must match.