Skip to content

[rush] Rush/pnpm is bugging me about ignored build scripts after every rush update #5542

@kgetz-arista

Description

@kgetz-arista

Summary

After upgrading to the latest versions of Node, npm, Rush, and pnpm, every rush update results in a warning about ignored build scripts. The command referenced in the warning output is not quite correct, and running the command doesn't prevent the warning in the future.

Repro steps

Upgrade to the latest tool versions and run rush update.

Expected result: Business as usual

Actual result:

At the end of rush update, I see a message like this:

╭ Warning ─────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                  │
│   Ignored build scripts: @arista/[email protected], @nestjs/[email protected],                        │
│   @parcel/[email protected], @scarf/[email protected], @sentry/[email protected], @swc/[email protected],              │
│   @tree-sitter-grammars/[email protected], [email protected], [email protected],             │
│   [email protected], [email protected], [email protected], [email protected], [email protected],   │
│   [email protected], [email protected].                                                       │
│   Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.         │
│                                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

Details

Running the command exactly as presented (pnpm approve-builds) doesn't work, as I don't have pnpm installed globally (it's installed through Rush). Running rush-pnpm approve-builds seems to work, and I can select all of these dependencies. However, this setting is seemingly not saved anywhere, because the next time I run rush update, I see the same message again. This has all become very annoying.

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.165.0
rushVersion from rush.json? 5.165.0
pnpmVersion, npmVersion, or yarnVersion from rush.json? [email protected]
(if pnpm) useWorkspaces from pnpm-config.json? true
Operating system? Windows 11
Would you consider contributing a PR? No
Node.js version (node -v)? 24.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions