From 4e6f87ef26763eed02be1ca8ad002f8b73bb619e Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Tue, 29 Apr 2025 15:49:45 +0000 Subject: [PATCH] fix(ng-dev): add additional context for why retries occur during github API requests in merge process --- ng-dev/release/publish/actions.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ng-dev/release/publish/actions.ts b/ng-dev/release/publish/actions.ts index 9a666cdf1..c087e5770 100644 --- a/ng-dev/release/publish/actions.ts +++ b/ng-dev/release/publish/actions.ts @@ -735,7 +735,10 @@ export abstract class ReleaseAction { * release commit and is the direct child of the previous sha provided. * * The method will make one recursive attempt to check again before throwing an error if - * any error occurs during this validation. + * any error occurs during this validation. This exists as an attempt to handle transient + * timeouts from Github along with cases, where the Github API response does not keep up + * with the timing from when we perform a merge to when we verify that the merged commit is + * present in the upstream branch. */ private async _getAndValidateLatestCommitForPublishing( branch: string,