Repository navigation
fix(archive): avoid Windows command limits for large libraries - #1696
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
zackees
force-pushed
the
fix/archive-response-file-1656
branch
from
October 22, 2026 16:24
5de1e37 to
16f9c5d
Compare
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.
Fixes #1656. Part of #1689.
Route library and core archiving through a shared
fbuild-core::archivehelper. On Windows, or when the estimated command size reaches 30,000 UTF-16 units, put object paths in a GNU-compatible response file. Preserve each caller's watchdog (60s library / 120s core), diagnostic label, and stale-member removal.NamedTempFilescoped to the subprocess. Drop it on success, error and cancellation; no persistent response-file cache.Validation:
Argument list too long (os error 7)on Linux with an oversized real object list.A pinned native Windows baseline runs at 39726942818, before the implementation fix. Windows verification of corrected head
ec827043is running at 39728179273. Native Windows success is not yet claimed. Subsequent commit5de1e372fixes Dylint’s path API findings using AsRef and NormalizedPath::display_slash(); the real large-archive regression and Clippy pass again, and hosted Dylint is green on that head.The required source-bound local CI proof remains pending because Bosn creates a temporary Git copy, conflicting with the active no-additional-copies instruction. No gate has been bypassed.
Fresh Windows replay for latest head
5de1e372: 39729874761, currently active. The original native Windows baseline completed with failure at the archive_objects call (test line 42), after compilation and fixture creation succeeded. The GitHub log omits the oversized panic payload, so its exact OS diagnostic is not asserted here. The local Linux baseline explicitly reported E2BIG; corrected Windows replay remains pending.Windows evidence: corrected source head
ec827043passed the real 525-object archive regression in 39728179273, including quoted paths, member replacement and response-file cleanup. The remaining smoke steps in that job and the latest-head5de1e372replay are still active; complete latest-head Windows success is not yet claimed.Latest-head Windows evidence: 39729874761 passed the real 525-object archive regression on
5de1e372, including quoted paths, stale-member replacement and response-file cleanup. The remaining esptool smoke checks also passed; this complete latest-head Windows job is green.