Skip to content

chore: remove the dead concurrently dev dependency - #13193

Merged
zkochan merged 1 commit into
mainfrom
no-concurrently
Jul 21, 2026
Merged

zkochan merged 1 commit into
mainfrom
no-concurrently

Conversation

@zkochan

@zkochan zkochan commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes the concurrently dev dependency, which is dead code.

Its only consumer was the prepareFixtures script of @pnpm/installing.deps-restorer, which started the mock registry alongside a --lockfile-only install (concurrently --success=first --kill-others registry-mock "pnpm run runPrepareFixtures"). That script has been broken since the external @pnpm/registry-mock package — the provider of the registry-mock bin — was replaced by the in-repo pnpr server: it fails at registry-mock prepare before concurrently is ever invoked. The fixture lockfiles it used to regenerate are committed to git, and the jest with-registry preset manages the registry server lifecycle itself (child_process spawn + tree-kill), so nothing needs concurrently's orchestration anymore.

Changes:

  • Root package.json: dropped the concurrently devDependency (no root script referenced it).
  • pnpm11/installing/deps-restorer/package.json: dropped the devDependency and deleted the dead prepareFixtures / runPrepareFixtures scripts.
  • pnpm-workspace.yaml: removed the concurrently: 10.0.3 catalog entry.
  • pnpm-lock.yaml: reinstall removed concurrently and its orphaned transitives. A few jest snapshots also re-deduped their internal @types/node: * dependency from 22.20.1 to the 26.1.1 instance already present in the graph — expected churn from the root importer re-resolving.

The deps-restorer fixture lockfiles can still be regenerated manually: build storage with pnpr-prepare from pnpr/.fixtures/packages, serve it with pnpr, and re-run the recursive --lockfile-only install against it (the same flow the with-registry jest globalSetup automates).

Squash Commit Body

The only consumer of concurrently was the prepareFixtures script of
`@pnpm/installing.deps-restorer`, and that script has been dead since
the external `@pnpm/registry-mock` package (which shipped the
registry-mock bin the script starts with) was replaced by the in-repo
pnpr server: it fails at 'registry-mock prepare' before concurrently is
ever invoked. The fixture lockfiles it used to regenerate are committed
to git, and the jest with-registry preset manages the registry server
lifecycle itself (child_process spawn + tree-kill), so nothing needs
concurrently's --kill-others/--success=first orchestration anymore.

Remove the unused root devDependency, the deps-restorer devDependency
together with its dead prepareFixtures/runPrepareFixtures scripts, and
the concurrently catalog entry. The root devDependency was not
referenced by any root script at all.

Checklist

None of the checklist items apply: this is a dev-only cleanup with no user-visible change, so there is nothing to port to the Rust CLI, no changeset (no published behavior changes — only dead scripts and devDependencies are removed), no tests to add, and no documentation to update.


Written by an agent (Claude Code, claude-fable-5).


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

The only consumer of concurrently was the prepareFixtures script of
`@pnpm/installing.deps-restorer`, and that script has been dead since
the external `@pnpm/registry-mock` package (which shipped the
registry-mock bin the script starts with) was replaced by the in-repo
pnpr server: it fails at 'registry-mock prepare' before concurrently is
ever invoked. The fixture lockfiles it used to regenerate are committed
to git, and the jest with-registry preset manages the registry server
lifecycle itself (child_process spawn + tree-kill), so nothing needs
concurrently's --kill-others/--success=first orchestration anymore.

Remove the unused root devDependency, the deps-restorer devDependency
together with its dead prepareFixtures/runPrepareFixtures scripts, and
the concurrently catalog entry. The root devDependency was not
referenced by any root script at all.
Copilot AI review requested due to automatic review settings July 21, 2026 11:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Remove dead concurrently devDependency and fixture scripts

⚙️ Configuration changes ✨ Enhancement 🕐 10-20 Minutes

Grey Divider

AI Description

• Drop unused concurrently from root and workspace dependency catalogs.
• Remove dead prepareFixtures scripts from @pnpm/installing.deps-restorer.
• Re-resolve lockfile to prune orphaned transitives and re-deduplicate Jest types.
Diagram

graph TD
  A["Root package.json"] --> B["Workspace catalog"] --> D[("pnpm-lock.yaml")]
  A --> C["deps-restorer pkg.json"] --> E["Dead scripts removed"] --> D
  A -."drops".-> F["concurrently (removed)"]
  C -."drops".-> F
Loading
High-Level Assessment

This is the right cleanup: remove concurrently and the only scripts that referenced it, then let pnpm re-resolve to prune transitives. Alternatives like reintroducing a registry-mock-style fixture workflow would add maintenance burden and aren’t needed since fixture lockfiles are committed and test registry lifecycle is already handled elsewhere.

Files changed (4) +51 / -53

Other (4) +51 / -53
package.jsonRemove 'concurrently' from root devDependencies +0/-1

Remove 'concurrently' from root devDependencies

• Drops the 'concurrently' entry from the root 'devDependencies' catalog usage. No root scripts were relying on it, so this is a pure dependency cleanup.

package.json

pnpm-lock.yamlPrune 'concurrently' and refresh snapshots after re-resolve +51/-48

Prune 'concurrently' and refresh snapshots after re-resolve

• Removes '[email protected]' from catalogs/importers and deletes its package snapshot entries. Lockfile snapshot churn also re-deduplicates some Jest-related '@types/node' references to the already-present version in the graph.

pnpm-lock.yaml

pnpm-workspace.yamlRemove 'concurrently' from workspace catalog +0/-1

Remove 'concurrently' from workspace catalog

• Deletes the 'concurrently: 10.0.3' entry from the workspace-level dependency catalog to prevent future references.

