Skip to content

marketplace pins: consult the legacy pins of every alias that names a catalog #5177

Done

Description

Found in the review of #5090.

Problem

Marketplace ref pins are recorded per alias. When two aliases name the same catalog (team -> A, other -> A), a legacy pin recorded under one alias is not consulted when the other alias resolves that catalog. Main already behaved this way, so this is not a regression; it only affects pins recorded before the upgrade to catalog-scoped pins.

Done when

  • Resolving a catalog through any alias consults the legacy pins of every alias that names that catalog, and a conflict between them refuses with a remedy instead of choosing one.
  • A cell: two aliases name one catalog, a legacy pin is recorded under the first, and resolving through the second honours it.

Out of scope

Changing the version-pins.json format.

Activity

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

    @danielmeppiel
    CollaboratorAuthor

    Decision: approve
    Area: project
    Scope: Stricter only (follow-up to #5090; legacy marketplace pins). When a catalog is resolved through any alias, resolution consults the legacy pins of every alias that names that catalog. If those pins agree, the pin is honoured. If they conflict, resolution refuses with a named message and a remedy, and never chooses one silently. A pinned version is never replaced by an unpinned resolution. Pins recorded under the catalog-scoped form are unchanged, and the version-pins.json format is unchanged.
    Done when: A red-first cell records a legacy pin under alias team -> A, resolves through alias other -> A, and asserts the pin is honoured. A conflict cell (two different legacy pins) refuses with the named message and remedy. A single-alias control behaves as today. W3d, then QL H8. A CHANGELOG fragment and CI green.
    Out of scope: Changing the version-pins.json format; the #5169 lock and key changes. Sequenced after #5090.
    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 25, 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

    bugstatus/acceptedtype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions