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

28 lines
3.7 KiB
Plaintext

# 仓库根,既有锁定依赖;全部数据库与服务本地隔离,无目标请求。
uv sync --project calliope-backend --frozen --extra dev --python 3.11
npm ci --prefix calliope-web --ignore-scripts
python3 docs/hel-892/background-document-evidence/rebuild.py
python3 docs/hel-892/background-document-evidence/render_report.py
# rebuild只重建本轮受信数据和显式摘要白名单;旧十块去user_overview后必须逐对象一致。
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_qwen_fixed_document.py 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_case04_saved_reference.py -q --disable-warnings
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/background-document-evidence/*.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py e2e/run-background-document.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml --check docs/hel-892/background-document-evidence/*.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py e2e/run-background-document.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/background-document-evidence/recompute.py
uv run --project calliope-backend --offline python docs/hel-892/background-document-evidence/repeat.py
# 样例输出import-protection.json、audit-summary.json、boundaries.json、package-check.json、repeatability.json。
# 必须先构建wheel/sdist,缺包入口给中文构建命令。历史BASE固定ec3388a,真正git archive旧代码建库。
npm run build --prefix calliope-web
npm test --prefix calliope-web
npm run check --prefix calliope-web
# 上项旧基线1错误/2警告,无本轮改动文件诊断;不称全仓全绿。
npx --prefix calliope-web eslint calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte calliope-web/src/lib/comfy/types.ts
# ESLint缺既有eslint.config,退出2。仅记录,不引依赖/扩大修旧问题。
node --check e2e/background-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-background-document.py
# Supervisor启动隔离生产router GET服务和Vite,完成/异常均停止自建进程。
# --only-background仅复跑11图默认层次与背景44项;--only-qwen为同一个别名,兼容此前脚本习惯。
# 全组含background、qwen-edit、qwen、controlnet、asr、media、audio、h3。
# 源/api/view及其它非本地请求均拒绝;既有Google字体CSS请求以本地空响应,不通外网。
# 截图只通过工单附件交付;.local-evidence内原始截图不写历史证据目录。