Skip to content

The bare /published read of a name two packages register: pin both transports, give the REST 409 its candidates, decide the dispatcher's swallow (ADR-0150 D3/D5) #34101

Closed as not planned

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

Filing gate: class (a), a measured inconsistency on a public door, raised as should-fix F1 by the review on PR #33885 (review-b record 6897231104, verdict 6897239914). PR #33885 declares the REST move in its changeset; this card carries the rest.
Prior rulings read: ADR-0150 D3/D5 (a name two holders hold is refused, never guessed; the refusal names the candidates); review-b record 6897231104 F1 and N1 on #33885. Dedupe: searched published two holders candidates, getMetaItemLayered PackageScopedNameRefusedError published, dispatcher published swallow refusal and meta published details.candidates, with no open match.

Measured, with reach

Landing point

  • packages/rest/src/meta-item-history-routes.ts: the /published route's final catch (handleRouteError(res, error), about line 1489) should carry { packageScopedCandidates: true }, as the /layers and plain-read catches do.
  • packages/runtime/src/domains/meta.ts: the /published catch around getMetaItemLayered.
  • Pins go in a card-named test file in packages/rest/src/ and in packages/runtime/src/domains/, unless AGENTS.md routes them into an existing shared harness file (for example meta-layers-ambiguous-package.test.ts).
  • Optional, review N1: packages/plugins/plugin-security/src/security-catalog-echo.ts (echoSecurityCatalogMutation) should also recover from the two-holder refusal at a package-unbound address (packageId: null), not only when the address is undefined.

Expected

  • A bare /published of a name two served packages register answers on both transports what the plain read answers: 409 RESOURCE_CONFLICT with details.candidates naming both.
    • This holds in both registration orders, with or without an engine wired, and serves neither holder's body.
  • ?package= of each holder still serves that holder's published view.
  • CONTROL: a name one package registers is served.
  • The REST/dispatcher difference gets decided (refuse on both, or a ruled reason to keep serving the snapshot), then pinned.

Clause-② arm: yes (widening) for the added details.candidates key on an already-published error payload. It becomes yes (narrowing) if the dispatcher twin is ruled to refuse where it serves the snapshot today. Metadata-protocol: none.

Activity

  1. added
    finding
    domain:server
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → closed as not planned (p3 standard) · 2026-11-15T18:55Z

    A two-holder corner of the bare /published read (pins for both transports, candidates on the REST 409, the dispatcher swallow). PR #33885 already moves the REST answer to a refusal; the remaining items are pins and a corner no user is measured reaching.

    The maintainer's p3 standard (triage thread, 2026-11-15) closes work with no user or customer effect. Reopen it if that changes.

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

    domain:serverfindingpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions