Open
Description
Current Behavior
Today, running lint
tasks after relevant package updates (e.g. angular-eslint, typescript-eslint) receive cache hits. This results in updates being merged to main
branch and issues resurface only after some time when other changes trigger cache-miss of the lint task run.
Expected Behavior
Running lint
once dependencies (sometimes transitive) referenced in configs are updated should result in cache miss.
GitHub Repo
minijus/nx-lint-affected-repro#1
Steps to Reproduce
Reproduction on CI:
minijus/nx-lint-affected-repro#1
Run: https://cloud.nx.app/runs/7FkzebSstX
Locally:
- Run
lint
on selected project (to populate cache) - Update
angular-eslint
or any other Lint related package/plugin - Run
lint
again on the same project (it it retrieved from cache, when it should be cache miss)
Nx Report
NX Report complete - copy this into the issue template
Node : 22.11.0
OS : darwin-arm64
Native Target : aarch64-macos
npm : 10.9.1
nx : 20.1.3
@nx/js : 20.1.3
@nx/jest : 20.1.3
@nx/eslint : 20.1.3
@nx/workspace : 20.1.3
@nx/angular : 20.1.3
@nx/devkit : 20.1.3
@nx/eslint-plugin : 20.1.3
@nx/web : 20.1.3
@nx/webpack : 20.1.3
typescript : 5.5.4
---------------------------------------
Community plugins:
angular-eslint : 18.4.2
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)