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

fix(core): respect filenames of inputs when computing task hash #27873

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

iAmNathanJ
Copy link
Contributor

@iAmNathanJ iAmNathanJ commented Sep 11, 2024

I really don't know if this is the right fix and I'm not a rust programmer. Hoping to get the ball rolling. In our very large scale project, we are hitting invalid cache entries when source files are renamed, which cascades the wrong outputs to dependent targets. 🙏🏻

Current Behavior

When a project file is moved/renamed, the task cache is not invalidated.

Expected Behavior

When a project file is moved/renamed, the task cache is invalidated.

Related Issue(s)

#23106

Copy link

vercel bot commented Sep 11, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Sep 11, 2024 8:54pm

@iAmNathanJ iAmNathanJ force-pushed the fix-native-hash-project-files branch 2 times, most recently from f3ab7c4 to 6fb1fd0 Compare September 11, 2024 14:05
@iAmNathanJ iAmNathanJ force-pushed the fix-native-hash-project-files branch 2 times, most recently from e51ac63 to 22510b8 Compare September 11, 2024 15:42
@AgentEnder AgentEnder merged commit b6140d4 into nrwl:master Sep 11, 2024
6 checks passed
@iAmNathanJ iAmNathanJ deleted the fix-native-hash-project-files branch September 11, 2024 22:58
@iAmNathanJ
Copy link
Contributor Author

@AgentEnder thanks so much. 🙇🏻

FrozenPandaz pushed a commit that referenced this pull request Sep 12, 2024
Copy link

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 Sep 19, 2024
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