pnpm-workspace.yaml

package.jsonDelete dead fixture-prep scripts and devDependency +0/-3

Delete dead fixture-prep scripts and devDependency

• Removes 'prepareFixtures' and 'runPrepareFixtures' scripts that previously attempted to orchestrate a mock registry and lockfile-only install. Drops the package-level 'concurrently' devDependency since the scripts are gone and the workflow is obsolete.

pnpm11/installing/deps-restorer/package.json

@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Reviews (1): Last reviewed commit: "chore: remove the dead concurrently dev ..." | Re-trigger Greptile

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (1) 📜 Skill insights (0)

Grey Divider


Action required

1. Missing changeset for deps-restorer 📘 Rule violation ⚙ Maintainability
Description
@pnpm/installing.deps-restorer was modified (scripts/devDependencies), but no corresponding
.changeset/ entry is present to version/release the published package. This can cause the package
change to be omitted from releases and changelogs.
Code

pnpm11/installing/deps-restorer/package.json[L36-37]

-    "runPrepareFixtures": "node ../../pnpm/bin/pnpm.mjs i -r -C test/fixtures --no-shared-workspace-lockfile --no-link-workspace-packages --lockfile-only --registry http://localhost:4873/ --ignore-scripts --force --no-strict-peer-dependencies",
-    "prepareFixtures": "git clean -fdx test/fixtures && rm -rf \"test/fixtures/*/pnpm-lock.yaml\" && registry-mock prepare && concurrently --success=first --kill-others registry-mock \"pnpm run runPrepareFixtures\"",
Evidence
PR Compliance ID 7 requires a .changeset/ entry when published packages are changed. This PR
modifies the published package @pnpm/installing.deps-restorer (package.json
scripts/devDependencies), but no changeset referencing it exists.

CLAUDE.md: Create a Changeset for Published-Package Changes (Including Explicit pnpm CLI Bump When Applicable)
pnpm11/installing/deps-restorer/package.json[1-39]
.changeset/ledger.yaml[89-128]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
A published package (`@pnpm/installing.deps-restorer`) was changed in this PR, but there is no changeset to record and version the change.

## Issue Context
This PR removes the `prepareFixtures`/`runPrepareFixtures` scripts and the `concurrently` devDependency from `@pnpm/installing.deps-restorer`, which is a published workspace package.

## Fix Focus Areas
- pnpm11/installing/deps-restorer/package.json[31-99]
- .changeset/*[create new file]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Qodo Logo

"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"test": "pn compile && pn .test",
"prepublishOnly": "tsgo --build",
"runPrepareFixtures": "node ../../pnpm/bin/pnpm.mjs i -r -C test/fixtures --no-shared-workspace-lockfile --no-link-workspace-packages --lockfile-only --registry http://localhost:4873/ --ignore-scripts --force --no-strict-peer-dependencies",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. Missing changeset for deps-restorer 📘 Rule violation ⚙ Maintainability

@pnpm/installing.deps-restorer was modified (scripts/devDependencies), but no corresponding
.changeset/ entry is present to version/release the published package. This can cause the package
change to be omitted from releases and changelogs.
Agent Prompt
## Issue description
A published package (`@pnpm/installing.deps-restorer`) was changed in this PR, but there is no changeset to record and version the change.

## Issue Context
This PR removes the `prepareFixtures`/`runPrepareFixtures` scripts and the `concurrently` devDependency from `@pnpm/installing.deps-restorer`, which is a published workspace package.

## Fix Focus Areas
- pnpm11/installing/deps-restorer/package.json[31-99]
- .changeset/*[create new file]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

@zkochan
zkochan merged commit 65f6828 into main Jul 21, 2026
24 checks passed
@zkochan
zkochan deleted the no-concurrently branch July 21, 2026 11:25
@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch no-concurrently

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

zkochan added a commit that referenced this pull request Jul 21, 2026
…ckfile entries (#13196)

Removing one dev dependency could flip other packages' open-range deps
(e.g. jest's `@types/node: '*'`) to their newest versions, as seen in
#13193. Three lockfile-resolution-reuse gaps caused
still-satisfied lockfile entries to be re-resolved from the registry:

1. Direct deps using the `catalog:` protocol reach
   record_changed_direct_deps with the protocol already resolved to the
   catalog's range, while the importer snapshot records the literal
   `catalog:` form. Every catalog-managed dep therefore looked changed
   on every install, and the changed-direct-dep gate declined subtree
   reuse for every package depending on one. The comparison now
   consults the lockfile's `catalogs:` snapshot, so only a real catalog
   range change counts as a change.

2. Auto-installed (hoisted) peers were recorded as changed direct deps
   on every install: they have no importer-snapshot entry to compare
   against, so they always counted as "new". Recording now runs only
   for the importer's manifest wave, never for hoist-round installs.

3. A node that resolved freshly but landed on its previously recorded
   version still disabled reuse for its entire subtree
   (ReuseSource::PriorOnly). Peer back-edge cycles
   (browserslist <-> update-browserslist-db, eslint <-> eslint-utils,
   jest-resolve <-> jest-pnp-resolver) force such fresh resolves on
   every install, so open-ranged deps below them re-picked the
   registry's newest version on every partial install. Children of a
   parent that landed on its prior version now re-enter the reuse gate
   with their recorded refs, faithful to pnpm's
   `parentPkg.updated ? undefined : resolvedDependencies` arm, and the
   PriorOnly variant is removed.

The TypeScript CLI is unaffected: catalogs resolve inside its resolver
chain so specifiers compare raw-to-raw, and its reuse predicate already
keeps child refs alive under a non-updated parent. This change ports
that behavior to pacquet.
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