Skip to content

pnpm doctor parity: ping timeout, install method, store check #237

Closed

Description

@zkochan

Parity gaps in pnpm doctor found while reviewing the v12 docs (#191). Check pnpm/pnpm#16411 first, since it changes doctor too.

  1. Registry connectivity timeout. v11 pings with a 15-second timeout (pnpm11/pnpm/src/cmd/doctor.ts, timeout: 15_000). v12 calls PingArgs::run with the normal fetchTimeout (pnpm/crates/cli/src/cli_args/doctor.rs).
  2. Install method. v11 reports pnpm or @pnpm/exe (getCurrentPackageName). v12 check_install_method always reports pnpm. If the native binary cannot tell which package launched it, fix the docs instead.
  3. Store directory check. v11 checks the store only when storeDir is configured. v12 always checks the resolved store, which is more useful. Probably a docs fix for v11's page, not a code change.

The doctor docs still describe the v11 behavior for all three.


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

Activity

  1. zkochan commented on Nov 8, 2026

    @zkochan
    MemberAuthor

    pnpm/pnpm#17399 added the 15 s timeout, and pnpm/pnpm#17494 documented the install-method behavior. The store check needed no change.

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions