A gate only proves what it checks
Published
Notes
The SEO gate on this toolchain checked sitemap and route parity from the day it shipped. It compared the set of locations in the sitemap against the set of routes in the config, and it was correct about that comparison every single time.
It also never once looked at a lastmod, because the parser extracted locations and discarded the rest of each record. A sitemap could claim every page changed this morning and the gate would report a clean pass, truthfully, about the thing it measured.
That is the ordinary shape of this failure. Not a broken check, but a narrow one, reported in language broad enough to sound like coverage. The fix was not a better regex; it was parsing the whole record and then deciding what the record has to be true about.
Worth asking of any green check: what would still be wrong if this passed?
More
Back to the blog index.