summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-20 14:36:41 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-20 14:36:41 -0700
commite84bec6394e3873094d70ff826406edb5ce3edee (patch)
tree54a2aba9113037cd5b39a259154427e483db0b28
parentdc4ac7742690f8f2bd759d57108ac4455e717fe9 (diff)
downloadci-e84bec6394e3873094d70ff826406edb5ce3edee.tar.gz
ci-e84bec6394e3873094d70ff826406edb5ce3edee.zip
Add logging info
-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);
})