Files
computer-playbook/roles/web-svc-css
kevinveenbirkenbachandClaude Opus 4.7 99646f4001 fix(web-svc-css): pin cdn/matomo statically, keep only prometheus in matrix
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>
2026-05-23 04:23:44 +02:00
..

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 css entry in the central service registry.
  • CDN-backed delivery: Declares web-svc-cdn as 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.yml exercising both polarities of the cdn dependency.

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).