fix(ops): show displays retriedFrom lineage (#29)
result.json recorded lineage correctly; the human-facing show command omitted the field. Found by owner test: show | grep retriedFrom was empty on a run whose result.json contained it. Closes #29
This commit is contained in:
@@ -426,6 +426,7 @@ function showRun(runId) {
|
||||
`request: ${JSON.stringify(result.request)}`,
|
||||
`response: ${JSON.stringify(result.response)}`,
|
||||
result.expectedExact !== null && result.expectedExact !== undefined ? `expected: ${JSON.stringify(result.expectedExact)}` : null,
|
||||
result.retriedFrom ? `retriedFrom: ${result.retriedFrom}` : null,
|
||||
`timing: ${result.startedAt} -> ${result.finishedAt} (${result.durationMs} ms)`,
|
||||
`exit: ${result.exitCode}${result.signal ? ` signal=${result.signal}` : ""}`,
|
||||
].filter((line) => line !== null).join("\n") + "\n",
|
||||
|
||||
Reference in New Issue
Block a user