Make site validation match bDS2 incremental performance #105

Closed
opened 2026-07-23 06:41:50 +00:00 by hugo · 1 comment
Owner

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.

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.
hugo added the bug label 2026-07-23 06:41:50 +00:00
Author
Owner

Implemented and verified the bDS2-compatible incremental validation path. Commit 4de0b6b derives 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 in d87e80f: 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.

Implemented and verified the bDS2-compatible incremental validation path. Commit 4de0b6b derives 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 in d87e80f: 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.
hugo closed this issue 2026-07-23 07:56:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hugo/RuDS#105