mix threadline.verify_coverage (Threadline v0.2.0)

Copy Markdown View Source

Verifies that tables listed in application config have Threadline audit triggers installed, using the same catalog queries as Threadline.Health.trigger_coverage/1.

Configuration

Hosts must set a non-empty list of public table names (strings only):

config :threadline, :verify_coverage,
  expected_tables: ["users", "posts"]

Usage

mix threadline.verify_coverage

Prints a TABLE / STATUS report to stdout, then a line containing summary: with counts. Exits with status 1 if any expected table is missing or uncovered; exits 0 when all expected tables are covered.

Table names in output are public-schema metadata only (same scope as Health).