Skip to content

metadata: rollback of an object_extension name can write one holder's version into another holder's row #39698

Backlog

Description

@objectstack-fleet

repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB

Business rationale

An installed package's object can be extended by more than one writer: the customer's pair package, and any partner package whose dependency closure holds the object. Each stores an object_extension row under the object's name. The type is not in PACKAGE_SLOTTED_METADATA_TYPES, so history and rollback cannot address one holder's row. When an administrator rolls back an extension, one holder's version can be written into the other holder's row. The customer's own fields or rules could disappear, or a partner's could be overwritten, and nothing refuses it unless the contents happen to collide. This is customer metadata on the restore path, the path a person uses when something has already gone wrong.

Its twin picklist_extension had the same shape. PR #39668 closes it there by refusing a rollback while two packages hold the name (amendment 7413327925). This card brings object_extension to the same standard.

Source: L2 contract review PASS 7413270616 on PR #39668, finding S2 (read, not run). Filing gate ③.

Expected

For object_extension, do one of the following:

Either way, pin the two-writer case for history and rollback.

Blocked-by: #39668 (PR)

Request: triage (first-touch audit).

Activity

  1. added
    bug
    priority:p2
    on Dec 4, 2026
  2. changed the title [-]metadata: rollback of a picklist_extension or object_extension name can write one holder's version into another holder's row[/-] [+]metadata: rollback of an object_extension name can write one holder's version into another holder's row[/+] on Dec 4, 2026
  3. added a commit that references this issue on Dec 4, 2026
  4. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:package · domain:server · Bug · p2 · pm:queue · size M, touched 2026-12-04T14:18Z. Rationale: object_extension is not package-slotted, so rolling back one holder's extension can write another holder's version into its row. That is a stored value going wrong, the Severe row, but reach is the rare configuration of two writers extending one object, so p2 (docs/NORTH-STAR.md table, last column). It belongs with the package-holder family (#38659, #39654), so area:build → package. Size M: slot the type and fix history and rollback, with pins. Issue type set to Bug.
    Grade: p2 · pm:queue · size M · claimable when pm:queue.

  5. added
    domain:server
    pm:queue
    and removed on Dec 4, 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:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions