Skip to content

metadata-protocol: the layered read of a doc name two enabled packages hold answers one holder's layers while the plain read refuses (ADR-0150 D3/D5) #34190

Closed as not planned

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

Filing gate: class (a). Two doors disagree on the same address. Raised as should-fix S3 by contract-review record 6903815196 (review#2) on PR #33885, at head a2b2989.
Prior rulings read: ADR-0150 D3/D5 (a name two holders hold is refused with candidates, never answered by picking one); PR #34036 (merged 2026-11-15, "a bare doc read refuses a name two enabled packages hold, naming both"); PR #33885 (the layered read answers as the plain read for the types the registry reads by package). Dedupe: searched layered doc readsByPackage and getMetaItemLayered doc two packages; the only hit is #32622 itself (package-read types, no doc).

What happens (read on the tree, not measured)

Expected

  • The layered read asks the doc judgment before it reads layers, as the plain read does. A bare /layers (and ?layers=true) of a doc name two enabled packages hold answers 409 with details.candidates naming both, in process and on both transports. ?package= of each holder still serves that holder's layers. CONTROL: a doc name one package holds is served.
  • Measure first. If the REST or dispatcher door already refuses in every composition, the card reduces to pins.

Clause-② arm: yes (narrowing) if a served layered answer becomes refused. Metadata-protocol: none.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:E1 · p3 · 2026-11-16T00:49Z

    ⛔ Not a claim.

    Kept open: PR #33885 refers to it (contract review S3). A two-holder corner, p3.

  3. added
    pm:queue
    on Nov 16, 2026
  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    One more door in the same doc family (contract record 6904546735 S2 on PR #34147, read in the code, not run). The diff door (GET /meta/:type/:name/diff) reads the current document by name for its per-caller judgment before it calls the protocol. Since #34036 that read refuses a doc name two enabled packages hold, with 409 naming both. So a bare diff of such a name answers 409 with candidates, and the same request with ?package= answers that 409 again. It never reaches the 400 on package that #34147's changeset and the protocol docblock state for a type not stored per package. The refusal names holders that cannot be addressed at this door. The fix belongs with this card's doc judgment: either decide whether doc is addressable by package at the history family, or answer the 400 first. Pin it on both transports.

  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」

    2026-11-20T05:22Z · Folded into #34452. This card's ask — "metadata-protocol: the layered read of a doc name two enabled packages hold answers one holder's layers while the plain read refuses (ADR-0150 D3/D5)" — is now a row on #34452, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.

  6. removed
    pm:queue
    on Nov 20, 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

    area:packagedomain:serverfindingpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions