Skip to content

v0.4.0

Latest

Choose a tag to compare

@StephenODea54 StephenODea54 released this 14 Sep 16:54

Temp tables no longer set off docket audit. One regex excludes the tables that are created and dropped by design.

What's new

  • DOCKET_IGNORE_TABLES — a regex of table names docket audit never reports on. Matching deletions are dropped before anything else, so they are never flagged, never counted in the deletion totals, and never recorded as seen — clearing the pattern brings them back in full. Unset means every deletion is audited, as before.

    The regex is matched against both the bare table name and the database.table name, so one pattern can target a naming convention and a single table at once:

    DOCKET_IGNORE_TABLES='^tmp_|^edw_utils\.sf_lead_scd_incoming_staging$'

    Matching is unanchored (re.search), like DOCKET_IGNORE_JOBS, so anchor literal names with ^ and $ unless you want substring matches — a bare orders also ignores orders_archive.

Upgrading

No breaking changes. DOCKET_IGNORE_TABLES is unset by default and an empty value ignores nothing, so an existing deployment audits exactly what it audited before.

Tables matching the pattern stay in the catalog and still answer docket check-delete — the pattern only silences the audit, the same way DOCKET_IGNORE_JOBS leaves ignored jobs catalogued but unextracted.

Requirements

Python 3.11+, managed with uv.