We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babf536 commit 2a034d2Copy full SHA for 2a034d2
1 file changed
packages/cdkConstructs/src/stacks/deleteUnusedStacks.ts
@@ -216,7 +216,7 @@ async function isClosedPullRequest(
216
if (!response.ok) {
217
console.log(`Failed to fetch PR ${pullRequestId}: ${response.status} ${await response.text()}`)
218
// To avoid accidentally deleting stacks due to transient API failures, we treat errors as non-closed state
219
- // but do not cache the result to allow for retries on subsequent runs
+ // and do not cache the result, allowing another fetch attempt later in this run if needed.
220
return false
221
}
222
0 commit comments