Repository navigation
Conversation
The sitemap walk caps entries at 500 and child sitemaps at 10. A page missing from the part it read may be listed in the part it skipped, so discovery-index-coverage now returns notApplicable instead of failing. Found on a large retail site whose 2455-URL product sitemap filled the cap before the one-URL sitemap that lists the homepage.
k2kirov
force-pushed
the
fix/discovery-coverage-truncated-sitemap
branch
from
October 6, 2026 09:17
d8ffb42 to
53b65e4
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
machine-discovery/discovery-index-coveragefailed a large retail site for an unindexed homepage. The homepage is listed insitemap_4.xml.The shared sitemap walk keeps at most 500 entries and reads at most 10 child sitemaps. the site's index lists a 2455-URL product sitemap first, which filled the cap. The one-URL sitemap holding the homepage was read, but its entry was dropped, and the audit never checked
tree.truncated.A page missing from a partial read may be listed in the part the walk skipped. The audit now returns
nain that case. A page found in the partial read still passes; a page missing from a complete read still fails.Changes
discovery-index-coverage.ts: decline the verdict whentruncatedorscopeIncompleteis set and a page is uncovered.na), and a complete read that still fails.## Deferredsection (5 MB body cut is unflagged; walk keeps fetching children after the entry cap).Verification
AL_SKIP_NETWORK=1), typecheck, lint, check:dossiers, check:requires, check:audit-map, format:check all pass.fail->na; overall 59 -> 60.