feat(scrape): disk-only verify flag and documents scrape preflight

run-documents-scrape.sh checks archive free space before live Discord
calls; verify-operator-ready.sh adds --disk-only for lightweight checks.
This commit is contained in:
Boden
2026-05-29 15:54:08 -05:00
parent 1142e376b5
commit 32b7f47d45
4 changed files with 47 additions and 1 deletions

View File

@@ -75,4 +75,8 @@ DCE_REPO_ROOT="$REPO_ROOT" \
"$REPO_ROOT/scripts/run-documents-scrape.sh" --dry-run --config "$TMP_DIR/config.json" >/dev/null
DCE_MIN_FREE_MB=0 DCE_CONFIG_FILE="$TMP_DIR/config.json" \
"$REPO_ROOT/scripts/verify-operator-ready.sh" --disk-only --config "$TMP_DIR/config.json" \
| grep -q 'disk-only: ok'
echo "documents-scrape-smoke: ok"