feat(scripts): add opt-in parallel execution to convert & install#188
Open
CagesThrottleUs wants to merge 3 commits intomsitarzewski:mainfrom
Open
feat(scripts): add opt-in parallel execution to convert & install#188CagesThrottleUs wants to merge 3 commits intomsitarzewski:mainfrom
CagesThrottleUs wants to merge 3 commits intomsitarzewski:mainfrom
Conversation
Signed-off-by: CagesThrottleUs <manstein.felix@gmail.com>
Signed-off-by: CagesThrottleUs <manstein.felix@gmail.com>
Signed-off-by: CagesThrottleUs <manstein.felix@gmail.com>
Author
|
This should solve the issue - #187 |
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.
Summary
Adds
--paralleland--jobs Ntoscripts/convert.shandscripts/install.shso users can run tool-level conversion/installation in parallel. Serial remains the default to avoid breaking existing usage.--paralleland tool isall, runs antigravity, gemini-cli, opencode, cursor, openclaw, qwen viaxargs -P; runs aider and windsurf serially (shared temp files). Output is buffered per tool so each tool’s output stays together.--parallel, runs each selected tool’s install in parallel with output buffered per tool. Works with both interactive and non-interactive modes.nproc(Linux),sysctl -n hw.ncpu(macOS), or 4. Overridable with--jobs N.[=======> ] 3/8in both scripts (serial and parallel).Testing
./scripts/convert.sh(serial) and./scripts/convert.sh --parallel --jobs 2; compared output and checked integrations../scripts/convert.sh --out ./TEST-SERIAL, parallel run with--out ./TEST-PARALLEL) and compared with:diff -rq TEST-PARALLEL TEST-SERIAL(no output = identical file sets and contents).diff -r TEST-SERIAL TEST-PARALLEL(no output = byte-identical files)../scripts/install.sh --no-interactiveand./scripts/install.sh --no-interactive --parallelfor selected tools; confirmed installs and output grouping.Testing limitations
nproc/sysctlavailability (Linux/macOS); other platforms may fall back to 4.test-convert-parallel.sh/test-install-parallel.sh) if present are for local comparison only and are not run in CI.AI and human roles
--parallel, use ofxargsandnproc/sysctl); validation of behavior; testing (serial vs parallel, diff of TEST-SERIAL vs TEST-PARALLEL); decision to adopt or reject suggested changes.--parallel/--jobs, progress bar, and buffered output; locating serial execution points; suggesting structure for parallel runs and README wording. AI did not run tests; human ran commands and confirmed results.