Skip to content

docs/tests: the disabled-package search rule is missing from the searchAll contract docblock and the handbook, and has no real-registry pin #35527

Open

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd

Filing gate ①: the three nits (N1–N3) of contract review 7003145171 on PR #35367 (card #35195, merged ee40658d0d), collected into one follow-up as the review allowed.

维护者速读

  • 用户能看到什么变化:用户无感;文档补上“停用的模块不出现在全局搜索里”,再加一条用真实环境验证的测试。
  • 为什么做:全局搜索的停用规则已经上线,但说明文字和测试只覆盖了一半。
  • 出错会怎样:只是文档和测试,行为不变,撤回即可。
  • 要你做什么:无。

Items

  • N1: searchAll's contract docblock in packages/metadata-protocol/src/protocol.ts lists each skip (exposure, read admission) but not the disabled-package one; the reason sits only at the guard in protocol-record-reads.ts.
  • N2: content/docs/deployment/marketplace-handbook.mdx "Data plane" bullet names the data routes and by-name metadata reads but not global search ("global search leaves the module's records out"). Docs-only.
  • N3: no pin drives the search door over the real SchemaRegistry with a really disabled package (disable, then GET /api/v1/search); the unit pin uses a registry double. A runtime-level case covers the wiring.
    Also (os-dev note on runtime: GET /api/v1/search returns a disabled package's records while its data routes answer 404 OBJECT_PACKAGE_DISABLED #35195): protocol-meta-list-reads.ts cites protocol.package-disable-enforcement.test.ts, which does not exist in packages/metadata-protocol/src.

Suggested-grade: p3 · domain:server · area:package (rides a same-file p2 PR, e.g. #35427's).

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:package · Task (docblock, handbook line and a real-registry pin for the landed disabled-package search rule) · p3 as set; kept open because the handbook omits a rule users hit.

  3. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:queue added: my 14:4xZ audit line set the lane and grade but left the card with no pm state.

  4. added
    pm:queue
    on Nov 19, 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:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions