Skip to content

Commit

Permalink
feat(core): remove node task hasher (#28147)
Browse files Browse the repository at this point in the history
<!-- 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 #
  • Loading branch information
FrozenPandaz committed Sep 27, 2024
1 parent 3a7b8ac commit 29bbed5
Show file tree
Hide file tree
Showing 12 changed files with 146 additions and 3,378 deletions.
2 changes: 0 additions & 2 deletions packages/nx/src/daemon/server/handle-hash-tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ export async function handleHashTasks(payload: {
if (projectGraph !== storedProjectGraph) {
storedProjectGraph = projectGraph;
storedHasher = new InProcessTaskHasher(
fileMap?.projectFileMap,
allWorkspaceFiles,
projectGraph,
nxJson,
rustReferences,
Expand Down
Loading

0 comments on commit 29bbed5

Please sign in to comment.