Skip to content

metadata: a residual picklist named only by a residual extension is refused as unreferenced; stale message #36432

Open

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Follow-up from #35711 (PR #36338). The L2 nits N1 and N5 and an L1 candidate; filed by the seat. Parent: #35711.

What happens

  1. A residual picklist named only by a residual extension is still refused as unreferenced, now that fix(objectql)!: register a preserve composition’s residual objectExtensions entry; judge residual jobs at composition #36338 registers the residual extension.
  2. packages/metadata/src/picklist-references.ts still tells authors a top-level objectExtensions entry is not registered, which fix(objectql)!: register a preserve composition’s residual objectExtensions entry; judge residual jobs at composition #36338 makes false.
  3. sameAuthoredValue in metadata is a hand copy of the spec's deepEqualAuthored, with no test holding the two equal.

To do

  1. Count a reference from a registered residual extension when judging an unreferenced picklist.
  2. Fix the message text.
  3. Share one equality function, or pin the two equal with a test.

Acceptance

  • A residual picklist referenced only by a residual extension is accepted; the message matches what the registry does.

Blocked-by: #36338

Grade

p3 · area:package · domain:server. A wrong refusal and a stale message.


Generated by Claude Code

Activity

  1. added
    bug
    pm:blocked
    domain:server
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: area, pm:blocked and p3 stand as filed; rationale: area:package · Bug · a residual picklist named only by a residual extension is refused as unreferenced, and the message is stale; this is a narrow composition case · size XS.

  3. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock (daily scan): every Blocked-by: target is closed, so pm:blocked → pm:queue; grade unchanged.

    Target #36338 merged at 2026-11-22T16:37Z. No newer Blocked-by: line in the thread, no Unlock-action: line, no assignee. Same repository, so no installability check is owed.

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 23, 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:packagebugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions