Skip to content

fix(pnpr): emit the access record outside the request span - #17267

Merged
zkochan merged 2 commits into
mainfrom
fix-195
Oct 23, 2026
Merged

zkochan merged 2 commits into
mainfrom
fix-195

Conversation

@zkochan

@zkochan zkochan commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Closes pnpm/tasks#195.

With the default pretty format, every pnpr::access line printed each field twice and user three times. The access event was emitted inside the per-request span, which records the same fields, and the compact formatter appends the current span's fields after the event's. The JSON format hid the same duplication under a span object.

The access event now fires outside the request span. It already carries every documented field itself, so nothing is lost in either format, and the JSON access record becomes one flat object. The span keeps request_id, method, uri, client_ip, user_agent, and user for the events emitted inside a request: the audit records inherit the first four, and the authentication layer records user before the handler runs. The span's status, latency_ms, and bytes slots were only filled after the handler returned, when no event inside the request could see them, so they are removed.

The subscriber construction moves from main.rs into pnpr::logging::log_subscriber so the new test can run a request through the real pretty and JSON configurations and assert on the formatted line. The audit-log test now also captures values recorded on the span after it opens, and checks that the span's user matches the audit actor.

Squash Commit Body

With the default pretty format, every pnpr::access line printed each
field twice and user three times. emit_access_log entered the
per-request span before emitting, the span records the same fields,
and the compact formatter appends the current span's fields after the
event's. The JSON format hid the same duplication under a span object.

The access event now fires outside the request span. It carries every
documented field itself, so nothing is lost in either format. The span
keeps request_id, method, uri, client_ip, user_agent, and user for the
events emitted inside a request: the audit records inherit them, and
the authentication layer records user before the handler runs. The
span's status, latency_ms, and bytes slots were only filled after the
handler returned, when no event inside the request could see them, so
they are removed along with record_span_and_metrics.

The subscriber construction moves from main.rs into
pnpr::logging::log_subscriber so a test can run a request through the
real pretty and JSON configurations and assert on the formatted line.
The audit-log test captures values recorded on the span after it opens
and checks the span's user against the audit actor.

Closes pnpm/tasks#195

Checklist

  • I checked the referenced issue and verified that none of the PRs
    already linked to it solves it.
  • New features are implemented only in the Rust pnpm v12 CLI. Bug fixes
    are implemented in every affected version.
  • Added a changeset (pnpm changeset) if this PR changes any published
    package. Keep it short and written for pnpm users — it becomes a release note.
  • Added or updated tests.
  • Updated the documentation if needed.

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

Summary by CodeRabbit

  • Bug Fixes
    • Access log records now show each request field only once in both Pretty and JSON formats, instead of repeating fields.
    • JSON access records now present request details in a flat fields object without duplicate span information.

With the default pretty format, every pnpr::access line printed each
field twice and user three times. emit_access_log entered the
per-request span before emitting, the span records the same fields,
and the compact formatter appends the current span's fields after the
event's. The JSON format hid the same duplication under a span object.

The access event now fires outside the request span. It carries every
documented field itself, so nothing is lost in either format. The span
keeps request_id, method, uri, client_ip, and user_agent for the
events emitted inside a request, which the audit records inherit. Its
status, latency_ms, bytes, and user slots were only filled after the
handler returned, when no event inside the request could see them, so
they are removed along with record_span_and_metrics.

The subscriber construction moves from main.rs into
pnpr::logging::log_subscriber so a test can run a request through the
real pretty and JSON configurations and assert on the formatted line.

Closes pnpm/tasks#195
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: pnpm/pnpm
  • Branch: fix-195
  • File: .coderabbit.yaml
  • Commit: 016ac1e
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e61d84d1-a5a9-461b-8b64-7b16a933d4e2
📥 Commits

Reviewing files that changed from the base of the PR and between 359ff10 and 016ac1e.

📒 Files selected for processing: 8
  • .changeset/pnpr-access-log-fields-once.md
  • pnpr/crates/pnpr/src/lib.rs
  • pnpr/crates/pnpr/src/logging.rs
  • pnpr/crates/pnpr/src/main.rs
  • pnpr/crates/pnpr/src/server/routing/observability.rs
  • pnpr/crates/pnpr/tests/access_log.rs
  • pnpr/crates/pnpr/tests/admin_audit_log.rs
  • pnpr/crates/pnpr/tests/suite.rs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

📝 Walkthrough

The change adds a shared logging subscriber builder and emits pnpr::access records outside the request span. Integration tests check that access fields appear once in Pretty and JSON output.

Changes: Access-log field formatting

Layer / File(s) Summary
Logging subscriber setup
pnpr/crates/pnpr/src/lib.rs, pnpr/crates/pnpr/src/logging.rs, pnpr/crates/pnpr/src/main.rs
A public log_subscriber builder selects JSON or compact Pretty formatting. main.rs uses it to initialize logging.
Self-contained access event and validation
pnpr/crates/pnpr/src/server/routing/observability.rs, pnpr/crates/pnpr/tests/access_log.rs, pnpr/crates/pnpr/tests/admin_audit_log.rs, pnpr/crates/pnpr/tests/suite.rs, .changeset/pnpr-access-log-fields-once.md
The middleware records metrics directly and emits the access event outside the request span. Tests check access fields in both formats and update audit span capture assertions. A patch changeset describes the log change.

Priority: ⬇️ Low

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

Change: Bug fix · Severity of issue fixed: Low

Assessment against linked issues

Objective Addressed Explanation
[ #195 ] Print each access-log field once in Pretty format. ✅
[ #195 ] Avoid repeated span fields in JSON access records. ✅

Suggested labels: product: pnpr

Suggested reviewers: ksxgithub

Merge Risk: ⚪ Minimal · up to 016ac

The access-log change is ready to merge after normal checks.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Same-run regression check

HEAD and main are measured on the same runner. The tolerance is 5% of the main median or 2 ms, whichever is larger. A regression requires both the median slowdown and the gap between the fastest retained HEAD sample and slowest retained main sample to exceed this tolerance, after trimming up to 10% from each tail. Suspected regressions are rerun once with target order reversed and only fail if reproduced. This conservative noise guard is not a statistical confidence interval.

Inconclusive rows do not fail the check. They remain visible for performance review. Bencher retains absolute minimum timings for historical tracking; historical alerts do not gate this PR. Sequential measurements can still be affected by runner drift.

Scenario Engine main median HEAD median Change Tolerance Result
isolated-fresh-restore-cold-cache-cold-store pacquet 3445.40 ms 3766.80 ms 9.3% 172.27 ms Inconclusive (overlapping samples)
isolated-fresh-restore-cold-cache-cold-store pnpr 1670.81 ms 1685.90 ms 0.9% 83.54 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pacquet 240.25 ms 235.82 ms -1.8% 12.01 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pnpr 253.38 ms 253.14 ms -0.1% 12.67 ms Within tolerance
isolated-repeat-install-hot-cache-hot-store pacquet 9.02 ms 9.22 ms 2.2% 2.00 ms Within tolerance
isolated-repeat-install-hot-cache-hot-store pnpr 8.24 ms 9.20 ms 11.7% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pacquet 10.73 ms 11.57 ms 7.8% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pnpr 10.43 ms 10.35 ms -0.8% 2.00 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet 2654.47 ms 2523.51 ms -4.9% 132.72 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pnpr 1794.04 ms 1688.88 ms -5.9% 89.70 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pacquet 437.10 ms 441.84 ms 1.1% 21.85 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pnpr 313.80 ms 297.44 ms -5.2% 15.69 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pacquet 1643.93 ms 1705.90 ms 3.8% 82.20 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pnpr 311.07 ms 290.15 ms -6.7% 15.55 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pacquet 391.56 ms 410.69 ms 4.9% 19.58 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pnpr 117.90 ms 135.47 ms 14.9% 5.89 ms Inconclusive (overlapping samples)
isolated-peer-heavy-resolve-hot-cache-offline pacquet 294.12 ms 286.35 ms -2.6% 14.71 ms Within tolerance
isolated-linked-workspace-resolve-hot-cache-offline pacquet 169.33 ms 180.84 ms 6.8% 8.47 ms Inconclusive (overlapping samples)
isolated-injected-workspace-repeat-install-hot-cache-hot-store pacquet 144.52 ms 142.38 ms -1.5% 7.23 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet 5344.46 ms 5125.96 ms -4.1% 267.22 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pnpr 3689.86 ms 3746.25 ms 1.5% 184.49 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pacquet 147.36 ms 143.64 ms -2.5% 7.37 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pnpr 161.19 ms 158.35 ms -1.8% 8.06 ms Within tolerance
store-only-unlocked-direct-deps-cold-cache-hot-store pacquet 1259.71 ms 1308.13 ms 3.8% 62.99 ms Within tolerance
cargo-repeat-install-hot-cache-hot-store pacquet 35.43 ms 36.04 ms 1.7% 2.00 ms Within tolerance

Integrated-Benchmark Report (Linux)

Commit: 016ac1ee9701

Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm; the linked, injected, and Cargo workspace scenarios compare current Rust against main Rust. Bencher consumes pacquet@HEAD and pnpr@HEAD.

The tables below show mean ± σ. Bencher tracks absolute minimum latency; PR regression checks compare HEAD and main samples from the same runner. Historical timing alerts do not gate PRs.

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 3.901 ± 0.466 3.448 4.749 2.32 ± 0.31
pacquet@main 3.480 ± 0.134 3.341 3.701 2.07 ± 0.14
pnpr@HEAD 1.685 ± 0.094 1.578 1.869 1.00
pnpr@main 1.703 ± 0.141 1.530 1.950 1.01 ± 0.10
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 3.9013740840000004,
      "stddev": 0.46625522951314785,
      "median": 3.7667972174,
      "user": 4.18742688,
      "system": 2.9778615000000004,
      "min": 3.4481411229,
      "max": 4.7492535659
    },
    {
      "command": "pacquet@main",
      "mean": 3.4798143304,
      "stddev": 0.13378725577529754,
      "median": 3.4454023449,
      "user": 4.08189908,
      "system": 2.8306438,
      "min": 3.3406726399,
      "max": 3.7005556909
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.6847086541,
      "stddev": 0.09442847291741782,
      "median": 1.6859017499000002,
      "user": 3.07168388,
      "system": 2.2194476999999995,
      "min": 1.5775891509000002,
      "max": 1.8689727459000003
    },
    {
      "command": "pnpr@main",
      "mean": 1.7025001161000002,
      "stddev": 0.14081611898825183,
      "median": 1.6708141339000002,
      "user": 3.0511191799999997,
      "system": 2.2070087,
      "min": 1.5296524249,
      "max": 1.9497737799000001
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 234.3 ± 5.5 224.8 241.8 1.00
pacquet@main 249.3 ± 22.1 221.5 283.7 1.06 ± 0.10
pnpr@HEAD 256.1 ± 17.8 239.8 300.3 1.09 ± 0.08
pnpr@main 252.8 ± 10.0 232.7 269.3 1.08 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.23427755198,
      "stddev": 0.005547022263075226,
      "median": 0.23581599988000002,
      "user": 0.27489613999999996,
      "system": 0.5443411599999999,
      "min": 0.22483138138000003,
      "max": 0.24177290638
    },
    {
      "command": "pacquet@main",
      "mean": 0.24928836068,
      "stddev": 0.02207493656182829,
      "median": 0.24025392338,
      "user": 0.2873828399999999,
      "system": 0.60423786,
      "min": 0.22153178038000002,
      "max": 0.28373797238000004
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.25605253308,
      "stddev": 0.01778567126665592,
      "median": 0.25314332738,
      "user": 0.27699873999999997,
      "system": 0.57658466,
      "min": 0.23979247538,
      "max": 0.30027536738000005
    },
    {
      "command": "pnpr@main",
      "mean": 0.25280071388,
      "stddev": 0.010025601456030965,
      "median": 0.25337610438,
      "user": 0.2822689399999999,
      "system": 0.5512989599999999,
      "min": 0.23270893238,
      "max": 0.26925235638
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 9.3 ± 0.6 8.1 12.3 1.07 ± 0.17
pacquet@main 9.1 ± 0.6 7.8 11.4 1.04 ± 0.17
pnpr@HEAD 9.3 ± 0.6 7.9 12.6 1.07 ± 0.17
pnpr@main 8.7 ± 1.3 7.4 17.4 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.009271896980287764,
      "stddev": 0.000567004845690248,
      "median": 0.009224516840000002,
      "user": 0.005353349208633093,
      "system": 0.004732637841726618,
      "min": 0.008141405840000001,
      "max": 0.012253297840000002
    },
    {
      "command": "pacquet@main",
      "mean": 0.009053270471229238,
      "stddev": 0.0005790871094283833,
      "median": 0.00902341484,
      "user": 0.005651547707641194,
      "system": 0.004239524518272421,
      "min": 0.00784140084,
      "max": 0.01139931184
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.009267773440671145,
      "stddev": 0.0005852193685445097,
      "median": 0.00919837834,
      "user": 0.005645055100671137,
      "system": 0.004456292348993286,
      "min": 0.00792185284,
      "max": 0.012601221840000001
    },
    {
      "command": "pnpr@main",
      "mean": 0.008692310354851485,
      "stddev": 0.0012800184556442955,
      "median": 0.008236434840000001,
      "user": 0.005188203234323435,
      "system": 0.004294739273927391,
      "min": 0.00739367984,
      "max": 0.01742293784
    }
  ]
}

Scenario: Isolated linker: repeat install, cold cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 11.7 ± 1.0 9.6 14.1 1.13 ± 0.11
pacquet@main 10.9 ± 1.0 8.5 14.4 1.06 ± 0.11
pnpr@HEAD 10.4 ± 0.5 9.2 13.0 1.00
pnpr@main 10.4 ± 0.5 8.8 11.7 1.00 ± 0.07
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.01172609494047393,
      "stddev": 0.001041330595247892,
      "median": 0.011569734040000001,
      "user": 0.0068650606635071105,
      "system": 0.005843979905213268,
      "min": 0.00956470304,
      "max": 0.01413775704
    },
    {
      "command": "pacquet@main",
      "mean": 0.010941944009565214,
      "stddev": 0.0010182032658395763,
      "median": 0.010733412040000001,
      "user": 0.006157426086956518,
      "system": 0.00571244104347826,
      "min": 0.00848918004,
      "max": 0.014411011040000001
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.010368834346034477,
      "stddev": 0.0004933643896622476,
      "median": 0.010351067040000002,
      "user": 0.006048166379310345,
      "system": 0.005142921896551723,
      "min": 0.009195148040000002,
      "max": 0.012990428040000002
    },
    {
      "command": "pnpr@main",
      "mean": 0.010380065398333334,
      "stddev": 0.0004973774393548559,
      "median": 0.01043082704,
      "user": 0.006154574999999992,
      "system": 0.005065507,
      "min": 0.008757094040000002,
      "max": 0.01170734504
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.525 ± 0.022 2.494 2.565 1.47 ± 0.11
pacquet@main 2.648 ± 0.126 2.499 2.898 1.54 ± 0.13
pnpr@HEAD 1.716 ± 0.122 1.601 2.041 1.00
pnpr@main 1.834 ± 0.125 1.676 2.016 1.07 ± 0.11
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.5254072672,
      "stddev": 0.02214051255989598,
      "median": 2.5235053461,
      "user": 2.6329763,
      "system": 1.7288759799999998,
      "min": 2.4937747646,
      "max": 2.5645911706
    },
    {
      "command": "pacquet@main",
      "mean": 2.6483508209,
      "stddev": 0.1261007111941834,
      "median": 2.6544709756,
      "user": 3.0478813999999996,
      "system": 1.98054278,
      "min": 2.4994266836,
      "max": 2.8983251886000003
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.7156340882000003,
      "stddev": 0.12222631850220099,
      "median": 1.6888813281000001,
      "user": 2.7819313,
      "system": 1.97238788,
      "min": 1.6005903876,
      "max": 2.0412122716
    },
    {
      "command": "pnpr@main",
      "mean": 1.8335666253,
      "stddev": 0.12504662196467653,
      "median": 1.7940372191,
      "user": 3.1736034,
      "system": 2.317801780000001,
      "min": 1.6761612006000002,
      "max": 2.0161553676
    }
  ]
}

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

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 440.6 ± 14.7 417.7 461.7 1.49 ± 0.08
pacquet@main 442.5 ± 15.0 426.0 467.3 1.50 ± 0.08
pnpr@HEAD 295.1 ± 13.3 273.7 315.7 1.00
pnpr@main 315.3 ± 17.7 289.9 351.8 1.07 ± 0.08
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.44055855420000006,
      "stddev": 0.014747356270952718,
      "median": 0.441837713,
      "user": 0.59901762,
      "system": 0.70697152,
      "min": 0.4177289215,
      "max": 0.46173105350000004
    },
    {
      "command": "pacquet@main",
      "mean": 0.44249966939999996,
      "stddev": 0.014951752242078533,
      "median": 0.43709982300000005,
      "user": 0.59660992,
      "system": 0.70455372,
      "min": 0.42603159150000003,
      "max": 0.4673354055
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.29508089140000004,
      "stddev": 0.013315624519107807,
      "median": 0.29744382999999996,
      "user": 0.25868401999999996,
      "system": 0.5463543200000001,
      "min": 0.27372938950000003,
      "max": 0.3157288045
    },
    {
      "command": "pnpr@main",
      "mean": 0.3153420151,
      "stddev": 0.017714899088361144,
      "median": 0.313799861,
      "user": 0.28581932,
      "system": 0.60732322,
      "min": 0.2899259105,
      "max": 0.3518256645
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.755 ± 0.146 1.621 2.087 5.99 ± 0.58
pacquet@main 1.651 ± 0.048 1.589 1.756 5.63 ± 0.32
pnpr@HEAD 0.293 ± 0.015 0.274 0.316 1.00
pnpr@main 0.308 ± 0.021 0.280 0.333 1.05 ± 0.09
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.7547507333600003,
      "stddev": 0.14568857697292692,
      "median": 1.70589957156,
      "user": 1.1136790799999998,
      "system": 1.0489331199999998,
      "min": 1.62056964706,
      "max": 2.08735536606
    },
    {
      "command": "pacquet@main",
      "mean": 1.65078854126,
      "stddev": 0.04755486815704739,
      "median": 1.64392630656,
      "user": 0.9883554799999998,
      "system": 0.89825822,
      "min": 1.5888446170600001,
      "max": 1.7561083110600002
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.29315452896000005,
      "stddev": 0.014515725951258312,
      "median": 0.29015324906000006,
      "user": 0.24623918000000003,
      "system": 0.5452677199999999,
      "min": 0.27385538506,
      "max": 0.31617873506000005
    },
    {
      "command": "pnpr@main",
      "mean": 0.30826548976,
      "stddev": 0.02083038352668398,
      "median": 0.3110663020600001,
      "user": 0.26113818,
      "system": 0.5825952199999999,
      "min": 0.27965165406000003,
      "max": 0.33288005806000004
    }
  ]
}

Scenario: Isolated linker: fresh resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 402.5 ± 40.9 314.9 459.4 3.35 ± 0.44
pacquet@main 397.5 ± 41.8 325.8 455.7 3.31 ± 0.44
pnpr@HEAD 140.2 ± 12.7 120.4 168.4 1.17 ± 0.14
pnpr@main 120.0 ± 9.8 105.3 137.5 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.40247664636000013,
      "stddev": 0.040902419957122634,
      "median": 0.41068738636,
      "user": 0.41897709999999994,
      "system": 0.15797754000000003,
      "min": 0.31494045536000004,
      "max": 0.45939577436000006
    },
    {
      "command": "pacquet@main",
      "mean": 0.39754284545999996,
      "stddev": 0.04176186666062408,
      "median": 0.39156479036,
      "user": 0.41737160000000006,
      "system": 0.16445414000000003,
      "min": 0.32581400936000005,
      "max": 0.45572881836
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.1401595329314286,
      "stddev": 0.012683277520364487,
      "median": 0.13546548836000002,
      "user": 0.0667462476190476,
      "system": 0.030949678095238096,
      "min": 0.12035603836,
      "max": 0.16836743436
    },
    {
      "command": "pnpr@main",
      "mean": 0.12003689249636364,
      "stddev": 0.009822364708606991,
      "median": 0.11789720086,
      "user": 0.050801563636363636,
      "system": 0.025803985454545455,
      "min": 0.10531036036,
      "max": 0.13754782336000002
    }
  ]
}

Scenario: Isolated linker: peer-heavy resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 282.1 ± 11.1 266.4 294.9 1.00
pacquet@main 291.2 ± 10.8 272.8 307.1 1.03 ± 0.06
pnpm@HEAD 4525.3 ± 179.6 4186.2 4767.1 16.04 ± 0.90
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.2820873590777778,
      "stddev": 0.011130072724895556,
      "median": 0.28634617230000003,
      "user": 0.30313823111111116,
      "system": 0.06704377111111111,
      "min": 0.26640004530000005,
      "max": 0.29494324330000005
    },
    {
      "command": "pacquet@main",
      "mean": 0.29123047885555553,
      "stddev": 0.010819401520058874,
      "median": 0.2941187223,
      "user": 0.3207520088888889,
      "system": 0.06085410444444444,
      "min": 0.2727671273,
      "max": 0.3071102083
    },
    {
      "command": "pnpm@HEAD",
      "mean": 4.525335872077777,
      "stddev": 0.17964532497717745,
      "median": 4.5482583313,
      "user": 7.278118786666667,
      "system": 0.4372967711111111,
      "min": 4.1861699353,
      "max": 4.7671106092999995
    }
  ]
}

Scenario: Isolated linker: linked-workspace resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 178.9 ± 25.2 142.5 232.0 1.03 ± 0.22
pacquet@main 173.3 ± 26.9 128.5 228.3 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.17891210118705883,
      "stddev": 0.025239951380326604,
      "median": 0.18083807254000003,
      "user": 0.15733776941176475,
      "system": 0.08729147647058823,
      "min": 0.14245348254,
      "max": 0.23197488854000003
    },
    {
      "command": "pacquet@main",
      "mean": 0.17332626837333337,
      "stddev": 0.026894906437969743,
      "median": 0.16933440254,
      "user": 0.1560378511111111,
      "system": 0.08478102222222221,
      "min": 0.12850350354,
      "max": 0.22825122754000002
    }
  ]
}

Scenario: Isolated linker: injected workspace repeat install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 141.2 ± 12.8 121.7 162.0 1.00
pacquet@main 147.2 ± 11.7 127.6 169.7 1.04 ± 0.13
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.14116469074521737,
      "stddev": 0.012801351569827705,
      "median": 0.14238203618,
      "user": 0.05552255304347827,
      "system": 0.09717941217391306,
      "min": 0.12167237918,
      "max": 0.16199190218
    },
    {
      "command": "pacquet@main",
      "mean": 0.14719099865368424,
      "stddev": 0.01165269347447171,
      "median": 0.14451906418000002,
      "user": 0.060439061052631575,
      "system": 0.09839660210526316,
      "min": 0.12763212618000003,
      "max": 0.16971051818000002
    }
  ]
}

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

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 5.093 ± 0.281 4.657 5.571 1.36 ± 0.10
pacquet@main 5.243 ± 0.277 4.850 5.604 1.40 ± 0.10
pnpr@HEAD 3.736 ± 0.162 3.522 4.086 1.00
pnpr@main 3.770 ± 0.214 3.536 4.052 1.01 ± 0.07
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 5.093234009439999,
      "stddev": 0.2808866547936794,
      "median": 5.12596406754,
      "user": 3.0778381799999996,
      "system": 2.3152872,
      "min": 4.657253327539999,
      "max": 5.57114046554
    },
    {
      "command": "pacquet@main",
      "mean": 5.242533738039999,
      "stddev": 0.27658246536776226,
      "median": 5.34445887604,
      "user": 3.2149127799999997,
      "system": 2.4294605999999996,
      "min": 4.85005257754,
      "max": 5.60398769554
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.7359981094399997,
      "stddev": 0.16242480171842338,
      "median": 3.7462481755400003,
      "user": 2.4793740799999995,
      "system": 1.9224285,
      "min": 3.52211270454,
      "max": 4.0858036665399995
    },
    {
      "command": "pnpr@main",
      "mean": 3.76957033594,
      "stddev": 0.2139988614067115,
      "median": 3.6898550095400005,
      "user": 2.52397938,
      "system": 2.0419573,
      "min": 3.53630933154,
      "max": 4.0515111055399995
    }
  ]
}

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

Same install as the isolated fresh-restore hot/hot scenario, into the shared virtual store, the layout pnpm 12 installs into by default. Scenarios run on separate machines, so compare main and branch within each table.

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 145.4 ± 7.6 135.7 162.4 1.00
pacquet@main 148.6 ± 4.6 138.7 156.3 1.02 ± 0.06
pnpr@HEAD 158.5 ± 6.4 147.9 170.9 1.09 ± 0.07
pnpr@main 162.8 ± 8.4 150.1 179.6 1.12 ± 0.08
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.14541082674117647,
      "stddev": 0.00762681962067833,
      "median": 0.14364022980000002,
      "user": 0.18085903411764703,
      "system": 0.13328660941176468,
      "min": 0.13566415180000002,
      "max": 0.16240213080000002
    },
    {
      "command": "pacquet@main",
      "mean": 0.14858630968235295,
      "stddev": 0.004610570752614176,
      "median": 0.14735691580000002,
      "user": 0.18503244588235296,
      "system": 0.13840649176470587,
      "min": 0.13865293080000002,
      "max": 0.1562633408
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.158510995175,
      "stddev": 0.006352159154441044,
      "median": 0.15835236530000002,
      "user": 0.19389224,
      "system": 0.13285082999999998,
      "min": 0.1479345698,
      "max": 0.1709430408
    },
    {
      "command": "pnpr@main",
      "mean": 0.16283829633333333,
      "stddev": 0.008406616494046636,
      "median": 0.16119419780000002,
      "user": 0.18645620666666662,
      "system": 0.1426704133333333,
      "min": 0.1500533178,
      "max": 0.1796192318
    }
  ]
}

Scenario: Store only: unlocked direct deps, cold cache + hot store

Store-only install (enableModulesDir: false, per-file store index, trusted lockfile) against a lockfile missing the direct dependencies that have peers, with the metadata cache wiped per iteration: the install resolves those from the registry, reuses their subtrees from the lockfile and checks the store, linking nothing. Direct installs only.

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.320 ± 0.053 1.269 1.428 1.04 ± 0.08
pacquet@main 1.272 ± 0.079 1.207 1.468 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.31972108432,
      "stddev": 0.05349603703439984,
      "median": 1.30813068142,
      "user": 0.8233516599999999,
      "system": 0.32701921999999994,
      "min": 1.26863096692,
      "max": 1.42797634692
    },
    {
      "command": "pacquet@main",
      "mean": 1.2719439270200001,
      "stddev": 0.07947594788625818,
      "median": 1.25970827742,
      "user": 0.70761866,
      "system": 0.29506972,
      "min": 1.20735734592,
      "max": 1.46770004492
    }
  ]
}

Scenario: Cargo: repeat install, hot cache + hot store

Frozen repeat install of a Cargo workspace (cargo.enabled: true) whose crates are already materialized in <storeDir>/v11/crates/ and linked into .pnpm/crates/crates-io. Direct installs only.

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 36.8 ± 3.3 32.0 47.9 1.02 ± 0.12
pacquet@main 36.2 ± 2.9 31.8 45.8 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.03681847823792206,
      "stddev": 0.00326127712271747,
      "median": 0.03604033916,
      "user": 0.02795148727272728,
      "system": 0.01750192805194805,
      "min": 0.03197841716,
      "max": 0.04792209216
    },
    {
      "command": "pacquet@main",
      "mean": 0.03623279635512195,
      "stddev": 0.0028672791279359634,
      "median": 0.03542789666,
      "user": 0.02661634536585366,
      "system": 0.018334785121951216,
      "min": 0.03180897816,
      "max": 0.04579087316
    }
  ]
}

@codecov-commenter

codecov-commenter commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.55%. Comparing base (30f6d58) to head (016ac1e).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
pnpr/crates/pnpr/src/main.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main   #17267    +/-   ##
========================================
  Coverage   92.54%   92.55%            
========================================
  Files        1864     1867     +3     
  Lines      241552   241707   +155     
========================================
+ Hits       223550   223700   +150     
- Misses      18002    18007     +5     

☔ 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 October 23, 2026 00:46
Copilot AI balanced review requested due to automatic review settings October 23, 2026 00:46

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

Your trial has ended. Reactivate Greptile to resume code reviews.

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

Fix duplicated fields in pnpr access logs

🐞 Bug fix 🧪 Tests 🕐 20-40 Minutes

Grey Divider

AI Description

• Emit access records outside request spans so pretty and JSON logs do not repeat fields.
• Keep request context on spans for in-request events while removing unused response-only span
 fields.
• Test both real log formats and publish a patch changeset for pnpr.
Diagram

sequenceDiagram
    actor Client
    participant Middleware as Request middleware
    participant Span as Request span
    participant Handler as Route handler
    participant Metrics as Request metrics
    participant Logs as Log subscriber
    Client->>Middleware: Send request
    Middleware->>Span: Create request context
    Middleware->>Handler: Run within span
    Handler-->>Logs: In-request events inherit span
    Handler-->>Middleware: Return response
    Middleware->>Metrics: Record outcome
    Middleware->>Logs: Emit access event outside span
Loading
High-Level Assessment

Emitting the already self-contained access event outside the span fixes duplication in both formats without changing audit-event context. Removing fields from the event or filtering them in each formatter would complicate the log contract instead.

Files changed (7) +170 / -53

Bug fix (1) +6 / -34
observability.rsEmit access events outside request spans +6/-34

Emit access events outside request spans

• Stops entering the request span for the completed access event, preventing formatters from repeating its fields. Retains request context for handler events, removes response-only span fields, and records metrics directly.

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

Refactor (3) +40 / -19
lib.rsExpose the logging module +1/-0

Expose the logging module

• Makes the subscriber builder available to the binary and integration tests.

pnpr/crates/pnpr/src/lib.rs

logging.rsCentralize subscriber construction +35/-0

Centralize subscriber construction

• Adds a configurable subscriber builder for the existing compact and JSON formats, allowing tests to capture their actual output.

pnpr/crates/pnpr/src/logging.rs

main.rsInitialize logging through the shared builder +4/-19

Initialize logging through the shared builder

• Replaces inline subscriber construction while retaining the existing filter, stdout writer, and terminal-aware ANSI behavior.

pnpr/crates/pnpr/src/main.rs

Tests (2) +119 / -0
access_log.rsVerify access records in both log formats +118/-0

Verify access records in both log formats

• Runs a request with captured output from the real subscriber. Checks that pretty logs contain each access field once and JSON access logs contain no redundant span object.

pnpr/crates/pnpr/tests/access_log.rs

suite.rsRegister access-log integration tests +1/-0

Register access-log integration tests

• Includes the new access-log tests in the pnpr test suite.

pnpr/crates/pnpr/tests/suite.rs

Documentation (1) +5 / -0
pnpr-access-log-fields-once.mdDocument the pnpr access-log fix +5/-0

Document the pnpr access-log fix

• Adds a patch changeset describing the removal of duplicated fields in pretty and JSON access logs.

.changeset/pnpr-access-log-fields-once.md

@qodo-code-review

qodo-code-review Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Release notes combine two log symptoms ✓ Resolved
Description
The changeset's second sentence combines the pretty formatter's duplicate fields with the JSON
formatter's nested duplicates in one sentence. Readers receive two separate observable format
symptoms as one compound entry, making the release note less direct about the behavior being fixed.
Code

.changeset/pnpr-access-log-fields-once.md[5]

+The access log record under `pnpr::access` now prints each field once. The pretty format printed every field twice and `user` three times, and the JSON format repeated them under `span` [pnpm/tasks#195](https://github.com/pnpm/tasks/issues/195).
Relevance

●●● Strong

Recent changeset precedents accepted splitting compound user-visible behaviors into direct
sentences.

PR-#17181
PR-#17164

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The changeset sentence lists two distinct observable formatting problems joined in one sentence,
while the checklist requires each changeset sentence to describe only one logical change.

Rule 3058304: Avoid compound sentences in individual changeset entries
.changeset/pnpr-access-log-fields-once.md[5-5]

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 changeset combines the pretty-format and JSON-format symptoms in one compound sentence, contrary to the changeset convention requiring each sentence to describe one logical change.

## Fix Focus Areas
- .changeset/pnpr-access-log-fields-once.md[5-5]

## Recommended Fix
Rewrite the second sentence as separate sentences, with one sentence describing the pretty format's duplicate fields and another describing the JSON format's repeated `span` fields.

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


2. Authenticated request logs lose usernames ✓ Resolved
Description
create_access_span no longer declares user, so record_user_on_span has no field to update when
authentication resolves a caller. Handler warnings and JSON audit events emitted during
authenticated requests consequently lose the username from their request-span context, although the
audit events still carry their separate actor field.
Code

pnpr/crates/pnpr/src/server/routing/observability.rs[207]

-        user = tracing::field::Empty,
Relevance

●●● Strong

Authentication and observability regressions receive acceptance when request-context data can be
lost.

PR-#16954
PR-#16960

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The request span is active while the authentication layer and handler run. Authentication attempts
to record user before calling the handler, but the changed span declares no such field; an
in-handler tarball warning is one event that consequently lacks this span attribution.

pnpr/crates/pnpr/src/server/routing/observability.rs[53-60]
pnpr/crates/pnpr/src/server/routing/observability.rs[193-202]
pnpr/crates/pnpr/src/server/authentication.rs[129-147]
pnpr/crates/pnpr/src/server/package_reads.rs[453-477]

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

## Issue description
Authentication records the resolved username on the active request span before the handler runs, but the PR removes that span's `user` field. In-request events therefore lose that context.

## Fix Focus Areas
- pnpr/crates/pnpr/src/server/routing/observability.rs[194-202]
- pnpr/crates/pnpr/src/server/authentication.rs[137-143]

## Recommended Fix
Restore `user = tracing::field::Empty` on the request span. Keep the access event outside the span and leave the post-handler status, latency, and byte slots removed.

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


Grey Divider

Context sources
⚠️ Tickets: not configured — No jira, linear integration is connected for the linked tickets
✅ Compliance rules (platform): 62 rules
✅ Cross-repo context — repo relationships
Review mode: Auto: 🚀 Fast: Localized observability field addition and focused test assertions; limited behavioral risk.
✅ Fix-loop round: fix loop

Grey Divider

Tip of the day
💡 Did you know, you can reply 'qodo' on any finding to push back, ask questions, or dig deeper

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit 016ac1e

Results up to commit 64ce89b ⚖️ Balanced


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


Remediation recommended
1. Release notes combine two log symptoms ✓ Resolved
Description
The changeset's second sentence combines the pretty formatter's duplicate fields with the JSON
formatter's nested duplicates in one sentence. Readers receive two separate observable format
symptoms as one compound entry, making the release note less direct about the behavior being fixed.
Code

.changeset/pnpr-access-log-fields-once.md[5]

+The access log record under `pnpr::access` now prints each field once. The pretty format printed every field twice and `user` three times, and the JSON format repeated them under `span` [pnpm/tasks#195](https://github.com/pnpm/tasks/issues/195).
Relevance

●●● Strong

Recent changeset precedents accepted splitting compound user-visible behaviors into direct
sentences.

PR-#17181
PR-#17164

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The changeset sentence lists two distinct observable formatting problems joined in one sentence,
while the checklist requires each changeset sentence to describe only one logical change.

Rule 3058304: Avoid compound sentences in individual changeset entries
.changeset/pnpr-access-log-fields-once.md[5-5]

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 changeset combines the pretty-format and JSON-format symptoms in one compound sentence, contrary to the changeset convention requiring each sentence to describe one logical change.

## Fix Focus Areas
- .changeset/pnpr-access-log-fields-once.md[5-5]

## Recommended Fix
Rewrite the second sentence as separate sentences, with one sentence describing the pretty format's duplicate fields and another describing the JSON format's repeated `span` fields.

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


2. Authenticated request logs lose usernames ✓ Resolved
Description
create_access_span no longer declares user, so record_user_on_span has no field to update when
authentication resolves a caller. Handler warnings and JSON audit events emitted during
authenticated requests consequently lose the username from their request-span context, although the
audit events still carry their separate actor field.
Code

pnpr/crates/pnpr/src/server/routing/observability.rs[207]

-        user = tracing::field::Empty,
Relevance

●●● Strong

Authentication and observability regressions receive acceptance when request-context data can be
lost.

PR-#16954
PR-#16960

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The request span is active while the authentication layer and handler run. Authentication attempts
to record user before calling the handler, but the changed span declares no such field; an
in-handler tarball warning is one event that consequently lacks this span attribution.

pnpr/crates/pnpr/src/server/routing/observability.rs[53-60]
pnpr/crates/pnpr/src/server/routing/observability.rs[193-202]
pnpr/crates/pnpr/src/server/authentication.rs[129-147]
pnpr/crates/pnpr/src/server/package_reads.rs[453-477]

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

## Issue description
Authentication records the resolved username on the active request span before the handler runs, but the PR removes that span's `user` field. In-request events therefore lose that context.

## Fix Focus Areas
- pnpr/crates/pnpr/src/server/routing/observability.rs[194-202]
- pnpr/crates/pnpr/src/server/authentication.rs[137-143]

## Recommended Fix
Restore `user = tracing::field::Empty` on the request span. Keep the access event outside the span and leave the post-handler status, latency, and byte slots removed.

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

The authentication layer records the caller on the request span before
the handler runs, so audit records and handler warnings inside an
authenticated request carry it. Only the status, latency_ms, and bytes
slots were dead.

The audit-log test now captures values recorded on the span after it
opens and checks the span's user against the audit actor, so the slot
cannot disappear again unnoticed. The changeset states the two format
symptoms in separate sentences.
Copilot AI balanced review requested due to automatic review settings October 23, 2026 01:10

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.

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@zkochan

zkochan commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

Addressed the Qodo round in 016ac1e.

  • Authenticated request logs lose usernames: confirmed. The authentication layer records the caller on the request span before the handler runs, so audit records and handler warnings inside an authenticated request carried it. The user slot is back on the span. Only status, latency_ms, and bytes were dead. The audit-log test now captures values recorded on the span after it opens and checks the span's user against the audit actor, and it fails without the slot.
  • Release notes combine two log symptoms: the pretty and JSON symptoms are now separate sentences.

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

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 016ac1e

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

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

Labels

product: pnpr reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpr: the pretty log format prints every access-log field twice

3 participants