Skip to content

refactor(pnpr): extract pnpr-storage - #14210

Merged
zkochan merged 4 commits into
mainfrom
pnpr-storage-cr
Aug 27, 2026
Merged

zkochan merged 4 commits into
mainfrom
pnpr-storage-cr

Conversation

@zkochan

@zkochan zkochan commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Continues the crate split from #14191, after #14202,
#14204 and #14207.

storage, s3, streaming, journal and publish move together as one
crate. That is not a shortcut — the graph says they are one subsystem:

storage → journal → publish → streaming → storage      (a 4-cycle)
s3 ↔ storage                                            (another)

Splitting them further would mean inventing seams the code does not have. The
crate they form is coherent on its own terms: where packages live, how bytes
get into that store, and the journal that makes a publish survive a crash.

The two thin edges are Storage::publish_journal() (a convenience constructor)
and streaming's use of TarballWrite — either could be cut, but doing so to
manufacture crate boundaries would make the code worse, not better.

What the boundary caught

Fifteen items become pub, plus the HostedPackumentForUpdate fields the
server reads — I had initially guessed that type was crate-internal and the
compiler corrected me.

HostedBackend deliberately stays pub(crate): the trait is implemented and
dispatched only inside this crate, so it is the one part of the backend
contract that is nobody else's business. The re-export is split by visibility to
say so.

One over-publish caught on review of my own diff: revision_ref_owner exists
twice — a method and a free function — and the compiler only needed the method.
The free function is back to private.

Four doc links pointed at crate::serve, crate::s3 or private items that no
longer resolve from the new crate root; those are plain code spans now.

just test-pnpr covers eleven crates at 733 tests, unchanged. All feature
combinations build and cargo deny check passes.

Remaining

osv is now a pure leaf and can go next. After that the root crate holds
server, search, shared_artifacts and resolver — of which server and
resolver are the natural final residents.

Checklist

  • Added or updated tests. — a relocation with no behaviour change; the
    existing suite passes unchanged.
  • Updated the documentation if needed. — pnpr/AGENTS.md's layout lists
    the crate.

Written by an agent (Claude Code, claude-opus-5[1m]).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • New Features
    • Added a dedicated storage component for hosted packages, proxy caching, publishing workflows, and crash recovery.
    • Expanded storage capabilities for package updates, publishing, streaming, temporary files, and backend access.
  • Bug Fixes
    • Improved safety around invalid paths, symlinks, concurrent writes, integrity failures, and cleanup after interrupted uploads.
  • Tests
    • Added comprehensive coverage for package publishing, storage limits, integrity validation, manifest merging, and failure recovery.
  • Documentation
    • Updated storage layout and backend documentation.

`storage`, `s3`, `streaming`, `journal`, and `publish` move together as one
crate, because they are one subsystem and the graph says so: `storage →
journal → publish → streaming → storage` is a cycle, and `s3 ↔ storage` is
another. Splitting them further would mean inventing seams the code does not
have; the crate they form is coherent on its own terms — where packages live,
how bytes get into that store, and the journal that makes a publish survive a
crash.

Fifteen items the boundary caught as reaching across become `pub`, plus the
`HostedPackumentForUpdate` fields the server reads. `HostedBackend` stays
crate-internal: the trait is implemented and dispatched only in here, so it is
the one part of the backend contract that is nobody else's business.

Four doc links pointed at `crate::serve`, `crate::s3`, or private items that no
longer resolve from the new crate root; those are plain code spans now.

`test-pnpr` covers eleven crates at 733 tests, unchanged.
Copilot AI lite review requested due to automatic review settings August 26, 2026 23:42

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.

@coderabbitai

coderabbitai Bot commented Aug 26, 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: b81a4de7-a29d-4ac9-ad41-493cf4b9ba31

📥 Commits

Reviewing files that changed from the base of the PR and between 9594a12 and a5a4fa6.

📒 Files selected for processing (7)
  • .gitignore
  • pnpr/crates/storage/Cargo.toml
  • pnpr/crates/storage/src/journal/tests.rs
  • pnpr/crates/storage/src/lib.rs
  • pnpr/crates/storage/src/publish/tests.rs
  • pnpr/crates/storage/src/s3/tests.rs
  • pnpr/crates/storage/src/streaming/tests.rs

Included review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The change extracts storage functionality into the pnpr-storage workspace crate. It exposes the required storage APIs, updates pnpr imports and journal recovery, adds storage and publishing tests, and adjusts license and test configuration.

Changes

pnpr-storage extraction

