DiagnosticDumpReport
Defined in: packages/client/src/export-store.ts:95
A diagnostic dump (ADR-0035, via the throwaway clone of the addendum): human-readable SQL of
EVERYTHING the store holds — synced tables, the _overlay/_mutations journal, the pgxsinkit metadata
schema, the read-model views, and the reconcile functions/triggers. It is a live datadir dump (checkpoint
dumpDataDir) fed into a memory-backed throwaway PGlite vialoadDataDir, against whichpg_dumpruns — so the live engine is never touched (the addendum’s whole point). Its phases add the clone boot and thepg_dumpwalls to the shared checkpoint/dump pair.
Extends
Section titled “Extends”Properties
Section titled “Properties”byteLength
Section titled “byteLength”byteLength:
number
Defined in: packages/client/src/export-store.ts:54
The artefact’s byte length — the size the caller downloads / persists.
Inherited from
Section titled “Inherited from”diagnostics
Section titled “diagnostics”diagnostics:
MutationDiagnostics
Defined in: packages/client/src/export-store.ts:60
The MutationDiagnostics snapshot at export time — the journal state captured alongside the artefact (for the store backup, the very journal that travels INSIDE the tarball; for the diagnostic dump, the live store’s journal at dump time, whose rows the SQL also carries).
Inherited from
Section titled “Inherited from”ExportReportCommon.diagnostics
kind:
"diagnostic-dump"
Defined in: packages/client/src/export-store.ts:96
phases
Section titled “phases”phases:
object
Defined in: packages/client/src/export-store.ts:99
checkpointMs
Section titled “checkpointMs”checkpointMs:
number
CHECKPOINT wall — flushing dirty buffers before the internal datadir dump the clone consumes.
checkpointStartedAtMs
Section titled “checkpointStartedAtMs”checkpointStartedAtMs:
number
Offset from export start when the CHECKPOINT began.
cloneBootMs
Section titled “cloneBootMs”cloneBootMs:
number
Clone boot wall — booting the memory-backed throwaway from the internal dump.
cloneBootStartedAtMs
Section titled “cloneBootStartedAtMs”cloneBootStartedAtMs:
number
Offset from export start when the throwaway clone’s PGlite.create({ loadDataDir }) began.
dumpMs
Section titled “dumpMs”dumpMs:
number
dumpDataDir wall — the uncompressed internal tarball the throwaway clone boots from (compression: "none").
dumpStartedAtMs
Section titled “dumpStartedAtMs”dumpStartedAtMs:
number
Offset from export start when the internal dumpDataDir began.
pgDumpMs
Section titled “pgDumpMs”pgDumpMs:
number
pg_dump wall — the WASM pg_dump reading the clone out to SQL.
pgDumpStartedAtMs
Section titled “pgDumpStartedAtMs”pgDumpStartedAtMs:
number
Offset from export start when pg_dump began running against the clone.
reportVersion
Section titled “reportVersion”reportVersion:
1
Defined in: packages/client/src/export-store.ts:48
Inherited from
Section titled “Inherited from”ExportReportCommon.reportVersion
scope:
"everything"
Defined in: packages/client/src/export-store.ts:98
A diagnostic dump covers everything the store holds — synced data, journal, metadata, views, functions.
startedAt
Section titled “startedAt”startedAt:
number
Defined in: packages/client/src/export-store.ts:50
Epoch anchor (Date.now()) at export start; every other duration/offset is monotonic relative to it.
Inherited from
Section titled “Inherited from”totalMs
Section titled “totalMs”totalMs:
number
Defined in: packages/client/src/export-store.ts:52
Export start → artefact ready.