Reconcile all83 observed Semrush URLs and make complete CI verification independent of PyPI
Rebuild V2 candidate verification / candidate (push) Failing after 1m27s

This commit is contained in:
huncode committed 2026-10-26 19:08:48 +03:00
1 parent 44c5797144
commit e8cef39175
89 files changed
+110413 -1374

No files matched your search

+13 -9
View File
@@ -17,20 +17,24 @@ jobs:
COMMIT_SHA: ${{ github.sha }}
NEXT_TELEMETRY_DISABLED: "1"
run: npm run ci:quality
- name: Install pinned recovery verification dependencies
- name: Verify offline pinned checker dependencies and raster failure behavior
run: |
python3 -m venv .local-run/recovery-env
.local-run/recovery-env/bin/python -m pip install --disable-pip-version-check -r scripts/rebuild-v2/requirements.txt
python3 -S scripts/rebuild-v2/verify-vendor.py
node scripts/rebuild-v2/check-raster-sharp.mjs
- name: Validate complete export and safe preview
shell: bash
run: |
set -euo pipefail
py=.local-run/recovery-env/bin/python
"$py" scripts/rebuild-v2/check-preview.py
"$py" deploy/serve-local.py > "${RUNNER_TEMP}/videoreg-v2-preview.log" 2>&1 &
export PYTHONPATH="$PWD/scripts/rebuild-v2/vendor"
export PYTHONDONTWRITEBYTECODE=1
export VIDEOREG_RASTER_DECODER=sharp
py=python3
"$py" -S scripts/rebuild-v2/check-preview.py
"$py" -S scripts/rebuild-v2/check-fetch-rate-limit.py
"$py" -S deploy/serve-local.py > "${RUNNER_TEMP}/videoreg-v2-preview.log" 2>&1 &
preview_pid=$!
trap 'kill "$preview_pid" 2>/dev/null || true' EXIT
base=$("$py" - "$preview_pid" <<'PYREADY'
base=$("$py" -S - "$preview_pid" <<'PYREADY'
import json, pathlib, sys, time, urllib.request
expected_pid = int(sys.argv[1])
for attempt in range(50):
@@ -48,7 +52,7 @@ jobs:
raise SystemExit('Candidate preview did not become ready')
PYREADY
)
"$py" scripts/rebuild-v2/check-built.py --base "$base"
"$py" -S scripts/rebuild-v2/check-built.py --base "$base"
- name: Record verification identity and failures in job log
if: always()
run: |
@@ -57,7 +61,7 @@ jobs:
path = pathlib.Path('docs/rebuild-v2/evidence/built-crawl.json')
if path.is_file():
data = json.loads(path.read_text())
print(json.dumps({key: data.get(key) for key in ('sourceCommit', 'sourceManifestSha256', 'exportManifestSha256', 'summary', 'errors')}, ensure_ascii=False, indent=2))
print(json.dumps({key: data.get(key) for key in ('sourceCommit', 'repositoryHead', 'builtSourceManifestSha256', 'sourceManifestSha256', 'exportManifestSha256', 'rasterDecoder', 'summary', 'errors')}, ensure_ascii=False, indent=2))
else:
print('No complete crawl report: inspect earlier setup/build failure')
PYREPORT