Skip to main content

Module config_check

Expand description

The configuration check: what it reads about each module with a course code, 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 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_check counts.
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.