Skip to content

fix(cli): reload multiple process names - #6133

Open
MuhammadFarhantahir wants to merge 1 commit into
Unitech:developmentfrom
MuhammadFarhantahir:fix-reload-multiple-names
Open

fix(cli): reload multiple process names#6133
MuhammadFarhantahir wants to merge 1 commit into
Unitech:developmentfrom
MuhammadFarhantahir:fix-reload-multiple-names

Conversation

@MuhammadFarhantahir

@MuhammadFarhantahir MuhammadFarhantahir commented Jul 18, 2026

Copy link
Copy Markdown

pm2 reload a b silently dropped every name after the first: the reload command was declared <id|name|namespace|all> while stop/restart are variadic, so commander discarded the extra names. This mirrors restart's forEachLimit loop (sequential, which reload's internal lock requires) and adds a multi-name reload case to the multiparam e2e — without the CLI change that case can't pass, since the dropped apps' restart_time never increments.

Fixes #6132

🤖 Generated with Claude Code

pm2 reload a b silently dropped every name after the first: the reload
command was declared '<id|name|namespace|all>' while stop and restart are
variadic. Mirror restart's forEachLimit loop and cover multi-name reload
in the multiparam e2e test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants