Skip to content
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

[rush] v5.139.0 Breaks Incremental Build #5004

Open
skaldarnar opened this issue Nov 15, 2024 · 0 comments
Open

[rush] v5.139.0 Breaks Incremental Build #5004

skaldarnar opened this issue Nov 15, 2024 · 0 comments

Comments

@skaldarnar
Copy link

Summary

Rush v5.139.0 breaks incremental building, at least in our project setup. On and above that version, every rush build rebuilds all packages, regardless of changes on the filesystem. On v5.138.0 and below, incremental builds work as expected. We are not using the build cache.

Similar to #4394, but not quite the same.

Repro steps

  • Install version 5.138.0
  • Run rush update && rush build && rush build, builds are cached 🙂
  • Update rush.json to 5.104.0
  • Run rush update && rush build && rush build, all packages rebuilt 🙁

Details

We are not using the build cache and there are no project-specific rush-project.json files.

rush --debug build shows Incremental strategy: output preservation.

This is happening on a private repo, but I'm happy to provide more information if needed.

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.140.1
rushVersion from rush.json? 5.140.1
useWorkspaces from rush.json? true
Operating system? Linux
Would you consider contributing a PR? yes
Node.js version (node -v)? v20.18.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant