mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
fix(ingest): persist postmortem failure traces
This commit is contained in:
parent
51fe8306c3
commit
86837dd3ed
8 changed files with 483 additions and 45 deletions
|
|
@ -123,7 +123,10 @@ ktx ingest status <runId>
|
|||
The trace file lives under the project directory at
|
||||
`.ktx/ingest-traces/<jobId>/trace.jsonl`. Each line is a JSON event with the
|
||||
job id, run id, sync id, connection id, source key, phase, event name, timing,
|
||||
context fields, and error details when a step fails.
|
||||
state snapshot, decision context, and error details. Failed runs also write a
|
||||
stored ingest report with `status: "failed"`, `failure.phase`,
|
||||
`failure.message`, and the same trace path, so `ktx ingest status <runId>` can
|
||||
point you to the postmortem trace.
|
||||
|
||||
Use `jq` or line-oriented tools to inspect a trace:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue