Skip to content

decision: a package-unbound row beside a name that only disabled packages hold, or that two enabled packages hold: the bare read refuses (404 / 409) but the bare save edits the row (200) #34348

Open

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

Filing gate: ① a decision a contract review escalated. Source: review#1's contract record 6911434197 on PR #34324 (S3, ③), from the os-dev's open question on #34144. Filed by area S5 (E1b). The area is winding down, so this card waits for the maintainer.

维护者速读

  • 需要您决定:存储里有一行"不属于任何包"的记录,名字和某些包的元数据相同。这时不带包名的读和写给出了不同答案,该以哪个为准?
    1. 同名只有已停用的包持有:读返回 404(看不到),保存却返回 200 并改了这一行(改完仍然看不到)。
    2. 同名由两个启用的包持有:读返回 409(有歧义),保存却返回 200 并改了这一行。
  • 为什么要您定:裁定 A(metadata-protocol: a bare save of a name only a DISABLED package holds silently edits that package's row (200) while the bare read answers 404 — refuse with the ?package= remedy (ruled A) #34144)给出的补救办法是"加 ?package=",但这一行不属于任何包,这个办法够不着它。裁定的措辞可以理解成覆盖这种情况,也可以理解成不覆盖。
  • 选项:
    • (a) 保存跟读保持一致:两种情况都拒绝(409),并给出一个能指向这一行的补救方式。这会把现在的 200 收窄为 409。
    • (b) 读跟保存保持一致:这一行就是环境自己的记录,读的时候应该能看到它。这会把读从 404/409 放宽为 200。
    • (c) 维持现状,把这种读写不一致登记为已接受的偏差。
  • 建议:(b)。原因是不属于任何包的行,本来就按环境自己的记录来对待(D3:先找环境自己的,再找唯一持有者,最后才拒绝)。但读侧是否已经这样实现,要先在 main 上测一下。

Cells (from the record; not re-measured by the area)

  • A package-unbound row of a name only disabled packages ship: bare read 404, bare save 200, and the saved item stays hidden.
  • Two enabled holders plus a package-unbound row: bare read 409, bare save edits the row (200).

Related: #33210 (a package-less row beside two packages' rows: plain read vs /layers). It is in flight on the area's branch, and its fix may move the read side of the second cell. Read it before deciding.

Prior rulings read: ADR-0150 D3 and D5; ruling A on #34144; PR #34324.

Activity

  1. added
    priority:p2
    needs-user-decision
    domain:server
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

    2026-11-17T08:35Z Ruled. Steve chose an option on this project's decision card for #34348 at 2026-11-17T08:26:17Z. Option text verbatim: 「全部按推荐」 — 「七张都按上面写的推荐回队开工,#33952 按包取翻译,#34427 只写文档后关卡。」. It answers the seat analysis on this card (this card is one of the seven, together with #34452). Freshness: no comment on this card is newer than that analysis, and the body was not edited after it.

    Ruled: option (b)

    • One rule for both cards: the environment's own item always answers first, whatever number of packages hold the same name and whether they are enabled, and reads and writes give the same answer.

    State: pm:blocked until #34347 merges.

    Blocked-by: #34347

    When it merges, re-measure every cell on main before any code; a cell that moved is reported here, not built over.

  3. added
    pm:blocked
    pm:queue
    and removed
    needs-user-decision
    pm:blocked
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    director#1 · hotlong · session_b003f8166db74ab6b50632f4b346fe76

    2026-11-17T19:03Z Unblocked: the blocker has landed.

    objectstack#34347 merged at 2026-11-17T12:52Z as 89d5a41ff975 on main (read from the PR, verified against origin/main).

    The ruled rule stands: the environment's own item answers first, and reads and writes agree. The lane's first step is the one the card names: re-measure every cell on main at or after 89d5a41f before any code; a cell that moved is reported here, not built over.

    pm:blocked → pm:queue (applied just before this comment). The grade is unchanged (p2).

  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:package · domain:server · Bug · priority:p2 · needs-user-decision · size S; rationale: a contract review escalated this decision. A package-unbound stored row beside a name that only disabled packages hold, or that two enabled packages hold, is refused by the bare read (404 / 409) yet edited by the bare save (200). It waits for the maintainer's ruling, not for a developer, so it moves from pm:queue to needs-user-decision and no seat picks it before the ruling.

  6. added
    needs-user-decision
    and removed
    pm:queue
    on Nov 26, 2026
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:package · domain:server · Bug · priority:p2 · pm:queue · size M; rationale: correction of triage's 08:44Z move. This card was ruled on 2026-11-17 (option (b), record of 08:35Z: the environment's own item always answers first, whatever number of packages hold the name and whether they are enabled, and reads and writes agree). It was unblocked to pm:queue at 19:04Z that day. Triage misread it as unruled and moved it to needs-user-decision. It goes back to pm:queue; the ruling stands.

    Re-measured read-only today on main (df0894a664, a throwaway copy of meta-disabled-holder-served-stack.test.ts, not committed; dashboard type, both transports, both registration orders): both cells are exactly as the card says. Cell 1 is bare read 404 / bare save 200, still unreadable afterwards. Cell 2 is bare read 409 / bare save 200. Neither ?package= nor the _env address reaches the row. PR #34355 (#33210) did not move cell 2's read; it pinned the refusal.

    One scope question is put to the maintainer in the triage session: executing (b) reverses PR #34355's refusal (ADR-0087 entry two-row-holders-bare-read-refused), which merged 4.5 hours before the ruling and is not named by it. A reader waits for that answer before building the cell-2 read side.

  8. added
    pm:queue
    and removed
    needs-user-decision
    on Nov 26, 2026
  9. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Maintainer scope confirmation · 2026-11-26T09:03Z

    In the triage session, verbatim: 「#34355 一并改回」, answering whether executing ruling (b) also reverses PR #34355's refusal.

    State stays pm:queue (p2 · area:package).

  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Maintainer principle and split · 2026-11-26T09:15Z

    In the triage session, verbatim: 「我觉得停用就该全部消失」, then 「同意」 to triage's split, after a second read-only analysis.

    State stays pm:queue (p2 · area:package).

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:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions