Files
aigc-home/docs/hel-892/h3-document-evidence/validation-commands.txt
T
2026-10-30 08:19:07 +08:00

19 lines
2.4 KiB
Plaintext

# All commands run from repository root unless explicitly scoped; no target connection.
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/h3-document-evidence/build_definition.py
uv run --project calliope-backend --offline pytest 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 calliope-backend/src/calliope/comfyui/library.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_fixed_document.py docs/hel-892/h3-document-evidence/*.py e2e/workflow-document-server.py e2e/run-h3-document.py
uv run --project calliope-backend --offline ruff format --check calliope-backend/src/calliope/comfyui/library.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_fixed_document.py docs/hel-892/h3-document-evidence/*.py e2e/workflow-document-server.py e2e/run-h3-document.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/h3-document-evidence/recompute.py
npm run build --prefix calliope-web
npm run check --prefix calliope-web
npm test --prefix calliope-web
# From calliope-web: npm exec -- prettier --plugin prettier-plugin-svelte --check src/lib/components/WorkflowDocumentDrawer.svelte
# From calliope-web: npm exec -- eslint src/lib/components/WorkflowDocumentDrawer.svelte src/lib/comfy/types.ts
# Above check keeps one known PromptPreviewModal error / two old warnings; ESLint cannot start without existing config.
# Runtime-local, pre-existing browser tools; no dependency added/downloaded:
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-h3-document.py
# Browser creates only isolated startup DB and then uses GET-only, stopping both exact owned child service groups in finally.