Skip to content

Session Handoff [log-review]: Periodic 404 Log Review, Monthly From 2026-11-23 #491

Closed

Description

@ptr727

Next steps, in priority order

  1. Run the next monthly 404 pass on or after 2026-11-23. OPERATIONS.md "Logs and Debugging" carries the whole procedure. Run it from the repository rather than rebuilding it by hand.
    • Use the window block in "Reading a 404 list without being fooled by it" with start='2026-10-23T15:42', where this pass ended. It runs checks/log-review.jq over the joined window.
    • Cross-check the 403s with "A 403 is CrowdSec's until shown otherwise", and check any crawler 403 or 404 by forward-confirmed DNS.
    • Run "Checking that search engines can index both sites". A 404 on /news-sitemap.xml is a regression, and so is one on viljoen.family/robots.txt, /sitemap.xml, /tag/review, /viljoen-family, or /20180811_172609507_ios.
    • A routerless https 404 cluster beside 502s is the edge restarting. Leave it alone, per the new paragraph under "The log is three tiers".
    • When a new scanner shape crowds the list, add it to checks/log-review.jq in the same change that records the pass.
    • Done for a pass means a comment on this issue with the date range, the count left after filtering, and each finding's disposition.
  2. After that pass, close this lane out if it found nothing new. Otherwise write the next link with the next monthly date.

External blockers

  • Production log reads and CrowdSec reads need the maintainer's go-ahead. Ask once per session in a dialog before the first SSH or archive read. A past session's approval does not carry over.
  • Search Console is the maintainer's. A Googlebot-UA client fetched the blog's sitemap.xml once this window, where the previous window saw none. Whether both sitemaps are submitted in Google Search Console is visible only there.
  • The cleartext redirect is temporary (302/307) on both sites. Host-side, filed as ptr727/HomeAutomation-Config#1077, and that session left it in its backlog.
  • The home-network CrowdSec allowlist is still ptr727/HomeAutomation-Config#893. Until it lands, keep production probes to a handful per pass.

Internal dependencies

  • None. Each pass stands alone.

State

  • main is at 997bdb0 (Promote the News Sitemap Redirect #490), and develop is at 1861c43 (Redirect the Old News Sitemap to sitemap.xml #489). Release 1.0.258 is published.
  • 1.0.258 is deployed to VPS production by run 39996345850 as release 20261023-173814-39996345850-1, and /news-sitemap.xml answers 301 there. The local production mirror serves 997bdb0 and passed all 1294 URLs. VPS staging was not redeployed. Re-read each site's X-Blog-Release rather than trusting this line.
  • No feature branches or worktrees are left. The primary checkout is on develop and clean.
  • The local staging mirror serves a test build of Redirect the Old News Sitemap to sitemap.xml #489's branch, release 0a1593a-news2, which matches develop's Caddyfile and contract.
  • ptr727/HomeAutomation-Config#893, #894 and #1077 are open, and all three belong to the HomeAutomation-Config session.

The parked decision queue

Zero issues carry decision. This round asked four questions as it went, all answered: run the pass early with the production-read go-ahead, the news-sitemap redirect and the route-loss note, the #489 merge, and the #490 merge and release.

What the last round did

  • Ran the 404 pass early, on the maintainer's call, covering 2026-10-15 21:03 UTC through 2026-10-23 15:42 UTC. The pass is recorded in a comment on this issue. 711 survivors, one finding.
  • #489 redirects /news-sitemap.xml to /sitemap.xml through a @news_sitemap class (contract now 956 URLs), names /sitemap.xml among the sampled fixed destinations, and records in OPERATIONS.md that a routerless https 404 beside 502s is the edge restarting. Merged into develop.
  • #490 promoted it. Copilot's two scope findings read the three-dot compare view, declined with the two-dot tree diff as evidence. Released as 1.0.258 and deployed to production and the local production mirror.
  • The sample now sits at exactly its 30-path budget. The next render, redirect, or destination class fails --print-sample until SAMPLE_MAX_PATHS in check-live-urls.sh and MAX_PATHS in its test move together, or a class is folded.

What not to repeat

  • Hand-editing deploy/maps/slugs.map. capture/build-redirects.py rewrites it from the capture, and its filter never emits a one-slash key, so a fixed root-file redirect goes in the Caddyfile as its own exact-path class, the way /atom.xml and now /news-sitemap.xml do. The first strict review pass caught this after a staging check had already passed, since staging cannot see a future regeneration.
  • Dropping a sitemap or feed name as noise without a Wayback check. Round 1 dropped /news-sitemap.xml that way, and it was served for two years. Run the CDX query before dropping any name a real crawler polls.
  • Touching a line that holds a pre-existing over-long sentence. The sentence-length gate reads every sentence on a changed line, so appending a short sentence to OPERATIONS.md's routerless paragraph flagged its two existing 38- and 44-word sentences. Put the new text on its own line instead.
  • Writing the three sampled-destination sentences from one. checks/README.md, deploy/README.md, and OPERATIONS.md each describe SAMPLE_DESTINATIONS, and Copilot found the first while the strict review found the other two. A change to that array edits all three.
  • Everything in Session Handoff [log-review]: Periodic 404 Log Review, Monthly From 2026-11-15 #474's, Session Handoff [log-review]: Periodic 404 Log Review, Daily Through 2026-10-11 Then Monthly #461's and Session Handoff [log-review]: Periodic 404 Log Review, Daily Through 2026-10-11 Then Monthly #455's "What not to repeat" still applies.

New learnings

  • A routerless https 404 on a served hostname beside 502s is the edge restarting nightly or during a daytime host-side push, per the maintainer, and needs no action. Recorded in OPERATIONS.md "The log is three tiers".
  • pieter.viljoen.name is a registrar-level redirector that forwards its path to the blog, so a probe against it lands on the blog as a referer-bearing 404. Nothing to fix here, and the referer is the tell.
  • The gh-write-guard hook refuses a git -C "$var" and a git commit -F "$var" shape even in a linked worktree. Write the path out in full, or put the probe in a script run with bash <path>.

Activity

  1. added
    handoff
    on Oct 23, 2026
  2. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Folded into the standing default handoff issue #493.
    Under the maintainer decision on ptr727/ProjectTemplate#3391 item 5, one standing track per repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions