web-svc-css is a pure redirect vhost to web-svc-cdn (tasks/01_core.yml). That makes cdn a hard dependency, not a matrix dimension, and leaves the redirect with no own page views for matomo to track. Hardcode both, shrink variants.yml to the one truly optional observability peer (prometheus). Fixes the round-1 Playwright failure where cdn was purged under the css variant despite css being unreachable without it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CSS Service
Description
CSS styles the user-facing surfaces of web applications across the deployment.
This role registers css as a canonical service in the deployment's service registry so consumer roles can declare CSS as a runtime dependency.
Overview
This role owns the css service flag and declares web-svc-cdn as the upstream that serves the actual CSS bytes.
Consumer roles gate CSS-dependent surfaces on 'web-svc-css' in group_names via their own meta/services.yml.
The role's canonical domain 301-redirects to the CDN's canonical domain so health probes against the CSS hostname return a valid response.
Features
- Service flag ownership: Owns the
cssentry in the central service registry. - CDN-backed delivery: Declares
web-svc-cdnas the upstream that serves the actual CSS bytes. - Health-probe friendly: Redirects the canonical CSS hostname to the CDN so HTTP probes return a valid response.
- Variant-matrix coverage: Ships
meta/variants.ymlexercising both polarities of thecdndependency.
Further Resources
Credits
Developed and maintained by Kevin Veen-Birkenbach. Learn more at veen.world. Part of the Infinito.Nexus Project. Licensed under the Infinito.Nexus Community License (Non-Commercial).