Layer / File(s) Summary
Storage API and crate boundary
Cargo.toml, deny.toml, .gitignore, pnpr/AGENTS.md, pnpr/crates/storage/...
Adds the pnpr-storage manifest and workspace configuration. Makes storage modules, types, methods, and helpers public. Updates internal paths and documentation.
Storage behavior validation
pnpr/crates/storage/src/tests.rs, pnpr/crates/storage/src/publish/tests.rs, pnpr/crates/storage/src/*/tests.rs
Adds coverage for storage conflicts, revision references, path safety, temporary files, tarball finalization, streaming validation, attachments, manifest merging, and timestamps.
pnpr integration and test wiring
pnpr/crates/pnpr/Cargo.toml, pnpr/crates/pnpr/src/..., justfile
Removes local storage module declarations. Imports storage APIs from pnpr-storage. Relocates journal recovery and updates package test selection.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to a5a4f

This PR reorganizes the pnpr storage subsystem into a dedicated crate without changing its stated behavior; the existing 733-test suite, feature builds, and dependency policy checks pass, so no actionable merge-blocking risk remains beyond normal checks.

Suggested labels: product: pacquet, product: pnpr

✨ 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 pnpr-storage-cr

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.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Extract pnpr storage subsystem into pnpr-storage crate

✨ Enhancement ⚙️ Configuration changes 🕐 40+ Minutes

Grey Divider

AI Description

• Extracts storage, S3, streaming, publish, and journal into pnpr-storage.
• Exposes required cross-crate APIs while keeping backend dispatch internal.
• Rewires pnpr, workspace metadata, licensing, documentation, and test selection.
Diagram

graph TD
  Server["pnpr Server"] --> API["pnpr-storage API"] --> Storage["Storage Core"] --> Journal["Publish Journal"] --> Publish["Publish Logic"] --> Streaming["Tarball Streaming"] --> Storage
  Storage --> S3["S3 Backend"] --> Storage
Loading
High-Level Assessment

Keep the five modules in one crate as proposed. Splitting journal, publish, streaming, storage, or S3 independently would require artificial interfaces to break existing dependency cycles; retaining them as one coherent persistence subsystem provides a useful boundary without changing behavior or weakening encapsulation.

Files changed (22) +106 / -72

Refactor (14) +70 / -69
lib.rsReplace local storage modules with pnpr-storage +1/-6

Replace local storage modules with pnpr-storage

• Removes local journal, publish, S3, storage, and streaming module declarations. Re-exports publish-journal recovery from the new crate to preserve pnpr's public surface.

pnpr/crates/pnpr/src/lib.rs

search.rsImport Storage from pnpr-storage +1/-1

Import Storage from pnpr-storage

• Switches hosted package search to the extracted storage API without changing search behavior.

pnpr/crates/pnpr/src/search.rs

server.rsWire server startup and helpers to pnpr-storage +7/-6

Wire server startup and helpers to pnpr-storage

• Imports storage, publishing time helpers, and streaming from the new crate. Startup journal recovery now calls the extracted journal module.

pnpr/crates/pnpr/src/server.rs

package_mutation.rsUse exported packument mutation contracts +2/-4

Use exported packument mutation contracts

• Moves packument retry outcomes, retry limits, and timestamp helper imports to 'pnpr-storage'.

pnpr/crates/pnpr/src/server/package_mutation.rs

publishing.rsUse extracted publishing and journal APIs +8/-8

Use extracted publishing and journal APIs

• Rewires staged publishing to the public storage, journal, attachment, packument, tarball, and revision-reference types exposed by 'pnpr-storage'.

pnpr/crates/pnpr/src/server/publishing.rs

routing.rsSource routing storage from pnpr-storage +1/-1

Source routing storage from pnpr-storage

• Updates router state construction to use the extracted 'Storage' type.

pnpr/crates/pnpr/src/server/routing.rs

staged.rsUse extracted staged-publish helpers +2/-4

Use extracted staged-publish helpers

• Imports attachment extraction and publish timestamps from 'pnpr-storage' while retaining server-specific percent decoding locally.

pnpr/crates/pnpr/src/server/staged.rs

shared_artifacts.rsReuse public atomic storage utilities +1/-1

Reuse public atomic storage utilities

• Moves shared-artifact atomic writes and temporary-file cleanup to the new storage crate API.

pnpr/crates/pnpr/src/shared_artifacts.rs

backend.rsExpose cross-crate hosted storage result types +6/-6

Expose cross-crate hosted storage result types

• Updates root-relative imports and makes packument versioning, conditional-read data, and tarball finalization outcomes public. The backend dispatch trait remains crate-private.

pnpr/crates/storage/src/backend.rs

journal.rsAdapt publish journal to the new crate root +6/-6

Adapt publish journal to the new crate root

• Rewires storage imports, exposes sealed transaction revision-reference ownership, and updates external pnpr startup references in documentation.

pnpr/crates/storage/src/journal.rs

lib.rsDefine the pnpr-storage public API +28/-21

Define the pnpr-storage public API

• Turns the former storage module into the crate root, declares the journal, publish, S3, and streaming modules, and exports cross-crate storage contracts and atomic file utilities. Internal backend dispatch remains encapsulated.

pnpr/crates/storage/src/lib.rs

publish.rsPolish public publishing helpers +3/-1

Polish public publishing helpers

• Adjusts documentation for the new crate boundary and marks timestamp-producing functions as must-use.

pnpr/crates/storage/src/publish.rs

s3.rsAdapt S3 storage to the extracted crate +3/-3

Adapt S3 storage to the extracted crate

• Updates root-relative storage imports and documentation while continuing to use the shared temporary-path helper.

pnpr/crates/storage/src/s3.rs

streaming.rsUse crate-root tarball writer API +1/-1

Use crate-root tarball writer API

• Updates verified streaming to consume 'TarballWrite' from the new storage crate root.

pnpr/crates/storage/src/streaming.rs

Tests (2) +1 / -1
tests.rsImport temporary path helper from pnpr-storage +1/-1

Import temporary path helper from pnpr-storage

• Updates shared-artifact tests to use the extracted unique temporary-path utility.

pnpr/crates/pnpr/src/shared_artifacts/tests.rs

tests.rsRelocate storage tests with the subsystem +0/-0

Relocate storage tests with the subsystem

• Keeps storage behavior, concurrency, revision-reference, and temporary-file coverage alongside the extracted crate.

pnpr/crates/storage/src/tests.rs

Documentation (1) +1 / -0
AGENTS.mdDocument the pnpr-storage crate boundary +1/-0

Document the pnpr-storage crate boundary

• Adds the hosted store, proxy cache, and publish journal crate to the pnpr repository layout.

pnpr/AGENTS.md

Other (5) +34 / -2
Cargo.lockRegister the pnpr-storage package and dependency graph +24/-0

Register the pnpr-storage package and dependency graph

• Adds 'pnpr-storage' to pnpr's resolved dependencies and records the new crate's external and pnpr-layer dependencies.

Cargo.lock

Cargo.tomlAdd pnpr-storage to workspace dependencies +1/-0

Add pnpr-storage to workspace dependencies

• Registers the new storage crate path so workspace members can consume it consistently.

Cargo.toml

deny.tomlClarify and allow pnpr-storage licensing +6/-0

Clarify and allow pnpr-storage licensing

• Adds the new crate to the PolyForm Noncommercial exception and license-file clarification lists.

deny.toml

justfileInclude pnpr-storage in split test recipes +2/-2

Include pnpr-storage in split test recipes

• Excludes the crate from pacquet-only tests and explicitly includes it in the unified pnpr test run, preserving backend feature unification.

justfile

Cargo.tomlDepend on the extracted pnpr-storage crate +1/-0

Depend on the extracted pnpr-storage crate

• Adds the workspace storage crate as a direct dependency of the pnpr server crate.

pnpr/crates/pnpr/Cargo.toml

@qodo-code-review

qodo-code-review Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

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

Grey Divider


Remediation recommended

1. Comment preserves historical implementation ✓ Resolved 📘 Rule violation ⚙ Maintainability ⭐ New
Description
The .gitignore comment records that the storage module previously lived under
pnpr/crates/pnpr/src/, rather than describing only the current ignore-rule constraint. This
violates the requirement to keep implementation history out of inline comments.
Code

.gitignore[R52-53]

+# saying so. It already had to be excluded once when the module lived under
+# `pnpr/crates/pnpr/src/`; keep this in step if it ever moves again.
Relevance

●●● Strong

Recent repository precedents accept removing historical implementation commentary, including
comments describing prior paths or behavior.

PR-#13859
PR-#14138
PR-#14073

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
PR Compliance ID 772199 prohibits comments that reference past implementations. The added wording
says the exclusion already had to be made when the module lived under another path, explicitly
documenting historical implementation details.

Rule 772199: Comments must describe current behavior, not historical implementations
.gitignore[52-53]

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

## Issue description
The `.gitignore` comment describes the storage module's former location, which is implementation history rather than current behavior.

## Issue Context
Keep the current rationale that the unanchored `storage` rule would ignore the new crate, but remove references to where the module previously lived.

## Fix Focus Areas
- .gitignore[49-53]

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


2. pnpr-storage manifest missing 📘 Rule violation ≡ Correctness
Description
The workspace declares pnpr-storage at pnpr/crates/storage, but that directory has no
Cargo.toml, so Cargo cannot load the extracted crate or resolve the dependency. This prevents
cargo check --locked --workspace --all-targets, workspace builds, and the moved storage tests from
running.
Code

Cargo.toml[105]

+pnpr-storage      = { path = "pnpr/crates/storage" }
Relevance

●●● Strong

Recent extraction PRs explicitly added Cargo.toml manifests for every new pnpr crate; this missing
manifest blocks required workspace checks.

PR-#14202
PR-#14207

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
Compliance rule 2254259 requires the full workspace to pass cargo check. The root workspace glob
includes every pnpr/crates/* directory, Cargo.toml[105-105] maps pnpr-storage to
pnpr/crates/storage, and pnpr immediately consumes that workspace dependency; however,
repository inspection shows that the target directory contains the extracted src/lib.rs and
modules but no package manifest, leaving Cargo with no package definition to load.

Rule 2254259: Rust code must compile cleanly with cargo check for all workspace targets
Cargo.toml[105-105]
pnpr/crates/pnpr/Cargo.toml[34-34]
Cargo.toml[1-3]
Cargo.toml[98-108]
pnpr/crates/pnpr/Cargo.toml[27-36]
pnpr/crates/storage/src/lib.rs[1-7]

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

## Issue description
The newly declared `pnpr-storage` workspace dependency points to a directory that contains source files but no `Cargo.toml`, making the workspace non-buildable and preventing the moved storage tests from running.

## Issue Context
Create the `pnpr-storage` package manifest and define the package metadata, lint configuration, required features, and direct dependencies used by the moved modules and represented in `Cargo.lock`. Match the conventions of other pnpr sibling crates, keep workspace-owned dependencies referenced with `{ workspace = true }`, and then run the pnpr workspace tests.

## Fix Focus Areas
- Cargo.toml[105-105]
- pnpr/crates/pnpr/Cargo.toml[34-34]

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


Grey Divider

Context sources
✅ Compliance rules (platform): 28 rules
Review mode: ⚖️ Balanced

Grey Divider

Tip of the day
💡 Did you know, you can ask Qodo to dismiss a finding you disagree with, with your reason on record

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit a5a4fa6

Results up to commit 9594a12 ⚖️ Balanced


🐞 Bugs (0) 📘 Rule violations (1) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)


Remediation recommended
1. pnpr-storage manifest missing 📘 Rule violation ≡ Correctness
Description
The workspace declares pnpr-storage at pnpr/crates/storage, but that directory has no
Cargo.toml, so Cargo cannot load the extracted crate or resolve the dependency. This prevents
cargo check --locked --workspace --all-targets, workspace builds, and the moved storage tests from
running.
Code

Cargo.toml[105]

+pnpr-storage      = { path = "pnpr/crates/storage" }
Relevance

●●● Strong

Recent extraction PRs explicitly added Cargo.toml manifests for every new pnpr crate; this missing
manifest blocks required workspace checks.

PR-#14202
PR-#14207

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
Compliance rule 2254259 requires the full workspace to pass cargo check. The root workspace glob
includes every pnpr/crates/* directory, Cargo.toml[105-105] maps pnpr-storage to
pnpr/crates/storage, and pnpr immediately consumes that workspace dependency; however,
repository inspection shows that the target directory contains the extracted src/lib.rs and
modules but no package manifest, leaving Cargo with no package definition to load.

Rule 2254259: Rust code must compile cleanly with cargo check for all workspace targets
Cargo.toml[105-105]
pnpr/crates/pnpr/Cargo.toml[34-34]
Cargo.toml[1-3]
Cargo.toml[98-108]
pnpr/crates/pnpr/Cargo.toml[27-36]
pnpr/crates/storage/src/lib.rs[1-7]

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

## Issue description
The newly declared `pnpr-storage` workspace dependency points to a directory that contains source files but no `Cargo.toml`, making the workspace non-buildable and preventing the moved storage tests from running.

## Issue Context
Create the `pnpr-storage` package manifest and define the package metadata, lint configuration, required features, and direct dependencies used by the moved modules and represented in `Cargo.lock`. Match the conventions of other pnpr sibling crates, keep workspace-owned dependencies referenced with `{ workspace = true }`, and then run the pnpr workspace tests.

## Fix Focus Areas
- Cargo.toml[105-105]
- pnpr/crates/pnpr/Cargo.toml[34-34]

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


Grey Divider

Qodo Logo

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

@greptile-apps

greptile-apps Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the previously missing manifest and test modules are present, and the prior visibility narration was removed.

Reviews (3): Last reviewed commit: "docs(pnpr): drop the history from the gi..." | Re-trigger Greptile

Comment thread Cargo.toml Resolved
Comment thread pnpr/crates/storage/src/lib.rs Resolved
`.gitignore` carries a bare `storage` rule for verdaccio's data directory.
It is unanchored, so it matches a directory of that name at any depth — and
`git add` skips ignored paths without a word, so five files of the previous
commit were never staged: the crate's `Cargo.toml` and the four
`<module>/tests.rs`.

Nothing local noticed. The files are on disk, so the build and the suite pass
here; only a fresh checkout sees a workspace member with no manifest, which is
how CI failed every Rust job at once.

The rule already had a negation for this source tree from when it lived under
`pnpr/crates/pnpr/src/` — moving the crate left that pointing at nothing.
Repoint it, and say in the comment why the exclusion exists so the next move
keeps it in step.
Copilot AI review requested due to automatic review settings August 26, 2026 23:47
@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Aug 26, 2026

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.

`pub(crate)` already says the item is internal, and the type name says what
it is. The comment restated both.
Copilot AI review requested due to automatic review settings August 26, 2026 23:48

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 Code Suggestions ✨

Warning

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

No code suggestions found for the PR.

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit b3a47df

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

greptile-apps[bot]
greptile-apps Bot previously approved these changes Aug 26, 2026
Where the module used to live is what git log is for. The rationale that
matters — the rule is unanchored, and git add skips ignored paths without
saying so — stands on its own.
Copilot AI review requested due to automatic review settings August 26, 2026 23:52
@greptile-apps
greptile-apps Bot dismissed their stale review August 26, 2026 23:52

Dismissed because a newer commit was pushed; Greptile will re-review the current head.

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.

@zkochan

zkochan commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Qodo's comment finding is right — fixed in a5a4fa6.

The .gitignore note said the exclusion "already had to be made when the
module lived under pnpr/crates/pnpr/src/". That is implementation history,
which the repo's comment guidance puts in git log, not inline. I had written
it as a warning, but the actionable half stands without it:

# ...but not pnpr's `storage` crate. The bare rule above is unanchored, so it
# matches a directory of that name at any depth and would otherwise swallow
# this source tree — silently, since `git add` skips ignored paths without
# saying so. Keep this negation in step if the crate ever moves.

The manifest finding was the same one CI and Greptile raised; fixed in
436246e and verified by exporting the commit with git archive into a clean
directory rather than trusting the working tree.

CI on the fixed commits is back to green — the six simultaneous Rust failures
were all that one missing Cargo.toml.


Written by an agent (Claude Code, claude-opus-5[1m]).

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit a5a4fa6

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

@github-actions

github-actions Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                                            main                                   pr
-----                                            ----                                   --
lockfile/parse_pnpm_lock                         1.00     13.2±0.57ms    28.4 MB/sec    1.16     15.3±2.04ms    24.4 MB/sec
packument/parse                                  1.00     39.7±0.75µs  1672.0 MB/sec    1.06     42.1±2.15µs  1574.5 MB/sec
tarball/download_dependency                      1.13      4.3±0.41ms  1011.7 KB/sec    1.00      3.8±0.10ms  1141.2 KB/sec
tarball_batch/cold_store_many_medium_tarballs    1.14   233.8±38.66ms 68.4 KElem/sec    1.00   204.6±12.26ms 78.2 KElem/sec
workspace_resolution/hoist_heavy                 1.00    288.3±8.97ms        ? ?/sec    1.18   340.4±18.06ms        ? ?/sec
workspace_sort/chained_projects                  1.00     16.1±0.10ms        ? ?/sec    1.29     20.8±5.55ms        ? ?/sec

@zkochan
zkochan merged commit 82e9ae5 into main Aug 27, 2026
32 checks passed
@zkochan
zkochan deleted the pnpr-storage-cr branch August 27, 2026 00:05
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.35%. Comparing base (54957d7) to head (a5a4fa6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14210   +/-   ##
=======================================
  Coverage   88.35%   88.35%           
=======================================
  Files         690      690           
  Lines      119200   119200           
=======================================
  Hits       105324   105324           
  Misses      13876    13876           

☔ 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.

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

Labels

product: pacquet product: pnpr reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants