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 namesdocket auditnever 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.tablename, 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), likeDOCKET_IGNORE_JOBS, so anchor literal names with^and$unless you want substring matches — a bareordersalso ignoresorders_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.