Skip to content

D52 · One action is one entry in the activity log, and the migration logs one entry per table

Accepted · 2026-10-16 · zuki · Closes OQ5

Decision: An action that changes many rows at once shows as one entry in the activity log, which opens to every row it changed. The migration's bulk load runs with the audit triggers off and writes one "migrated" entry per table and run; each migrated row traces back to v1 through its legacy id and the id map.

Why: The higher-ups' answer on OQ5: a bulk change happened once, so it is listed once, and each change can still be traced to it. Auditing the load row by row would fill the log with millions of rows that say nothing.

Consequences:

  • Grouping uses the transaction id every audit row already carries (R-AUD-13); the activity log page (M7) lists one entry per transaction and expands it.
  • The migration machinery (data phase row 4) turns the triggers off for the load only, writes the per-table entries with the run's id and row count, and turns them back on before the reconcile. A run that fails leaves the triggers on.
  • Nothing changes for single-row actions.