You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
metadata-protocol: while a package is disabled, the per-item publish and rollback doors still write a package-less row at a name only disabled packages hold #37608
area:packagebugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p1High: required for production / M2
Filing gate: ③ maintainer-directed topic child (#36229: 「我觉得停用就该全部消失」) · Source: fleet (finding S1 of the Contract review record 7195624788 on PR #37584, read from the tree and not yet run)
What happens
PR #37584 (Fixes #37499) refuses the four doors that card named: save, draft save, delete and draft discard naming no package, over a name only disabled packages hold. Two more doors write that same hidden package-less row and are not asked the judgment (packagelessHolderRefusal), read at PR head 7e66896:
Per-item publish:POST /api/v1/meta/TYPE/NAME/publish → publishMetaItem → promoteDraftForPublish in packages/metadata-protocol/src/protocol-history-and-publish.ts. It resolves through packagelessDraftAddress and calls no disabled-holder refusal. With a package-less draft of a name only a disabled package ships, the promotion would write the hidden package-less active row.
Per-item rollback:rollbackMetaItem in packages/metadata-protocol/src/protocol-package-commits.ts restores onto the package-less row, with no disabled-holder judgment there or in protocol-history-slots.ts.
reach: not yet measured. The first step is to measure both doors on a disabled-only name with a package-less row (REST and in-process).
Category ③: a child of maintainer-directed topic #36229, the same defect class as #37499 (p1).
Priority: p1 — the grade of #37499. A write lands, unseen, on a row the disabled package hides.
Business reason: an admin who disables a package expects its names to be untouched until re-enable. A publish or rollback now changes what re-enabling brings back.
Reader: seat 2 (repo:objectstack#2), as a card thread after #37584 merges (same files).
Blocked-by: #37584 (merge)
Dedupe: searched packagelessHolderRefusal publish rollback and disabled package publish rollback package-less (open issues), 0 hits beyond #37499 / #36229.
Related: #37499, PR #37584, #36229, #34260.
area:packagebugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p1High: required for production / M2
Activity