Skip to main content

Module config_check

Expand description

The configuration check: what it reads about each enabled module, and what it concluded.

Structs§

SuotarConfigCheck
What one configuration check concluded. None means the check could not reach an answer, which the dashboard renders as “unknown” rather than as a failure.
SuotarModuleConfigFacts
Everything the per-module configuration check reads, gathered in one query so validating every enabled module costs one pass rather than a fan-out per module.

Functions§

count_modules_failing_config_check
Enabled modules the last check found broken. A module nothing has checked yet is not counted: unknown is not a failure.
get_config_facts_for_enabled_modules
Every Suotar-enabled module’s configuration facts, optionally narrowed to one course. Paused modules are included: a paused module’s configuration is exactly what an operator is about to fix.
record_config_check
Stamps the check result on the module, creating the configuration row for a module that has none: an enabled module with no configuration is itself one of the problems being reported.