fix: request projects with size 50 to satisfy Azul's cap (#4955) - #4956
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
NoopDog
approved these changes
Sep 26, 2026
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.
(Posted by Claude Code)
Closes #4955
The static path generation in
getStaticPathsrequested/index/projectswithsize=75. Azul caps that endpoint at 50, so every build failed:Lowering the page size to 50 does not truncate results.
fetchAllEntitiesfollowspagination.nextuntil the collection is exhausted, sosizecontrols the number of requests, not the number of entities returned. For the 532 projects indcp60this is 11 pages instead of 8, and the set of generated static paths is unchanged.50 is the smallest cap across the entity types this loop covers, so it is safe for all of them. In Azul's HCA plugin
projectsis capped at 50 andbundlesat 100, whilefilesandsamplesuse the default of 1000; AnVIL's cap is 400. All four HCA endpoints were verified to return 200 atsize=50against production.This is a recurrence of #4570, where the same build broke on
size=100returning a 502 and the request size was reduced to 75. The limit is now an explicit cap rather than a payload-size symptom.The fix has already been merged into
ucsc/hca/prodanducsc/lungmap/prodto restore the production builds, which had been failing since the cap reachedprodin Azul's 2026-09-08 promotion. Both published successfully afterwards.🤖 Generated with Claude Code