\Drupal\strata\Health\Tripwire WatermarkDrift

A table changed without anything capturing the change.

The coverage proof. Every other tripwire reports something wrong with what was stored; this one reports that something was NOT stored, which is the failure mode a backup system cannot detect any other way. A module writing directly to its own table, a query that ran before the statement tap was enabled, a migration executed outside Drupal - all of them look identical from inside the capture path, and all of them show up here.

It is a warning rather than an error. Drift means the history has a gap for one table, not that anything already stored is wrong, and the repair - capture the table's current rows - is a rebuild that runs without a human.

Summary

Methods
Properties
Constants
code
check
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Methods

code()

code() : string

The stable dotted code every finding from this tripwire reports under.

Returns

string —

For example "frame.digest_mismatch".

check()

check(array  $observation) : \Drupal\strata\Health\Finding|null

Evaluates the check against one observation.

Parameters

array $observation

Scalars the caller already had in hand. A tripwire reads from this and nothing else.

Returns

\Drupal\strata\Health\Finding|null —

A finding when the symptom is present, or NULL when the check is satisfied.