Skip to content

pacquet: env-lockfile document (doc 1) parity — packageManagerDependencies block and libc fields #27

Closed

Description

@zkochan

Summary

With pnpm/pnpm#12365 merged, pacquet's real lockfile document is byte-identical to pnpm's on this monorepo (see pnpm/pnpm#12266). The only remaining pnpm-lock.yaml divergence is in the env-lockfile document (doc 1 of the two-document file), which pacquet emits since config-dependencies support landed (pnpm/pnpm#12285) but which doesn't yet match pnpm byte-for-byte:

  1. packageManagerDependencies block missing. pnpm's doc 1 records the self-managed package manager versions (pnpm, @pnpm/exe) with their packages:/snapshots: entries; pacquet's doc 1 only records configDependencies. (Whether pacquet should write this block at all — it doesn't manage pnpm CLI versions itself — needs a decision; for a byte-identical file it has to.)
  2. libc: fields missing on platform packages. pnpm records libc: [musl] / libc: [glibc] on the @pacquet/linux-* optional platform packages in doc 1; pacquet's writer drops the field there (the doc-2 writer handles libc correctly).

Reproduction

Same as pnpm/pnpm#12266: fresh install --lockfile-only with pacquet vs pnpm on this monorepo, then compare the first document (everything before the second ---). Currently ~190 changed lines, dominated by the missing packageManagerDependencies subtree.

Split out of pnpm/pnpm#12266, whose reproduction originally scoped doc 1 out and whose doc-2 goal is complete.


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

Activity

  1. self-assigned this
    on Sep 26, 2026
  2. zkochan commented on Sep 26, 2026

    @zkochan
    MemberAuthor

    Both items here were already fixed on main: packageManagerDependencies by pnpm/pnpm#13382, and libc by pnpm/pnpm#13346 and pnpm/pnpm#13436. Against pnpm 11.28.0, the env document is now byte-identical for a packageManager-pinned project (including the @pnpm/exe.* libc fields) and for plain configDependencies.

    That comparison turned up one remaining lockfile divergence. With a config-dependency plugin, the Rust CLI omitted pnpmfileChecksum, because it never ran plugin hooks other than updateConfig during install. pnpm/pnpm#16197 fixes that and closes this issue.


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

  3. transferred this issue frompnpm/pnpmon Sep 26, 2026
  4. zkochan commented on Nov 8, 2026

    @zkochan
    MemberAuthor

    Fixed by pnpm/pnpm#13382, pnpm/pnpm#13346, pnpm/pnpm#13436 and pnpm/pnpm#16197.

    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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions