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

feat(core): introduce workspace file archive #20471

Merged
merged 8 commits into from
Nov 30, 2023

Conversation

Cammisuli
Copy link
Member

Current Behavior

When we run Nx without the daemon, we constantly read and hash all files in the workspace.

Expected Behavior

When we read the workspace the first time, we will then save the hashes in the .nx/cache folder. This archive will then be read on subsequent runs comparing the modified times, and only hashing files that have changed or do not exist in the archive

Related Issue(s)

Fixes #

@Cammisuli Cammisuli requested review from a team, FrozenPandaz and vsavkin as code owners November 29, 2023 14:44
Copy link

vercel bot commented Nov 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 30, 2023 2:51pm

@Cammisuli Cammisuli force-pushed the create_hash_archive branch 4 times, most recently from f9291e2 to 855231c Compare November 29, 2023 19:53
@Cammisuli Cammisuli enabled auto-merge (squash) November 29, 2023 20:01
@Cammisuli Cammisuli merged commit 15c2181 into nrwl:master Nov 30, 2023
6 checks passed
@Cammisuli Cammisuli deleted the create_hash_archive branch November 30, 2023 15:54
Copy link

github-actions bot commented Dec 6, 2023

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants