Skip to content

Commit 29bbed5

Browse files
authored
feat(core): remove node task hasher (#28147)
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> The native task hasher is faster and has been default for quite a while. There's still a node hasher implementation though. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> The native task hasher is the only task hasher implementation. The node task hasher is no more. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
1 parent 3a7b8ac commit 29bbed5

File tree

12 files changed

+146
-3378
lines changed

12 files changed

+146
-3378
lines changed

packages/nx/src/daemon/server/handle-hash-tasks.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export async function handleHashTasks(payload: {
3939
if (projectGraph !== storedProjectGraph) {
4040
storedProjectGraph = projectGraph;
4141
storedHasher = new InProcessTaskHasher(
42-
fileMap?.projectFileMap,
43-
allWorkspaceFiles,
4442
projectGraph,
4543
nxJson,
4644
rustReferences,

0 commit comments

Comments
 (0)