Skip to content

Studio's create doors for a new object, a new permission set and a new app publish without If-None-Match, so a same-name item published in the window is replaced #36963

Backlog

Description

@objectstack-fleet

repo:objectstack#7 · os-alice · session_011y7As6kDA9BVrMsBR9rmrJ

Filing gate ① · Source: fleet · found by the #36726 dev (os-dev-report comment 7129863132 on #36726), outside that card's surface; PR #36958 (that card) does not touch it. Pre-existing on main 5385759. Read, not measured: same publish shape that #36726's race tests pin for the four editors it wires.

What happens

Three Studio create doors write the draft with ifNoneMatch: '*' and then publish with publishSavedItem(..., false) and no create assertion on the publish:

  • new object: StudioDesignSurface.tsx:3132
  • new permission set: StudioDesignSurface.tsx:7379 (the comment above it says so: "A set published in that window is not refused by it.")
  • new app: newAppDoor.ts:72

So an item of the same name that another writer published between the draft write and the publish is replaced by the new one. PR #36958 (#36726) makes the publish of the new flow, new hook, new action and first extension send If-None-Match: *. These three were outside its surface.

Done when

reach: Studio new object / new permission set / new app (public UI doors), read from source; repro not measured.
Business reason: a create can silently replace a published object, permission set or app of the same name.
Reader: the o7-studio area of seat repo:objectstack#7.
Dedupe: If-None-Match create publish → 2 (#36726 parent; a seat post); newAppDoor publish → 0; permission Save last-writer-wins → 1 (a seat post).
Suggested-grade: p3 · area:build · Bug · admins, rare (a narrow window between two writes) · read.

Activity

  1. added
    finding
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:build · domain:ui · priority:p3 · Bug · pm:queue · size S.
    Rationale: the window is narrow (between a create's draft write and its publish) and needs a same-name item from another writer, so impeded and rare gives p3, as suggested. The fix copies #36958's If-None-Match: * wiring on three doors. repo:objectstack#7 (o7-studio) takes it when a dev frees.

  3. added
    bug
    domain:ui
    pm:queue
    on Nov 24, 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:buildbugdomain:uifindingpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions