This repository was archived by the owner on Apr 3, 2026. It is now read-only.
perf(pm): concurrent BFS resolution with abbreviated metadata#82
Merged
viniciusdacal merged 1 commit intomainfrom Apr 2, 2026
Merged
perf(pm): concurrent BFS resolution with abbreviated metadata#82viniciusdacal merged 1 commit intomainfrom
viniciusdacal merged 1 commit intomainfrom
Conversation
Replace sequential depth-first package resolution with concurrent breadth-first traversal using FuturesUnordered. Switch to npm's abbreviated install metadata format (10-100x smaller payloads) and increase concurrent request limit from 16 to 50. Add live progress reporting during resolution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
FuturesUnordered, resolving multiple packages in parallelapplication/vnd.npm.install-v1+jsonformat (10-100x smaller payloads) for dependency resolutionMAX_CONCURRENT_REQUESTSfrom 16 to 50resolve_progresstoPmOutputtrait so the spinner shows live "Resolving dependencies... (N resolved)" during resolutionasync-recursion: No longer needed since resolution is iterative BFSTest plan
cargo test --all)cargo clippy --all-targets --release -- -D warnings)cargo fmt --all -- --check)🤖 Generated with Claude Code