diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 14:36:41 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 14:36:41 -0700 |
commit | e84bec6394e3873094d70ff826406edb5ce3edee (patch) | |
tree | 54a2aba9113037cd5b39a259154427e483db0b28 | |
parent | dc4ac7742690f8f2bd759d57108ac4455e717fe9 (diff) | |
download | ci-e84bec6394e3873094d70ff826406edb5ce3edee.tar.gz ci-e84bec6394e3873094d70ff826406edb5ce3edee.zip |
Add logging info
-rwxr-xr-x | worker/scripts/checkout_ci.ts | 5 |
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); }) |