Skip to content

crawl/sitemap-coverage: distinguish product sitemap discovery from bounded crawl coverage #1651

Closed

Description

@deniskern

For confirmed commerce sites, expose which product URLs were discovered through a sitemap and which through crawl links. Only assert missing product coverage against a known product inventory.

Synthetic reproduction / acceptance fixture:

  1. Serve a shop with a known inventory of 12 product URLs and a complete product sitemap, while limiting the crawl to eight pages.
  2. Repeat with a failed sitemap read and then with a partial sitemap and separately supplied known inventory.
  3. Distinguish bounded crawl, unreadable sitemap and complete sitemap discovery; do not infer catalog size or missing products from eight sampled pages alone.

A site must first have evidence of commerce scope. Related #488 concerns noindex counting, rather than product inventory provenance. This is a feature request, not a newly measured regression.

Triage

Not traced to code in detail yet: crawl/sitemap-coverage is the closest rule and it compares sitemap URLs with crawled pages. I did not confirm whether it records how each URL was discovered or whether any product-inventory signal exists. Treat as a feature request. Related but not the same: #488 (closed, noindex counting).

Acceptance Criteria

  • For a site with commerce evidence, product URLs are reported by discovery source: sitemap, crawl link or both.
  • A bounded crawl smaller than the sitemap is reported as bounded coverage, not as missing products.
  • A failed sitemap read reports unreadable, a complete one reports complete, and a partial sitemap is distinguished.
  • Missing products are asserted only against a known product inventory.
  • Sites without commerce evidence see no change.

Generated by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrulessize: L

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions