You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] perf(install): verify catalog pins from one pooled ref listing per remote #5013
performanceLegacy classification name; prefer type/performance. Retained for history.status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/featureNew capability, new flag, new primitive.
Proposals are welcome before implementation. For substantive changes, wait
for a responsible human maintainer to approve the scope and identify a review
contact. An automated recommendation, label alone, or silence is not approval.
See Contributing.
Is your feature request related to a problem? Please describe.
Verifying marketplace catalog pins against the origin's branches and tags (#4970) adds one request and three git spawns per pinned package on a fresh install, and two requests and six spawns per package on a lockfile replay. On a 50-dependency project that is about 10% more install CPU.
Describe the solution you'd like
Answer pin verification from the same pooled ref listing that apm outdated uses (#4960): one listing per remote, reused for every package pinned to it, with the same fallback to git. Done when the fresh-install and lockfile-replay benches with tip and tag pins are back within noise of the unpinned baseline, and the verification verdict is unchanged.
Describe alternatives you've considered
Caching listings across runs (out of scope: freshness and trust concerns).
Decision: approve
Area: project
Scope: answer marketplace catalog pin verification from the pooled ref listing introduced by #4960: one listing per remote per command, reused for every package pinned to that remote, with the same strict fallback to git and the same TLS, credential and proxy rules. The verification verdict is unchanged.
Done when: (1) on the CI perf bench, fresh install and lockfile replay with tip and tag pins are within noise of the unpinned baseline at tree-50 on Linux, macOS and Windows, in CPU seconds + requests + spawns; (2) parity cells show the pin verdicts (pass, refuse, fail closed) are identical to today's for tip, tag, non-tip, unreadable and cross-origin cases; (3) a fallback cell proves the git path runs when the pooled listing declines; (4) W3d security review of the shared listing path, then QL H8.
Out of scope: caching listings across runs; changing what a pin verifies; new network hosts.
Review contact: Daniel Meppiel (@danielmeppiel)
performanceLegacy classification name; prefer type/performance. Retained for history.status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/featureNew capability, new flag, new primitive.
Activity
danielmeppiel commentedon Nov 23, 2026
Decision: approve
Area: project
Scope: answer marketplace catalog pin verification from the pooled ref listing introduced by #4960: one listing per remote per command, reused for every package pinned to that remote, with the same strict fallback to git and the same TLS, credential and proxy rules. The verification verdict is unchanged.
Done when: (1) on the CI perf bench, fresh install and lockfile replay with tip and tag pins are within noise of the unpinned baseline at tree-50 on Linux, macOS and Windows, in CPU seconds + requests + spawns; (2) parity cells show the pin verdicts (pass, refuse, fail closed) are identical to today's for tip, tag, non-tip, unreadable and cross-origin cases; (3) a fallback cell proves the git path runs when the pooled listing declines; (4) W3d security review of the shared listing path, then QL H8.
Out of scope: caching listings across runs; changing what a pin verifies; new network hosts.
Review contact: Daniel Meppiel (@danielmeppiel)
test(install): pin verdicts match git through the shared listing
perf(install): one rewrite probe per run; listing reuse scoped to the…
perf(install): a fresh default-branch clone is a current-remote obser…
test(install): a default-branch HEAD aimed outside refs/heads fails c…
perf(install): skip the tag-only probe when the clone's own ref names…