From 08f70d142e157d0104e07190e7ee5f7ba071991a Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Mon, 22 Sep 2025 20:22:42 +0000 Subject: [PATCH] fix(ng-dev): add additional debug logging to caretaker check Add additional debug logging for the specific status results in the caretaker check to allow for easier debugging if an unexpected failure shows in our check that does not show in the Github UI. --- ng-dev/caretaker/check/ci.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ng-dev/caretaker/check/ci.ts b/ng-dev/caretaker/check/ci.ts index 3f439a3e2..310036111 100644 --- a/ng-dev/caretaker/check/ci.ts +++ b/ng-dev/caretaker/check/ci.ts @@ -49,18 +49,23 @@ export class CiModule extends BaseModule { }; } - const status = ( - await githubMacros.getCombinedChecksAndStatusesForRef(this.git.github, { + const {result, results} = await githubMacros.getCombinedChecksAndStatusesForRef( + this.git.github, + { ...this.git.remoteParams, ref: train.branchName, - }) - ).result; + }, + ); + + Log.debug(`Individual Status Results for branch (${train.branchName})`); + results.forEach((r) => Log.debug(` - ${r.name}:`.padEnd(80), r.result)); + Log.debug(); return { active: true, name: train.branchName, label: `${trainName} (${train.branchName})`, - status, + status: result, }; }, );