Compare with main: accept the new share images and current glossary slugs

Merged
LU
2d ago
+74-1

"Compare with main" has been red on rebrand-doors and so on the launch PR (#943): 5 removed files and 3,102 pages with changed SEO tags. All are intended changes that the comparison did not know about.

  • Share images (3,097 pages): a page without its own image now gets one of the 48 brick trays instead of forrt-share.png. The comparison accepts exactly this pair of image and alt text, on both og: and twitter:. A page that had its own image, another alt text, or any other tag that changed still fails.
  • Home page: the organisation's structured data names the new default image.
  • Four glossary pages: the #1085 title change ("(p)" instead of "(p)") under the slugs the data artifact now uses.
  • Leaflet files: the visitors map no longer uses them since #1325.

Checks: 70 tests in test_rebrand_checks.py pass, including new ones for what must still fail. A manual run of the preview workflow on this branch compares with main.

šŸ¤– Generated with Claude Code


Summary by cubic

Fixes the "compare with main" check, which was red on rebrand-doors and the launch PR: 3,097 pages with changed SEO tags and 5 removed files that are all intended. The comparison now accepts them without relaxing anything else.

  • Pages without their own share image now get one of the 48 brick trays instead of forrt-share.png; the comparison accepts exactly this image and alt text pair on both og: and twitter:, and nothing else may change.
  • The home page's organisation structured data now names the new default image.
  • The four #1085 glossary title changes are accepted under the slugs the data artifact now uses.
  • The Leaflet assets removed with the SVG visitors map in #1325 are allowed.
  • New tests cover the accepted pairs and what must still fail.