mirror of
https://github.com/Such-Software/such.software.git
synced 2026-10-17 05:32:05 +02:00
The site had no CI of any kind: no .github, no .gitea, no workflow. The only automation touching production is the redeploy timer, and it runs no checks. So `pnpm run check` now exists as the single command, lint then build then the metadata assertions, and it is the thing a CI lane will eventually call. The first assertion reads the emitted HTML, because that is the only place the defect it catches is visible. Next composes metadata at build time and merges it shallowly, so a page declaring its own `openGraph` silently replaces the parent's image. No diff, no type error and no lint rule shows that; only the output does. Reintroducing the bug on /support was confirmed to fail this check, and the refusal names the route, the missing tag, and what breaks without it. It refuses rather than passing vacuously when there is no build output, or when the output holds no HTML. A metadata checker that reports success over zero pages is worse than none, because it is quoted. Four tags per page, each with its reason: og:image, twitter:image, canonical, description. 51 of 51 today.