Skip to content

Nx console post-install hook hanging with CPU at 100% #33100

@edusperoni

Description

@edusperoni

Current Behavior

Since Nx console always downloads the latest of everthying and runs post-install, it's spawning tons of processes of nx configure-ai-agents --check which hang with 100% CPU

Expected Behavior

My laptop not to fry when I leave it unattended for the night with VSCode open

I'm sorry for the snark, but this frustrating and seems to be happening every other release (at least it's not malware this time? hopefully?). A couple releases ago it (Nx Console extension) kept restarting itself/reloading the graph randomly and also running at 100% CPU until you restarted the extension.

GitHub Repo

No response

Steps to Reproduce

  1. Install nx console, open some projects

Nx Report

Node           : 22.14.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.2

nx                     : 20.4.6
@nx/js                 : 20.4.6
@nx/jest               : 20.4.6
@nx/eslint             : 20.4.6
@nx/workspace          : 20.4.6
@nx/angular            : 20.4.6
@nx/devkit             : 20.4.6
@nx/esbuild            : 20.4.6
@nx/eslint-plugin      : 20.4.6
@nx/module-federation  : 20.4.6
@nx/node               : 20.4.6
@nx/plugin             : 20.4.6
@nx/vite               : 20.4.6
@nx/web                : 20.4.6
@nx/webpack            : 20.4.6
typescript             : 5.7.3
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/jest/plugin
@nx/vite/plugin
@nx/webpack/plugin
---------------------------------------
Community plugins:
@analogjs/vite-plugin-angular : 1.10.3
@analogjs/vitest-angular      : 1.10.3
@nativescript/nx              : 20.3.0
@ngrx/component               : 19.0.1
@ngrx/effects                 : 19.0.1
@ngrx/entity                  : 19.0.1
@ngrx/operators               : 19.0.1
@ngrx/signals                 : 19.0.1
@ngrx/store                   : 19.0.1

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

Nx Console always installing latest by itself seems to not be a good idea. There's no way for the user to control what it installs. It was a problem with the supply chain attack the other day, and seems to be a problem again when an unstable release gets pushed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions