Skip to content

Strengthen Jekyll build validation and remove duplicate CI runs - #20

Merged
dleontev merged 1 commit into
mainfrom
maintenance/build-validation-guards
Nov 3, 2026
Merged

dleontev merged 1 commit into
mainfrom
maintenance/build-validation-guards

Conversation

@dleontev

@dleontev dleontev commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

PR updates previously ran the full validation workflow twice, and the validation inventory manually rebuilt routes from filenames. This limits push-triggered validation to main while retaining pull-request and manual runs, enables strict front matter/Liquid parsing/unknown-filter errors, and replaces the manual inventory script with a Jekyll post-write hook.

The inventory now records resolved URLs, output paths, collection identity, merged metadata, and shared source data outside the published site. A rebuild invalidates the prior inventory so a failed build cannot leave it usable. Validators and browser checks identify articles through their collection, including when collections are relocated, and continue comparing source expectations with rendered HTML.

Validation:

  • Windows/Ruby 3.4.1: five real-build integration checks passed for custom permalinks/slugs, nested content, relocated collections, inherited defaults, output filtering/redirects, malformed YAML, unknown filters, invalid Liquid syntax, and stale-inventory invalidation.
  • Production build and content validation passed: 16 HTML pages, four search entries, and 13 certifications.
  • Compared the inventory with the current site: all 15 content-page routes and expected metadata plus the redirect are preserved, allowing Jekyll's native empty tag arrays.
  • Ubuntu/Ruby 3.3: all five build integration checks, content validation, and all 29 browser/accessibility/visual checks passed. All seven screenshot baselines are unchanged.
  • Confirmed exactly one pull-request workflow run for this commit; no duplicate branch-push run.

@dleontev
dleontev merged commit 93b7d40 into main Nov 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant