Match bDS2 zero-byte route validation
This commit is contained in:
@@ -450,7 +450,8 @@ surface SiteValidationSurface {
|
||||
rule SiteValidationScan {
|
||||
when: SiteValidationScanRequested()
|
||||
-- Parses <loc> entries from sitemap.xml into expected URL set
|
||||
-- Scans HTML output dir for index.html files (zero-byte = missing)
|
||||
-- Scans HTML output dir for index.html files (an expected zero-byte route
|
||||
-- is missing; an unexpected zero-byte route is extra)
|
||||
-- Compares source .md mtime against generated HTML mtime
|
||||
ensures: SiteValidationReport
|
||||
}
|
||||
|
||||
@@ -267,7 +267,8 @@ rule ValidateSite {
|
||||
-- expected: sitemap-eligible routes derived from published snapshots
|
||||
-- actual: non-empty **/index.html files on disk
|
||||
-- missing: expected routes with no non-empty index.html
|
||||
-- extra: non-empty index.html routes absent from the expected set
|
||||
-- extra: index.html routes absent from the expected set, including
|
||||
-- zero-byte files
|
||||
-- stale: existing post routes whose source mtime is more than one second
|
||||
-- newer than both the output mtime and tracked generation time
|
||||
-- Standalone HTML, XML, JSON, assets, Pagefind files, and content hashes are
|
||||
|
||||
Reference in New Issue
Block a user