Skip to content

feat(pacquet): port the catalogMode auto-cataloging half (saveCatalogName / catalog writes) - #12202

Merged
zkochan merged 2 commits into
mainfrom
feat/12196
Jun 4, 2026
Merged

zkochan merged 2 commits into
mainfrom
feat/12196

Conversation

@zkochan

@zkochan zkochan commented Jun 4, 2026 •

Copy link
Copy Markdown
Member

What

Ports the auto-cataloging half of pnpm's catalogMode to pacquet, closing #12196. PR #11706 ported the mismatch gate; this adds the write side: under catalogMode: strict/prefer (or --save-catalog[-name]), add/update write catalog: / catalog:<name> into package.json, insert the entry into pnpm-workspace.yaml, and record the resolved snapshot in pnpm-lock.yaml's catalogs:.

How

  • config — add saveCatalogName; move save-catalog-name out of the parity NOT_PORTED list (new Scalar::Undefined for pnpm's undefined default).
  • new crate pacquet-workspace-manifest-writer — format-preserving catalog write-back to pnpm-workspace.yaml: preserves comments, blank lines, key order, and quote styles byte-for-byte with pnpm. Ports pnpm's addCatalogs / reorderRecursive / detectKeyLayout / propagateBlankLinesToNewPairs, layered on yamlpatch + yamlpath + yaml_serde (new deps; MIT/Apache-2.0, license-clean for deny.toml).
  • lockfile — add the top-level catalogs: snapshot (CatalogSnapshots / ResolvedCatalogEntry), positioned between settings and overrides per pnpm's sortLockfileKeys. dependencies_graph_to_lockfile ports getCatalogSnapshots.
  • catalog_mode — check_catalog_mode → decide_catalog, returning a per-dep CatalogDecision that unifies the gate (strict-error / prefer-warn) with auto-cataloging (write catalog:, record the entry), folding in saveCatalogName, named-catalog resolution, and re-add handling.
  • add — now parses pkg@version; new --save-catalog / --save-catalog-name=<name> flags; writes the workspace YAML before install so resolution + the lockfile snapshot see the merged catalogs.
  • update — the catalog gate now flows through the decision core, including --latest on a catalog:<name> dependency (keeps the manifest reference, bumps the catalog entry).

Tests

  • Decision core: package-manager::catalog_mode::tests (strict/prefer/manual, named catalogs, --save-catalog-name, runtime skip).
  • Writer: workspace-manifest-writer::tests — 17 byte-for-byte cases (comment/blank-line/quote-style/sorted-insert/named-catalog/scoped-key preservation).
  • End-to-end (crates/cli/tests/catalog.rs), ported from installing/deps-installer/test/catalogs.ts:
    • adding with catalogMode: strict/prefer will add to or use from catalog
    • re-adding existing catalog dependency preserves catalog specifier (catalogMode: strict creates invalid pnpm-workspace.yaml #10176)
    • adding mismatched version with catalogMode: strict will error
    • update --latest works on named catalog dependency with catalogMode=prefer

TEST_PORTING.md updated. Full pre-push-rust.sh (fmt/doc/dylint/taplo) + workspace clippy + typos pass; builds --locked.

Notes / deferred

  • cleanupUnusedCatalogs (the removePackagesFromWorkspaceCatalog half of the writer) is not ported.
  • Manual-mode update --latest of a catalog: dep is unchanged (catalog handling is gated on catalogMode != manual, matching pre-existing pacquet behavior); the strict/prefer paths match pnpm.

Per pacquet convention, this pacquet-only change does not include a changeset.


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

Summary by CodeRabbit

  • New Features

    • Added --save-catalog and --save-catalog-name to pacquet add
    • Auto-cataloging support with per-dependency catalog decisions and optional named catalogs
    • Workspace manifests can be updated to record catalog entries
    • Lockfiles now include catalog snapshots; update --latest honors catalog state
  • Tests

    • Added extensive E2E and unit tests covering catalog behaviors and workspace manifest edits
  • Documentation

    • Documented catalogMode auto-cataloging and porting status in test plan

Implements the auto-cataloging half of pnpm's `catalogMode` (the gate was
ported in #11706): under `catalogMode: strict`/`prefer` (or
`--save-catalog[-name]`), `add`/`update` write `catalog:`/`catalog:<name>`
to `package.json`, insert the entry into `pnpm-workspace.yaml`, and record
the resolved snapshot in `pnpm-lock.yaml`'s `catalogs:`.

- config: add `saveCatalogName`; move `save-catalog-name` out of the parity
  NOT_PORTED list
- new crate `pacquet-workspace-manifest-writer`: format-preserving
  (comment/blank-line/key-order/quote-style) catalog write-back, byte-for-byte
  with pnpm, on top of yamlpatch/yamlpath/yaml_serde
- lockfile: add `catalogs:` snapshot (CatalogSnapshots/ResolvedCatalogEntry)
- catalog_mode: `decide_catalog` per-dep decision (gate + auto-catalog)
- add: parse `pkg@version`; `--save-catalog`/`--save-catalog-name` flags
- update: route the catalog gate through the decision core, handling
  `--latest` on catalog deps

Closes #12196
@coderabbitai

coderabbitai Bot commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1643fe73-d961-4db4-ad06-6b92db68a36d

📥 Commits

Reviewing files that changed from the base of the PR and between f1927e9 and 8815921.

📒 Files selected for processing (4)
  • pacquet/crates/cli/tests/catalog.rs
  • pacquet/crates/package-manager/src/update.rs
  • pacquet/crates/workspace-manifest-writer/src/edit.rs
  • pacquet/crates/workspace-manifest-writer/src/tests.rs
🚧 Files skipped from review as they are similar to previous changes (4)
  • pacquet/crates/cli/tests/catalog.rs
  • pacquet/crates/package-manager/src/update.rs
  • pacquet/crates/workspace-manifest-writer/src/tests.rs
  • pacquet/crates/workspace-manifest-writer/src/edit.rs
📜 Recent review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: Run benchmark on ubuntu-latest
  • GitHub Check: Code Coverage
  • GitHub Check: Lint and Test (ubuntu-latest)
  • GitHub Check: Lint and Test (macos-latest)
  • GitHub Check: Lint and Test (windows-latest)
  • GitHub Check: Run benchmark on ubuntu-latest
  • GitHub Check: Compile & Lint

📝 Walkthrough

Walkthrough

This PR adds catalog-aware add/update behavior, introduces a format-preserving workspace manifest writer crate, adds lockfile catalog snapshot schema and generation, wires CLI/config save_catalog_name inputs, and updates unit and E2E coverage plus porting-plan documentation.

Changes

Auto-Cataloging Feature Delivery

Layer / File(s) Summary
Workspace manifest writer crate and dependency wiring
Cargo.toml, pacquet/crates/workspace-manifest-writer/*, pacquet/crates/package-manager/Cargo.toml
Adds workspace/package dependencies for YAML editing and the new writer crate; introduces update_workspace_manifest API and typed errors; implements manifest model parsing, key-order/scalar rendering, and format-preserving catalog edits with comprehensive writer tests.
Catalog decision contracts and config parity
pacquet/crates/config/src/lib.rs, pacquet/crates/config/src/pnpm_default_parity.rs, pacquet/crates/package-manager/src/catalog_mode.rs, pacquet/crates/package-manager/src/catalog_mode/tests.rs, pacquet/crates/package-manager/src/install_package_from_registry/tests.rs
Adds Config.save_catalog_name, extends parity harness with undefined handling for optional defaults, replaces bulk catalog checks with per-dependency decide_catalog, and updates catalog-mode tests across strict/prefer/manual behaviors.
CLI add catalog flags and add command orchestration
pacquet/crates/cli/src/cli_args/add.rs, pacquet/crates/cli/src/cli_args/dlx.rs, pacquet/crates/package-manager/src/add.rs, pacquet/crates/cli/tests/catalog.rs
Adds --save-catalog and --save-catalog-name handling with precedence, threads catalog target through add_package into Add, keeps dlx uncataloged, rewrites Add::run for catalog decisions and optional workspace write-back, and adds add-focused CLI E2E cases.
Catalog-aware update rewrite and workspace write-back
pacquet/crates/package-manager/src/update.rs, pacquet/crates/cli/tests/catalog.rs, pacquet/plans/TEST_PORTING.md
Replaces update reconciliation with per-rewrite decide_catalog, accumulates catalog edits, writes updated workspace catalogs before install when enabled, adds update-focused CLI E2E cases, and documents auto-cataloging test-port status and known gaps.
Lockfile catalog snapshot schema, generation, and fixture updates
pacquet/crates/lockfile/src/*, pacquet/crates/package-manager/src/dependencies_graph_to_lockfile.rs, pacquet/crates/package-manager/src/install_with_fresh_lockfile.rs, pacquet/crates/package-manager/src/current_lockfile.rs, pacquet/crates/.../tests/*
Introduces CatalogSnapshots and Lockfile.catalogs, builds catalog snapshots during graph-to-lockfile conversion, threads catalogs through fresh-lockfile construction, preserves catalog snapshots in current-lockfile filtering, and updates lockfile fixtures/tests across multiple crates for the new field and options.

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant CLI
  participant AddCmd as AddCommand
  participant CatalogMode
  participant WorkspaceWriter
  participant Install
  participant LockfileBuilder

  User->>CLI: run add command with save catalog name
  CLI->>AddCmd: pass package and catalog options
  AddCmd->>CatalogMode: decide_catalog using current spec and mode
  alt catalog decision is Catalog
    CatalogMode-->>AddCmd: manifest specifier and updated catalog entry
    AddCmd->>WorkspaceWriter: update_workspace_manifest with updated catalogs
    WorkspaceWriter-->>AddCmd: workspace manifest updated
  else catalog decision is KeepDirect
    CatalogMode-->>AddCmd: keep direct specifier
  end
  AddCmd->>Install: run install with reconciled manifest specifier
  Install->>LockfileBuilder: convert graph to lockfile with catalogs
  LockfileBuilder-->>Install: lockfile includes catalog snapshots
  Install-->>User: command completes with manifest and lockfile updates
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~75 minutes

Possibly related issues

  • pnpm/pnpm issue 12196: This PR implements the auto-cataloging flow across decisioning, workspace-manifest writes, and lockfile snapshots described there.
  • pnpm/pnpm issue 12101: The update command now performs catalog-aware rewrite reconciliation and workspace catalog persistence, matching that issue’s update parity scope.
  • pnpm/pacquet issue 431: The PR adds workspace discovery plus workspace manifest read/write error paths that overlap this issue’s workspace-manifest handling area.

Possibly related PRs

  • pnpm/pnpm#12102: Both touch update command rewrite behavior and related integration flow.
  • pnpm/pnpm#11711: Both preserve catalog protocol references while updating catalog-backed dependency state.
  • pnpm/pnpm#11706: Both address strict/prefer catalog mismatch handling around ranged specifiers.

Poem

🐇 I nibbled YAML by moonlit light,
and kept each comment tucked in tight.
I hopped through catalogs, name by name,
then stamped lockfile snapshots all the same.
Carrots for every passing test!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title directly and specifically describes the main feature being implemented: porting the auto-cataloging write-side behavior for saveCatalogName and catalog writes to the pacquet package manager.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/12196

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 and usage tips.

@github-actions

github-actions Bot commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
tarball/download_dependency    1.01      7.9±0.30ms   546.9 KB/sec    1.00      7.9±0.26ms   550.7 KB/sec

@codecov-commenter

codecov-commenter commented Jun 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.77039% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.94%. Comparing base (e7e99f0) to head (8815921).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...cquet/crates/workspace-manifest-writer/src/edit.rs 96.77% 11 Missing ⚠️
pacquet/crates/package-manager/src/update.rs 79.54% 9 Missing ⚠️
...uet/crates/workspace-manifest-writer/src/render.rs 90.69% 4 Missing ⚠️
pacquet/crates/config/src/pnpm_default_parity.rs 88.88% 1 Missing ⚠️
pacquet/crates/package-manager/src/catalog_mode.rs 98.33% 1 Missing ⚠️
...kage-manager/src/dependencies_graph_to_lockfile.rs 96.66% 1 Missing ⚠️
...acquet/crates/workspace-manifest-writer/src/lib.rs 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12202      +/-   ##
==========================================
+ Coverage   87.75%   87.94%   +0.19%     
==========================================
  Files         272      277       +5     
  Lines       31244    32014     +770     
==========================================
+ Hits        27419    28156     +737     
- Misses       3825     3858      +33     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zkochan
zkochan marked this pull request as ready for review June 4, 2026 21:33
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Review Summary by Qodo

Port pnpm's catalogMode auto-cataloging feature with format-preserving workspace manifest writer

✨ Enhancement 🧪 Tests

Grey Divider

Walkthroughs

Description
• **Auto-cataloging feature**: Ports pnpm's catalogMode auto-cataloging half (PR #12196), enabling
  add/update commands to write catalog: specifiers to package.json and record resolved entries
  in pnpm-workspace.yaml under catalogMode: strict/prefer
• **New crate pacquet-workspace-manifest-writer**: Format-preserving catalog write-back to
  pnpm-workspace.yaml that preserves comments, blank lines, key order, and quote styles
  byte-for-byte with pnpm, using yamlpatch, yamlpath, and yaml_serde
• **Catalog decision core**: Refactors check_catalog_mode() → decide_catalog() returning
  CatalogDecision enum that unifies gate (strict-error/prefer-warn) with auto-cataloging (write
  catalog:, record entry), supporting named catalogs and --save-catalog-name parameter
• **Lockfile snapshots**: Adds top-level catalogs: field to lockfile schema with
  CatalogSnapshots type, positioned between settings and overrides, recording resolved specifier
  + version for every catalog: direct dependency
• **CLI flags**: Adds --save-catalog and --save-catalog-name= flags to add command with proper
  precedence handling
• **Config parity**: Adds save_catalog_name config field and Scalar::Undefined variant to model
  pnpm's undefined default
• **Comprehensive test coverage**: 17 byte-for-byte format-preservation tests, decision core tests
  for strict/prefer/manual modes and named catalogs, 4 end-to-end integration tests ported from pnpm,
  plus 20+ test fixture updates across lockfile and dependency graph modules
• **Update command integration**: Handles --latest on catalog: dependencies by bumping catalog
  entry while preserving manifest reference
Diagram
flowchart LR
  A["add/update commands"] -->|parse pkg@version| B["decide_catalog()"]
  B -->|CatalogDecision| C["write catalog: to manifest"]
  C -->|CatalogEntry| D["update_workspace_manifest()"]
  D -->|format-preserving| E["pnpm-workspace.yaml"]
  B -->|resolved entry| F["build_catalog_snapshots()"]
  F -->|CatalogSnapshots| G["lockfile catalogs: field"]
  H["--save-catalog-name flag"] -->|save_catalog_name| B

Loading

Grey Divider

File Changes

1. pacquet/crates/workspace-manifest-writer/src/edit.rs ✨ Enhancement +507/-0

Format-preserving catalog write-back to workspace manifest

• Implements format-preserving catalog merge logic for pnpm-workspace.yaml, porting pnpm's
 addCatalogs function
• Provides add_catalogs() to upsert catalog entries while preserving comments, blank lines, and
 quote styles
• Includes targeted text splices for inserts and yamlpatch for value updates to maintain
 byte-for-byte fidelity
• Implements line-oriented YAML scanning (locate(), collect_entries()) to find insertion
 positions respecting document structure

pacquet/crates/workspace-manifest-writer/src/edit.rs


2. pacquet/crates/package-manager/src/catalog_mode/tests.rs 🧪 Tests +125/-39

Expand catalog mode tests for auto-cataloging decisions

• Updates test imports to use new CatalogDecision and decide_catalog (renamed from
 check_catalog_mode)
• Adds comprehensive test coverage for auto-cataloging decisions: manual mode, strict/prefer modes,
 named catalogs, --save-catalog-name
• Tests now verify both the gate (mismatch detection) and the write-back decision (what to write to
 manifest/workspace)
• Includes regression test for re-adding catalog dependencies (pnpm#10176)

pacquet/crates/package-manager/src/catalog_mode/tests.rs


3. pacquet/crates/package-manager/src/catalog_mode.rs ✨ Enhancement +125/-74

Refactor catalog mode to return cataloging decisions

• Renames check_catalog_mode() to decide_catalog() and changes signature to process one
 dependency at a time
• Adds CatalogDecision enum to unify gate (strict-error/prefer-warn) with auto-cataloging (write
 catalog:, record entry)
• Adds CatalogEntry struct to represent entries to write back to pnpm-workspace.yaml
• Integrates save_catalog_name parameter to enable cataloging even in manual mode via
 --save-catalog-name

pacquet/crates/package-manager/src/catalog_mode.rs


View more (27)
4. pacquet/crates/workspace-manifest-writer/src/tests.rs 🧪 Tests +192/-0

Comprehensive format-preserving catalog writer tests

• Adds 17 byte-for-byte test cases for catalog write-back, ported from pnpm's test suite
• Tests cover comment/blank-line/quote-style preservation, sorted insertion, named catalogs, scoped
 packages
• Validates no-op behavior when entries already exist with same specifier
• Tests both default catalog shorthand and named catalogs under catalogs: block

pacquet/crates/workspace-manifest-writer/src/tests.rs


5. pacquet/crates/real-hoist/src/tests.rs 🧪 Tests +19/-0

Update lockfile test fixtures with catalogs field

• Adds catalogs: None field initialization to all Lockfile struct instances in test fixtures
• Updates 15+ test cases to include the new catalogs field required by lockfile schema

pacquet/crates/real-hoist/src/tests.rs


6. pacquet/crates/package-manager/src/add.rs ✨ Enhancement +142/-12

Implement auto-cataloging in pacquet add command

• Adds save_catalog_name parameter to AddOptions to support --save-catalog /
 --save-catalog-name= flags
• Implements catalog reconciliation via decide_catalog() before manifest mutation
• Parses pkg@version syntax to extract explicit version specifier
• Writes updated catalogs to pnpm-workspace.yaml before install so resolver reads merged catalogs

pacquet/crates/package-manager/src/add.rs


7. pacquet/crates/cli/tests/catalog.rs 🧪 Tests +189/-0

End-to-end auto-cataloging integration tests

• Adds 4 end-to-end integration tests ported from pnpm's catalog test suite
• Tests add under catalogMode: strict/prefer writes catalog: to manifest and entry to
 workspace YAML
• Tests re-adding catalog dependency preserves specifier (pnpm#10176 regression)
• Tests add with mismatched version under strict mode errors correctly
• Tests update --latest on named catalog dependency bumps the entry while keeping manifest
 reference

pacquet/crates/cli/tests/catalog.rs


8. pacquet/crates/package-manager/src/update.rs ✨ Enhancement +79/-24

Implement auto-cataloging in pacquet update command

• Integrates decide_catalog() into update flow to reconcile rewritten versions against catalogs
• Handles --latest on catalog: dependencies by bumping catalog entry while preserving manifest
 reference
• Writes updated catalog entries to pnpm-workspace.yaml before install
• Adds UpdateWorkspaceManifestError variant for write-back failures

pacquet/crates/package-manager/src/update.rs


9. pacquet/crates/package-manager/src/dependencies_graph_to_lockfile.rs ✨ Enhancement +60/-3

Build catalog snapshots in lockfile generation

• Adds catalogs parameter to GraphToLockfileOptions to pass workspace catalogs to lockfile
 builder
• Implements build_catalog_snapshots() to generate lockfile's catalogs: section from resolved
 importers
• Records resolved specifier + version for every catalog: direct dependency in the snapshot
• Ports pnpm's getCatalogSnapshots logic

pacquet/crates/package-manager/src/dependencies_graph_to_lockfile.rs


10. pacquet/crates/workspace-manifest-writer/src/lib.rs ✨ Enhancement +107/-0

New workspace manifest writer crate for catalogs

• New crate providing format-preserving writer for pnpm-workspace.yaml catalog blocks
• Exports update_workspace_manifest() to merge updated catalogs while preserving comments, blank
 lines, key order, quote styles
• Defines UpdateWorkspaceManifestError for read/parse/edit/write failures
• Layers on yamlpatch, yamlpath, and yaml_serde for targeted edits

pacquet/crates/workspace-manifest-writer/src/lib.rs


11. pacquet/crates/workspace-manifest-writer/src/render.rs ✨ Enhancement +87/-0

Key ordering and value rendering helpers

• Implements Layout enum to detect key ordering style (unordered, alphabetical, packages-first)
• Provides detect_key_layout() to classify existing key order, mirroring pnpm's detectKeyLayout
• Implements target_order() to merge new keys respecting existing layout
• Delegates value rendering to yaml_serde to match pnpm's quote policy (single-quote when needed)

pacquet/crates/workspace-manifest-writer/src/render.rs


12. pacquet/crates/package-manager/src/dependencies_graph_to_lockfile/tests.rs 🧪 Tests +9/-0

Update lockfile builder tests with catalogs field

• Adds EMPTY_CATALOGS static for catalog-free test fixtures
• Updates all GraphToLockfileOptions instances to include catalogs: &EMPTY_CATALOGS field
• Maintains test compatibility with new lockfile schema

pacquet/crates/package-manager/src/dependencies_graph_to_lockfile/tests.rs


13. pacquet/crates/cli/src/cli_args/add.rs ✨ Enhancement +23/-0

Add CLI flags for catalog-aware dependency addition

• Adds --save-catalog flag (shorthand for --save-catalog-name=default)
• Adds --save-catalog-name= flag to target a specific named catalog
• Implements flag precedence: explicit --save-catalog-name > --save-catalog > config default
• Threads save_catalog_name through to add_package() function

pacquet/crates/cli/src/cli_args/add.rs


14. pacquet/crates/package-manager/src/hoisted_dep_graph/tests.rs 🧪 Tests +5/-0

Update hoisted dep graph tests with catalogs field

• Adds catalogs: None field initialization to Lockfile struct instances in test fixtures
• Updates 3 test cases to include the new required field

pacquet/crates/package-manager/src/hoisted_dep_graph/tests.rs


15. pacquet/crates/config/src/pnpm_default_parity.rs ⚙️ Configuration changes +14/-1

Add save-catalog-name to config parity tracking

• Adds Scalar::Undefined variant to model pnpm's undefined default (used for
 save-catalog-name)
• Moves save-catalog-name out of NOT_PORTED list
• Implements save_catalog_name_scalar() to map config value to parity table
• Updates parse_scalar() to recognize undefined literal in parity output

pacquet/crates/config/src/pnpm_default_parity.rs


16. pacquet/crates/package-manager/src/install_with_fresh_lockfile.rs ✨ Enhancement +10/-2

Thread catalogs through fresh lockfile build

• Threads catalogs parameter through to build_fresh_lockfile() calls
• Passes workspace catalogs to lockfile builder so catalogs: snapshot is generated

pacquet/crates/package-manager/src/install_with_fresh_lockfile.rs


17. pacquet/crates/workspace-manifest-writer/src/model.rs ✨ Enhancement +65/-0

Manifest model for format-preserving edits

• Defines Manifest struct to hold parsed pnpm-workspace.yaml with original text preserved
• Stores top-level key order, catalog: shorthand, and catalogs: named entries
• Implements parse() to decode YAML while maintaining byte-for-byte text for untouched content
• Provides text getter/setter for edit pass to mutate while preserving structure

pacquet/crates/workspace-manifest-writer/src/model.rs


18. pacquet/crates/config/src/lib.rs ⚙️ Configuration changes +15/-0

Add save_catalog_name config field

• Adds save_catalog_name: Option field to Config struct
• Documents that it mirrors pnpm's saveCatalogName config (default undefined)
• Notes it is CLI-only in pnpm and pacquet does not read it from pnpm-workspace.yaml

pacquet/crates/config/src/lib.rs


19. pacquet/crates/lockfile/src/catalog_snapshots.rs ✨ Enhancement +27/-0

Catalog snapshot types for lockfile

• New module defining CatalogSnapshots type alias for BTreeMap>
• Defines ResolvedCatalogEntry struct with specifier and version fields
• Ports pnpm's catalog snapshot types for lockfile v9

pacquet/crates/lockfile/src/catalog_snapshots.rs


20. pacquet/crates/lockfile/src/lib.rs ✨ Enhancement +11/-0

Integrate catalog snapshots into lockfile

• Adds mod catalog_snapshots and re-exports its types
• Adds catalogs: Option field to Lockfile struct
• Documents field position between settings and overrides per pnpm's sortLockfileKeys

pacquet/crates/lockfile/src/lib.rs


21. pacquet/crates/lockfile/src/save_lockfile/tests.rs 🧪 Tests +2/-0

Update lockfile save tests with catalogs field

• Adds catalogs: None field initialization to Lockfile struct instances in test fixtures
• Updates 2 test cases to include the new required field

pacquet/crates/lockfile/src/save_lockfile/tests.rs


22. pacquet/crates/package-manager/src/current_lockfile.rs ✨ Enhancement +3/-0

Preserve catalogs when filtering lockfile

• Adds catalogs: lockfile.catalogs.clone() when filtering lockfile for current state
• Preserves catalog snapshots verbatim from wanted lockfile to current lockfile

pacquet/crates/package-manager/src/current_lockfile.rs


23. pacquet/crates/package-manager/src/install_package_from_registry/tests.rs 🧪 Tests +1/-0

Update registry install test config

• Adds save_catalog_name: None field initialization to test Config instance

pacquet/crates/package-manager/src/install_package_from_registry/tests.rs


24. pacquet/crates/cli/src/cli_args/dlx.rs ✨ Enhancement +2/-0

Update dlx to pass save_catalog_name parameter

• Adds None argument for save_catalog_name parameter in add_package() call
• Adds comment noting dlx never catalogs

pacquet/crates/cli/src/cli_args/dlx.rs


25. pacquet/crates/resolving-deps-resolver/src/lockfile_reuse/tests.rs 🧪 Tests +1/-0

Update lockfile reuse test with catalogs field

• Adds catalogs: None field initialization to Lockfile struct instance in test fixture

pacquet/crates/resolving-deps-resolver/src/lockfile_reuse/tests.rs


26. pacquet/crates/package-manager/src/current_lockfile/tests.rs 🧪 Tests +1/-0

Update current lockfile test with catalogs field

• Adds catalogs: None field initialization to Lockfile struct instance in test fixture

pacquet/crates/package-manager/src/current_lockfile/tests.rs


27. Cargo.toml Dependencies +4/-0

Add workspace manifest writer crate and YAML dependencies

• Adds pacquet-workspace-manifest-writer workspace member path
• Adds dependencies: yaml_serde, yamlpatch, yamlpath for format-preserving YAML editing

Cargo.toml


28. pacquet/crates/package-manager/Cargo.toml Dependencies +1/-0

Add workspace manifest writer dependency

• Adds pacquet-workspace-manifest-writer workspace dependency

pacquet/crates/package-manager/Cargo.toml


29. pacquet/plans/TEST_PORTING.md 📝 Documentation +20/-0

Document catalogMode auto-cataloging feature porting status

• Added comprehensive documentation section for catalogMode auto-cataloging feature porting,
 tracking pnpm#12196
• Documented 6 ported test cases covering strict/prefer modes, named catalogs, and update operations
• Listed known divergences including saveCatalog.ts CLI flows, cleanupUnusedCatalogs, and
 manual-mode update behavior
• Provided references to implementation locations: decide_catalog,
 pacquet-workspace-manifest-writer crate, and lockfile snapshot builder

pacquet/plans/TEST_PORTING.md


30. pacquet/crates/workspace-manifest-writer/Cargo.toml Dependencies +30/-0

Add new workspace manifest writer crate with YAML dependencies

• Created new crate pacquet-workspace-manifest-writer for format-preserving catalog write-back to
 pnpm-workspace.yaml
• Added dependencies for YAML manipulation: yamlpatch, yamlpath, yaml_serde, serde-saphyr
• Included workspace-level configuration inheritance and dev dependencies for testing (insta,
 tempfile)
• Configured as unpublished workspace member with standard pacquet conventions

pacquet/crates/workspace-manifest-writer/Cargo.toml


Grey Divider

Qodo Logo

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Each scenario has pacquet rows (direct install) and pnpr rows (the same client through the pnpr install accelerator), so pnpr@HEAD vs pacquet@HEAD is the pnpr-vs-direct ratio. Cold-store scenarios wipe the client store between runs (warm server); hot-store scenarios keep it warm. The pacquet@HEAD rows feed the pacquet Bencher testbed; the pnpr@HEAD rows feed the pnpr testbed.

Scenario: Isolated linker: fresh restore, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.768 ± 0.053 4.724 4.909 2.38 ± 0.05
pacquet@main 4.813 ± 0.087 4.715 4.970 2.41 ± 0.06
pnpr@HEAD 2.001 ± 0.055 1.922 2.078 1.00 ± 0.03
pnpr@main 2.000 ± 0.039 1.952 2.059 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.7680403042199995,
      "stddev": 0.052578159680087375,
      "median": 4.75621358962,
      "user": 2.4665458800000004,
      "system": 3.64222252,
      "min": 4.72390893312,
      "max": 4.9089908081199995,
      "times": [
        4.72390893312,
        4.77177438012,
        4.74338607012,
        4.9089908081199995,
        4.7679967441199995,
        4.734731755119999,
        4.75319070712,
        4.75923647212,
        4.737883582119999,
        4.77930359012
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.8130351648200005,
      "stddev": 0.086650383305607,
      "median": 4.78625339062,
      "user": 2.48478128,
      "system": 3.66802372,
      "min": 4.7145910101199995,
      "max": 4.9695092891199995,
      "times": [
        4.9695092891199995,
        4.78731036712,
        4.78519641412,
        4.8159679961199995,
        4.7145910101199995,
        4.77934932012,
        4.7503954861199995,
        4.96914954612,
        4.7909855411199995,
        4.76789667812
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 2.0011039576200003,
      "stddev": 0.05467012199564364,
      "median": 2.00208303462,
      "user": 2.6431634799999997,
      "system": 3.21138532,
      "min": 1.9222081181200001,
      "max": 2.07752071212,
      "times": [
        1.95232564612,
        1.9686152431200001,
        2.00195593712,
        2.07752071212,
        1.9222081181200001,
        2.03867606312,
        2.00221013212,
        1.93899158512,
        2.03883950812,
        2.0696966311200002
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.9998140405200004,
      "stddev": 0.038639401971641826,
      "median": 1.99921397012,
      "user": 2.66219488,
      "system": 3.20869862,
      "min": 1.95183720112,
      "max": 2.0592481901200004,
      "times": [
        1.98140993512,
        1.95183720112,
        1.95257451412,
        2.0592481901200004,
        2.0336755661200003,
        2.02659872212,
        2.01518588512,
        1.9608264151199999,
        2.0335419211200003,
        1.98324205512
      ]
    }
  ]
}

Scenario: Isolated linker: fresh restore, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 668.6 ± 19.1 652.8 719.0 1.01 ± 0.03
pacquet@main 661.9 ± 15.9 648.6 699.1 1.00 ± 0.03
pnpr@HEAD 659.2 ± 12.1 640.6 683.2 1.00
pnpr@main 736.3 ± 72.1 645.0 849.1 1.12 ± 0.11
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.6686195677999999,
      "stddev": 0.019129641047707334,
      "median": 0.6664182424,
      "user": 0.36586872,
      "system": 1.3151213399999997,
      "min": 0.6528438019,
      "max": 0.7190480059000001,
      "times": [
        0.7190480059000001,
        0.6707711579000001,
        0.6715297109,
        0.6667370639,
        0.6582872019,
        0.6705052289000001,
        0.6532616659,
        0.6660994209000001,
        0.6571124199,
        0.6528438019
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.6619351950000001,
      "stddev": 0.0158805585011663,
      "median": 0.6563715689,
      "user": 0.36776361999999996,
      "system": 1.30260014,
      "min": 0.6486042379,
      "max": 0.6991363059,
      "times": [
        0.6806933159,
        0.6616856389,
        0.6519270279,
        0.6551432959,
        0.6575998419,
        0.6515896359000001,
        0.6991363059,
        0.6599979659,
        0.6486042379,
        0.6529746839
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.6591688075,
      "stddev": 0.01210588884501222,
      "median": 0.6586978284,
      "user": 0.35912301999999996,
      "system": 1.3103610399999996,
      "min": 0.6406108369,
      "max": 0.6831699029,
      "times": [
        0.6831699029,
        0.6487899719,
        0.6673361189,
        0.6673464049000001,
        0.6473700439000001,
        0.6584001469,
        0.6627073359000001,
        0.6569618029000001,
        0.6589955099,
        0.6406108369
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.7362840445,
      "stddev": 0.07213191660308178,
      "median": 0.7315829714,
      "user": 0.36759432,
      "system": 1.30522714,
      "min": 0.6449843709,
      "max": 0.8491470669000001,
      "times": [
        0.8160015589,
        0.7182902549,
        0.7006085709000001,
        0.6449843709,
        0.8045268139,
        0.7448756879,
        0.6557776659,
        0.7673449529,
        0.6612835019000001,
        0.8491470669000001
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.142 ± 0.023 2.103 2.177 1.00 ± 0.02
pacquet@main 2.140 ± 0.030 2.073 2.185 1.00
pnpr@HEAD 2.153 ± 0.027 2.119 2.192 1.01 ± 0.02
pnpr@main 2.146 ± 0.021 2.119 2.188 1.00 ± 0.02
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.141736881120001,
      "stddev": 0.023404362486616,
      "median": 2.14000341772,
      "user": 3.48246332,
      "system": 2.92708102,
      "min": 2.1027211447200003,
      "max": 2.1771030807200002,
      "times": [
        2.1771030807200002,
        2.1288799807200003,
        2.12698993072,
        2.14709290072,
        2.12412889072,
        2.15073748972,
        2.17639844472,
        2.15040301372,
        2.1027211447200003,
        2.1329139347200003
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.1403875072200003,
      "stddev": 0.030448887216400405,
      "median": 2.1356357037200002,
      "user": 3.4749988200000006,
      "system": 2.9526051199999994,
      "min": 2.07298526472,
      "max": 2.1849355217200004,
      "times": [
        2.13373376572,
        2.13147279372,
        2.1375376417200003,
        2.1849355217200004,
        2.13330073872,
        2.12987565272,
        2.16607678072,
        2.1695000227200003,
        2.1444568897200003,
        2.07298526472
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 2.15281814102,
      "stddev": 0.027215589234277707,
      "median": 2.14152409722,
      "user": 3.4708352200000006,
      "system": 2.9470470200000003,
      "min": 2.1191422657200003,
      "max": 2.1919022307200002,
      "times": [
        2.13201206372,
        2.13684556772,
        2.14620262672,
        2.1191422657200003,
        2.1259517957200003,
        2.1799187037200003,
        2.18283593272,
        2.1356426867200002,
        2.1777275367200004,
        2.1919022307200002
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 2.1457841192200005,
      "stddev": 0.021435452627310066,
      "median": 2.13897602722,
      "user": 3.480977120000001,
      "system": 2.95379492,
      "min": 2.11895364572,
      "max": 2.1877019797200004,
      "times": [
        2.1306028557200003,
        2.14175505172,
        2.14502592072,
        2.1361970027200003,
        2.1877019797200004,
        2.13540616072,
        2.1770719667200003,
        2.15285300272,
        2.13227360572,
        2.11895364572
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, hot cache + hot store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.283 ± 0.014 1.262 1.309 1.00
pacquet@main 1.310 ± 0.043 1.258 1.401 1.02 ± 0.04
pnpr@HEAD 1.303 ± 0.033 1.277 1.390 1.02 ± 0.03
pnpr@main 1.289 ± 0.019 1.256 1.320 1.00 ± 0.02
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.2828524669799999,
      "stddev": 0.01407517751512622,
      "median": 1.2819556539799999,
      "user": 1.37457816,
      "system": 1.7074852799999998,
      "min": 1.26245342998,
      "max": 1.30893089198,
      "times": [
        1.29282487198,
        1.29607918298,
        1.26514652498,
        1.27483975398,
        1.28426553898,
        1.26245342998,
        1.28544645798,
        1.30893089198,
        1.27889224798,
        1.27964576898
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.3098036067800003,
      "stddev": 0.04283395742756858,
      "median": 1.2981991049800001,
      "user": 1.3766088599999997,
      "system": 1.7233899799999999,
      "min": 1.25750172198,
      "max": 1.40138559998,
      "times": [
        1.25750172198,
        1.27074478498,
        1.31086291998,
        1.28880876598,
        1.40138559998,
        1.3585619209800002,
        1.2888694949800001,
        1.32490264898,
        1.3056006339800001,
        1.2907975759800001
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.30311941648,
      "stddev": 0.03334995493933743,
      "median": 1.29286528948,
      "user": 1.38246976,
      "system": 1.72747368,
      "min": 1.27681678898,
      "max": 1.39026184898,
      "times": [
        1.27804431398,
        1.31898723598,
        1.29589881698,
        1.28983176198,
        1.39026184898,
        1.28859126498,
        1.28322129698,
        1.27681678898,
        1.30362097098,
        1.30591986498
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.2890680544800002,
      "stddev": 0.018704038399288116,
      "median": 1.29065977848,
      "user": 1.3871077600000001,
      "system": 1.7053245799999999,
      "min": 1.25607568098,
      "max": 1.31962738998,
      "times": [
        1.28246678998,
        1.31962738998,
        1.29676046598,
        1.27113746198,
        1.2926905449800001,
        1.29324022098,
        1.28862901198,
        1.25607568098,
        1.3123501099800001,
        1.27770286798
      ]
    }
  ]
}

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchpr/12202
Testbedpacquet

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
isolated-linker.fresh-restore.cold-cache.cold-storeLatency
seconds (s)
📈 plot
🚷 threshold
🚨 alert (🔔)
4.77 s
(+59.66%)Baseline: 2.99 s
3.58 s
(133.05%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
🚷 view threshold
2,141.74 ms
(-6.08%)Baseline: 2,280.29 ms
2,736.35 ms
(78.27%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
1,282.85 ms
(-10.11%)Baseline: 1,427.07 ms
1,712.48 ms
(74.91%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
🚨 view alert (🔔)
4,768.04 ms
(+59.66%)Baseline: 2,986.35 ms
3,583.61 ms
(133.05%)

isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
668.62 ms
(-0.40%)Baseline: 671.33 ms
805.59 ms
(83.00%)
🐰 View full continuous benchmarking report in Bencher

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@pacquet/crates/cli/tests/catalog.rs`:
- Around line 163-186: In test update_latest_named_catalog_bumps_the_entry add a
lockfile assertion: after run_ok(..., ["update", "--latest", "--lockfile-only",
FOO]) read the lockfile (e.g. via read(&workspace, "pnpm-lock.yaml") or the
project’s lockfile name) and assert it no longer contains the old catalog pin
like format!("'{FOO}': 1.0.0") (mirror the existing workspace_yaml assertion
style); this ensures the lockfile snapshot in
update_latest_named_catalog_bumps_the_entry is verified alongside dep_spec(...)
and pnpm-workspace.yaml checks.

In `@pacquet/crates/package-manager/src/update.rs`:
- Around line 475-483: The current block always writes updated_catalogs to disk
(calling update_workspace_manifest) even when the CLI was invoked with
--no-save; update the condition that guards the write to also check the
save/no-save flag used by the command (e.g., require save == true or !no_save)
so that the write only occurs when saving is allowed. Concretely, modify the if
that references updated_catalogs and workspace_dir_for_catalogs to also require
the save flag, or thread the save boolean into this scope and skip calling
update_workspace_manifest(&workspace_dir, &updated_catalogs) when saving is
disabled.

In `@pacquet/crates/workspace-manifest-writer/src/edit.rs`:
- Around line 401-405: The traversal in locate() hard-codes a two-space indent
step (base_indent += 2) which breaks manifests using a different child
indentation; change locate and the loop that compares
structural_indent(all[idx].content) to compute an indent_step dynamically and
use that instead of 2. Specifically, when you find a matching segment (in the
for (depth, segment) loop and the subsequent advance at lines 423-425),
determine the child indent by scanning nearby entries (e.g., the next index in
the lo..hi range or the first entry whose structural_indent is greater than
current base_indent) to calculate indent_step = child_indent - base_indent,
validate it's >0, then set base_indent += indent_step; replace any other
hard-coded +2 advances with this computed indent_step so mapping traversal and
insert expect calls (e.g., where catalog mapping is later looked up) work for
non-2-space indents.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c059694d-a952-4a6e-b77f-280048285d7d

📥 Commits

Reviewing files that changed from the base of the PR and between 8e5e764 and f1927e9.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (30)
  • Cargo.toml
  • pacquet/crates/cli/src/cli_args/add.rs
  • pacquet/crates/cli/src/cli_args/dlx.rs
  • pacquet/crates/cli/tests/catalog.rs
  • pacquet/crates/config/src/lib.rs
  • pacquet/crates/config/src/pnpm_default_parity.rs
  • pacquet/crates/lockfile/src/catalog_snapshots.rs
  • pacquet/crates/lockfile/src/lib.rs
  • pacquet/crates/lockfile/src/save_lockfile/tests.rs
  • pacquet/crates/package-manager/Cargo.toml
  • pacquet/crates/package-manager/src/add.rs
  • pacquet/crates/package-manager/src/catalog_mode.rs
  • pacquet/crates/package-manager/src/catalog_mode/tests.rs
  • pacquet/crates/package-manager/src/current_lockfile.rs
  • pacquet/crates/package-manager/src/current_lockfile/tests.rs
  • pacquet/crates/package-manager/src/dependencies_graph_to_lockfile.rs
  • pacquet/crates/package-manager/src/dependencies_graph_to_lockfile/tests.rs
  • pacquet/crates/package-manager/src/hoisted_dep_graph/tests.rs
  • pacquet/crates/package-manager/src/install_package_from_registry/tests.rs
  • pacquet/crates/package-manager/src/install_with_fresh_lockfile.rs
  • pacquet/crates/package-manager/src/update.rs
  • pacquet/crates/real-hoist/src/tests.rs
  • pacquet/crates/resolving-deps-resolver/src/lockfile_reuse/tests.rs
  • pacquet/crates/workspace-manifest-writer/Cargo.toml
  • pacquet/crates/workspace-manifest-writer/src/edit.rs
  • pacquet/crates/workspace-manifest-writer/src/lib.rs
  • pacquet/crates/workspace-manifest-writer/src/model.rs
  • pacquet/crates/workspace-manifest-writer/src/render.rs
  • pacquet/crates/workspace-manifest-writer/src/tests.rs
  • pacquet/plans/TEST_PORTING.md

Comment thread pacquet/crates/cli/tests/catalog.rs Resolved
- update: gate the `pnpm-workspace.yaml` write on `save` so `--no-save`
  persists nothing to disk, matching pnpm's `if (opts.save !== false)`
- workspace-manifest-writer: detect each block's child indent dynamically
  instead of assuming two spaces
- tests: assert the lockfile `catalogs:` snapshot in the named-catalog
  `update --latest` e2e test; add `--no-save` and four-space-indent cases
@zkochan
zkochan merged commit a668224 into main Jun 4, 2026
28 checks passed
@zkochan
zkochan deleted the feat/12196 branch June 4, 2026 22:22
@coderabbitai coderabbitai Bot mentioned this pull request Jun 25, 2026
2 tasks done
@qodo-code-review qodo-code-review Bot mentioned this pull request Nov 19, 2026
5 tasks done
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