Skip to content

[FEATURE] perf(install): verify catalog pins from one pooled ref listing per remote #5013

Done

Description

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

Additional context
Follows #4970 and #4960. Part of #4942.

Activity

  1. added
    performance
    type/feature
    on Nov 23, 2026
  2. danielmeppiel commented on Nov 23, 2026

    @danielmeppiel
    CollaboratorAuthor

    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)

  3. added
    status/accepted
    and removed on Nov 23, 2026
  4. moved this from Todo to In Progress in APM Roadmapon Nov 24, 2026
  5. moved this from In Progress to Done in APM Roadmapon Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancestatus/acceptedtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions