Conversation
…ay 504s The S3 "public access blocked" and encryption checks read each bucket's posture serially in gatherBuckets. On the scheduled/auto run path (#3133), the check executes synchronously behind the API's ALB (idleTimeout 300s); a large bucket fleet read serially exceeds that window, so the gateway returns 504 and the app automation fails on every run ("Server-side check run failed with status 504"). Read buckets with bounded concurrency (20 in flight) via a small, order-preserving pool. Per-bucket error isolation and per-region client routing are unchanged — only the wall-clock duration drops (~20x), keeping even large fleets well under the gateway timeout. Adds gatherBuckets tests: order preservation, per-bucket error isolation, NoSuchPublicAccessBlockConfiguration handling, region routing, and a serial-vs-parallel regression guard. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…meout fix(integration-platform): parallelize S3 bucket reads to avoid gateway 504s
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
|
🎉 This PR is included in version 3.83.7 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.
Summary by cubic
Parallelized S3 bucket public access and encryption reads with a bounded pool to prevent ALB 504s on large fleets. Behavior stays the same; wall-clock time drops significantly on scheduled runs.
gatherBuckets; preserves input order and avoids gateway timeouts.NoSuchPublicAccessBlockConfigurationas “no bucket-level config”; added tests for order, isolation, region routing, and concurrency bounds.Written for commit c82443e. Summary will update on new commits.