Expand description
The configuration check: what it reads about each module with a course code, and what it concluded.
Structs§
- Suotar
Config Check - What one configuration check concluded.
Nonemeans the check could not reach an answer, which the dashboard renders as “unknown” rather than as a failure. - Suotar
Module Config Facts - Everything the per-module configuration check reads, gathered in one query so validating every module costs one pass rather than a fan-out per module.
Functions§
- count_
modules_ failing_ config_ check - Modules with a course code the last check found broken. A module nothing has checked yet is not counted: unknown is not a failure.
- get_
config_ facts_ for_ modules_ with_ course_ code - The configuration facts of every module with a course code, optionally narrowed to one course. Paused modules are included: a paused module’s configuration is exactly what an operator is about to fix.
- get_
module_ ids_ failing_ config_ check - The modules
count_modules_failing_config_checkcounts. - record_
config_ check - Stamps the check result on the module, creating the configuration row for a module that has none: a module with a course code and no configuration is itself one of the problems being reported.