Skip to content

Daily live check for launch week: the live site against main, and every link on it - #183

Merged
fosterstack-admin merged 5 commits into
mainfrom
www/live-check
Oct 22, 2026
Merged

fosterstack-admin merged 5 commits into
mainfrom
www/live-check

Conversation

@fosterstack-admin

Copy link
Copy Markdown
Contributor

Advisor-accepted read-back (Oct 22): one step in hygiene.yml's existing scheduled run, no new workflow file, failures to the existing tracking issue.

  • bin/live-check.py (stdlib only, read-only): the page list comes from the LIVE sitemap.xml (an entry for another host is refused, never fetched); every listed page must answer 200 and be byte for byte the file on main (so live and main cannot drift unseen), likewise sitemap.xml, llms.txt, robots.txt; every internal link and github.com/fosterstack link on the live pages must answer 200 (the advisory form may redirect). One fixed timeout (20 s) and ONE retry per request.
  • hygiene.yml: a new JOB live-check in the existing workflow (schedule, or manual which=live-check): checkout (the same pinned digest), check-site-rot.py --live on main, live-check.py. permissions: contents read only; no secret. proof-report (the only job with issues: write) now also runs after a live-check result, so a failure opens or comments on the ONE proof-failure issue (job name in bin/proof-pages.txt), and a green day closes it; TAG is passed empty unless the proof watch decided to run, so a day with only the live check never writes the proven-release artifact.
  • Tests first: bin/test-live-check.sh (local servers stand in for the site and for GitHub): 11 cases; run in the existing allowlist job next to the site-rot self-test. Allowlist: two patterns for the two new files.
  • Dry run against the real site today: 48 live pages, 0 problems, 40 s.

…e step in the existing scheduled run; failures go to the one tracking issue
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Deploying www with  Cloudflare Pages  Cloudflare Pages

Latest commit: 341d19d
Status: ✅  Deploy successful!
Preview URL: https://14206050.www-4rw.pages.dev
Branch Preview URL: https://www-live-check.www-4rw.pages.dev

View logs

…esolved against their page, sitemap paths kept inside the checkout, main checked out explicitly, manual runs reported; tests for each
… any case, control characters refused before trimming, no baseline ref needed; tests for the page redirect, link forms and proof-report
…st https links only, bad addresses reported instead of crashing; tests
…dropped); tests for both hosts and a page already in the sitemap
@fosterstack-admin
fosterstack-admin merged commit 2b94e23 into main Oct 22, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant