fix: configurable source upload size, clearer gradient build errors, per-package failure scoping - #494
Merged
DerDennisOP merged 2 commits intoJul 5, 2026
Conversation
Chunked source/{upload}/chunk + finalize (blake3-keyed, resumable) removes the single-request body-limit ceiling that caused 413/502 on large sources; keep single-shot endpoint + max_source_upload_size as total guard. Also fixes an unsorted-directory NAR test rejected by the stricter harmonia parser.
Member
Author
|
Follow-up (addresses the 502 Also folds in a one-line fix for an unrelated pre-existing test ( |
DerDennisOP
deleted the
fix/489-491-492-upload-size-cli-errors-build-attribution
branch
July 5, 2026 18:00
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.
Closes #489, #491, #492, #493.
GRADIENT_MAX_SOURCE_UPLOAD_SIZE/settings.maxSourceUploadSize, default 512 MiB) forPOST /build-requests/sourceand the chunked manifest total; the built-in nginx/caddyclient_max_body_sizeis derived from the largest configured upload limit instead of a hardcoded 100M.gradient buildupload failures now report the attempted size and file count with status-specific guidance for 413/400, and no longer dump the raw reverse-proxy HTML.gradient buildpre-flights a cheap authenticated probe and reports auth failures as "rungradient login" instead of a confusing 413/400.GET /evals/{evaluation}/buildstakes an optionalscope=<build_job>that restricts results to that package's dependency closure; clicking a failed package now shows only the failures that caused it, with a "Show all" toggle.