nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.75k stars 2.37k forks source link

nx lint for multiple packages, fails for few packages randomly and works on restart #29019

Open govindappaarun opened 20 hours ago

govindappaarun commented 20 hours ago

Current Behavior

Hi Team we have an angular project with 60+ modules, in lint step of our CI one or the other package lint task fails currently we are using Nx 19, started noticing this behaviour in recent releases Number of parallel threads are defaulted to 3

Any clue on how to debug the root cause?

Expected Behavior

Lint task should run smoothly

GitHub Repo

No response

Steps to Reproduce

Command that we are using in CI nx affected --targets=lint --base=origin/master --quiet

Nx Report

NX   Report complete - copy this into the issue template

Node           : 20.18.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.8.2

nx (global)        : 20.0.6
nx                 : 20.0.3
@nx/js             : 20.0.3
@nx/jest           : 20.0.3
@nx/eslint         : 20.0.3
@nx/workspace      : 20.0.3
@nx/angular        : 20.0.3
@nx/devkit         : 20.0.3
@nrwl/devkit       : 19.8.4
@nx/eslint-plugin  : 20.0.3
@nx/web            : 20.0.3
@nx/webpack        : 20.0.3
typescript         : 5.5.4
---------------------------------------
Community plugins:
@design-factory/design-factory : 18.1.0
@ng-bootstrap/ng-bootstrap     : 17.0.1
@ngrx/effects                  : 18.0.2
@ngrx/operators                : 18.0.2
@ngrx/store                    : 18.0.2
@ngrx/store-devtools           : 18.0.2
@reef/fwk                      : 7.0.4
ngx-build-plus                 : 18.0.0
nx-stylelint                   : 17.1.5
---------------------------------------
The following packages should match the installed version of nx
  - @nrwl/devkit@19.8.4

To fix this, run `nx migrate nx@20.0.3`

Failure Logs

Failed tasks:
- paxxxxx:lint
- pnxxxxx:lint
script returned exit code 1

Package Manager Version

No response

Operating System

Additional Information

No response