From e84bec6394e3873094d70ff826406edb5ce3edee Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 20 Jul 2025 14:36:41 -0700 Subject: Add logging info --- worker/scripts/checkout_ci.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); }) -- cgit v1.2.3-70-g09d2