-
Notifications
You must be signed in to change notification settings - Fork 626
[rush] Add bridge-cache plugin #5190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
benkeen
wants to merge
6
commits into
microsoft:main
Choose a base branch
from
benkeen:benkeen/cache-bridge-plugin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
dmichon-msft
reviewed
Apr 9, 2025
a457102
to
c3fdcc9
Compare
iclanton
reviewed
Apr 30, 2025
c3fdcc9
to
132f76d
Compare
4b7bea1
to
e49f90a
Compare
23f7f9f
to
83eed95
Compare
iclanton
reviewed
Jun 2, 2025
common/changes/@microsoft/rush/benkeen-cache-bridge-plugin_2025-05-30-18-02.json
Outdated
Show resolved
Hide resolved
…5-05-30-18-02.json Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
dmichon-msft
reviewed
Jun 2, 2025
dmichon-msft
reviewed
Jun 3, 2025
libraries/rush-lib/src/logic/operations/IOperationExecutionResult.ts
Outdated
Show resolved
Hide resolved
768fded
to
cecce15
Compare
dmichon-msft
approved these changes
Jun 4, 2025
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.
This PR adds a plugin which allows users to run a Rush command, but only populate the cache from a previous run of that action, not actually run the command.
For instance:
Each of these would populate the cache for one or more package actions from whatever was found on disk, as defined for the output folder(s) for the commands in
rush-project.json
. The command itself (build, test, lint) won't get run.Why?
We're using a different build orchestrator to handle some high-volume builds (BuildXL), primarily because it's able to farm out work across agents, not just processes. As a build orchestrator, it does exactly the same work as what Rush would have done, but has its own cache. We rely on our current (Rush) pipeline populating the remote cache so our local builds are snappy. Without the feature in this PR, we'd need a separate pipeline running in addition to our main pipeline, solely to populate the Rush cache.