You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
crawl/sitemap-valid: guessed sitemap paths on a catch-all server fail with Unknown sitemap format #670
Summary. On a server that returns HTML with a 200 for every path (a catch-all or soft-404 site), crawl/sitemap-valid fails with Unknown sitemap format for each of the guessed sitemap paths it probes (8 on the fixture), even though the site has no sitemap. The check reports sitemap errors the site never published.
Seen on 0.0.108 with a local catch-all fixture. The sitemap parser is in packages/crawler/src/sitemaps.ts (the message comes from around line 147).
Acceptance Criteria
A guessed sitemap path that returns HTML (or any non-sitemap content type with no XML or gzip body) is treated as "no sitemap here", not as an invalid sitemap.
A sitemap declared in robots.txt that returns HTML still fails with a clear message, because the site claimed it exists.
A real sitemap at a guessed path is still parsed and validated.
A test covers the catch-all fixture, a declared-but-HTML sitemap and a real guessed sitemap.
Fixed in # and merged to main. Every acceptance criterion is met per the PR description, with before and after evidence from the CLI on local fixtures, tests that fail on the old code, and review comments triaged. Criteria ticked.
Activity
fix(crawler): report the zlib reason for corrupt deflate, test br/def…
fix(crawler): read a body that opens with markup as already decoded, …
fix(crawler): read gzip sitemaps within 50 MB, a guessed path that an…
nc9 commentedon Oct 12, 2026
Fixed in # and merged to main. Every acceptance criterion is met per the PR description, with before and after evidence from the CLI on local fixtures, tests that fail on the old code, and review comments triaged. Criteria ticked.