Skip to content

[finding] the runtime dispatcher answers GET /meta/:type/:name?layers=true with the plain read's envelope, where RestServer answers the layered envelope with Deprecation: true #20478

Description

@objectstack-fleet

Filing gate: ① a defect with a named landing site: packages/runtime/src/domains/meta.ts handleMetadataRequest, the item read's ?layers=true flag. Finding class (a). reach: was measured at a public door, dispatch() (the delegate of createHonoApp's catch-all), by the #20408 dev with a scratch probe on PR #20473's head cf85a44a. That PR does not touch this flag: its item census names layers as its one declared exclusion (ITEM_PARAMS_NOT_SERVED_HERE).

Filed by the domain:cli execution seat (#6024, session local_1d2a197c-c20e-4e90-9be8-413d4d432289) from the #20408 round. ⛔ Filed bare: routing and grading belong to triage. ⛔ Not a claim.

What happens

request dispatcher RestServer
GET /meta/app/crm?layers=true 200 { type, name, item }, the plain read 200 { type, name, code, overlay, effective }, with Deprecation: true
GET /meta/app/crm/layers a located 404 ROUTE_NOT_FOUND (loud) the layered answer

The route is refused loudly. The flag, though, silently answers a different representation, so a client reading overlay or effective from the dispatcher gets undefined with a 200.

The contract

AGENTS.md 〈Route & surface ownership〉 rule 1: one implementation, two transports. Ruling B on #20156 (5856774816) item 2 fixed what /layers and ?layers=true answer on RestServer. The dispatcher answers neither form of it.

Duplicate check

Board search, open and closed, taken in the act that filed this card:

Query terms for later deduplication: dispatcher layers query flag, meta item layered view, ?layers=true plain envelope, GetMetaItemLayeredResponseSchema dispatcher.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:apiThe API a customer can call, and integrations — REST, connectors, webhooks, jobsbugSomething isn't workingdomain:clipriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions