Make site validation match bDS2 incremental performance #105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
RuDS site validation renders the whole site and hashes generated HTML/XML/JSON before reporting differences. Match bDS2: derive expected route paths without rendering, compare only index.html routes, and detect updated post routes from source/output timestamps for fast incremental rebuilds.
Implemented and verified the bDS2-compatible incremental validation path. Commit
4de0b6bderives the route manifest from published snapshots without rendering templates or hashing generated content, refreshes the sitemap, compares only **/index.html routes, and detects stale post routes using source/output/tracked-generation timestamps with the one-second filesystem tolerance. The completion review found and fixed one baseline mismatch ind87e80f: unexpected zero-byte index routes are now reported as extra while expected zero-byte routes remain missing. Added the isolated regression and corrected the Allium rules. Verification: targeted red/green regression, all 24 generation-engine tests, cargo test --workspace, cargo fmt --check, Allium check, release cargo bundle-macos, and a real bundled-app validation run. Neutral review against issue #105, bDS2 validation.ex, and the Allium spec found no remaining gaps.