From a039cff4a10e8baa46b66b270f19706969948d81 Mon Sep 17 00:00:00 2001 From: Ryan Ghadimi <114221941+GhadimiR@users.noreply.github.com> Date: Fri, 16 Jan 2026 10:26:45 +0000 Subject: [PATCH] Add comment for rate limiting handling Added a comment regarding rate limiting and retry behavior. --- packages/cache/src/internal/shared/cacheTwirpClient.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cache/src/internal/shared/cacheTwirpClient.ts b/packages/cache/src/internal/shared/cacheTwirpClient.ts index c1e14240..a6e2d0ad 100644 --- a/packages/cache/src/internal/shared/cacheTwirpClient.ts +++ b/packages/cache/src/internal/shared/cacheTwirpClient.ts @@ -111,6 +111,7 @@ class CacheServiceClient implements Rpc { } // Handle rate limiting - don't retry, just warn and exit + // For more info, see https://docs.github.com/en/actions/reference/limits if (statusCode === HttpCodes.TooManyRequests) { const retryAfterHeader = response.message.headers['retry-after'] if (retryAfterHeader) {