summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xworker/scripts/checkout_ci.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/worker/scripts/checkout_ci.ts b/worker/scripts/checkout_ci.ts
index cba6a2f..6a1dcad 100755
--- a/worker/scripts/checkout_ci.ts
+++ b/worker/scripts/checkout_ci.ts
@@ -105,10 +105,13 @@ await LogMetricTraceable.ofLogTraceable(logTraceableJob)
.map(async (tEitherPipelineGenerationCommand) => {
const eitherJobCommand = await tEitherPipelineGenerationCommand.get();
const pipelineSerialized = await eitherJobCommand.flatMapAsync(({ commands }) =>
- getStdoutMany(tEitherPipelineGenerationCommand.move(commands)),
+ getStdoutMany(
+ tEitherPipelineGenerationCommand.move(commands).peek((t) => t.trace.trace(JSON.stringify(t.get()))),
+ ),
);
return pipelineSerialized
.flatMap((results) => {
+ tEitherPipelineGenerationCommand.trace.trace(JSON.stringify(results));
const pipeline = results.at(-1)!;
return PipelineImpl.from(pipeline);
})