Files
kevinveenbirkenbachandClaude Opus 5.5 7a82a92e84 fix(web-app-prometheus): probe only the domains an app serves itself
#1180 gave web-app-matrix a canonical `jitsi` domain for its own Jitsi
and listed it under `services.jitsi.domains`. When Jitsi is shared or
disabled nothing serves that domain, and the blackbox healthz job of
web-app-prometheus probed every canonical domain, so the probe of
https://jitsi.matrix.<domain>/healthz/ready failed with "tls:
unrecognized name" and `prometheus scrape: every consumer role reports
up=1 and passes its probe` went red (main run 40017166046: Matrix#2,
Nextcloud#12).

web_health_expectations already skipped such keys. The rule now lives
in utils/domains/unserved.py: a key claimed by a service entity that is
disabled, or enabled but shared, is not served by that app. The health
filter uses it unchanged, and prometheus.yml.j2 filters its targets
through the new `served_domains` filter, which also drops the
`<key>_onion` mirror of a skipped key.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 11:44:14 +02:00
..
…

Domain Helpers 🌐

This package contains shared domain-related utility code for Infinito.Nexus.

The purpose of this folder is to keep domain logic in one predictable place so different plugins, helpers, and automation paths can rely on the same behavior. Rather than being tied to one feature, the code here supports the broader shape of how domains are interpreted, normalized, collected, and reused across the project. 🧭

Content in this package should stay:

  • small and composable
  • focused on reusable domain behavior
  • independent from feature-specific application flows
  • safe to import from multiple parts of the codebase

In short, utils/domains/ exists to make domain handling consistent, central, and easy to evolve without scattering similar logic throughout the repository. 🧩