3
0
Fork 0

feat: add problem checks + handler feature

the basic idea is to run nightly checks and send email if problems are
found.  it should also support variations on that theme,
e.g. configuring a check to only run on certain weekdays.
This commit is contained in:
Lance Edgar 2025-08-10 11:07:30 -05:00
parent eb6ad9884c
commit 7550a7a860
12 changed files with 900 additions and 1 deletions

View file

@ -243,6 +243,24 @@ Glossary
modules etc. which is installed via ``pip``. See also
:doc:`narr/install/pkg`.
problem check
This refers to a special "report" which runs (usually) on a
nighty basis. Such a report is only looking for "problems"
and if any are found, an email notification is sent.
Apps can define custom problem checks (based on
:class:`~wuttjamaican.problems.ProblemCheck`), which can then be
ran via the :term:`problem handler`.
problem handler
The :term:`handler` responsible for finding and reporting on
"problems" with the data or system. Most typically this runs
nightly :term:`checks <problem check>` and will send email if
problems are found.
Default handler is
:class:`~wuttjamaican.problems.ProblemHandler`.
provider
Python object which "provides" extra functionality to some
portion of the :term:`app`. Similar to a "plugin" concept; see