You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tasks that generate code in my repository.
The code is generated from an internal tool, and the generate task has the internal tool source as input.
There are then test tasks that depend on the generate task.
If the code for the code generating tool is changed, then the cache for the generate task is invalidated, but the cache for the subsequent test tasks is not invalidated. This causes tests to pass even if the code generator introduces bugs.
Expected Behavior
When output is generated in an nx task that a subsequent task uses as input, changes in the output should always invalidate the cache for the subsequent task
Current Behavior
I have tasks that generate code in my repository.
The code is generated from an internal tool, and the generate task has the internal tool source as input.
There are then test tasks that depend on the generate task.
If the code for the code generating tool is changed, then the cache for the generate task is invalidated, but the cache for the subsequent test tasks is not invalidated. This causes tests to pass even if the code generator introduces bugs.
Expected Behavior
When output is generated in an nx task that a subsequent task uses as input, changes in the output should always invalidate the cache for the subsequent task
GitHub Repo
https://github.com/TheLudd/nxcache
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: