Repository navigation
Open
6 / 146 of 14 issues completedLabels
area:packagetrackingGenerated anchor/tracker issue — not dispatchable; exempt from the half-state sweep's findings
Description
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
立卡门类别:专题父单(tracking,无 pm 状态,不派发;子卡各自定级派发)。维护者 2026-11-22 看完分诊对「专题以外的任务」的归类后说:「同意开专题」。
目标
一个包停用后,它的对象、应用、字段、名字、翻译和搜索结果在所有入口同时消失;重新启用后同时回来。现在数据入口已经拒绝,但报表、统计、视图、我的应用、翻译和部分读取入口还能读到它。
完成标准
- 报表与统计、各类视图、我的应用、翻译、搜索、草稿和分层读取,遇到停用包时给出和数据入口一样的答案(拒绝或不列出),并有用真实注册表写的固定测试。
- 包停用或删除后,它的流程、触发器和钩子不再生效(runtime: package disable and DELETE doors — probe whether a withdrawn package stays armed; refresh two stale announcer comments #33527 先实测)。
- ADR-0150 和停用接口文档写明「停用的包不持有名字」。
子卡
- service-analytics: /analytics/query serves a disabled package's objects (counts, sums, grouped field values, hops) while the data route answers 404 OBJECT_PACKAGE_DISABLED #35525(p1)报表查询还能读到停用包的对象。
- runtime: callData's aggregate arm answers a relation condition on a disabled package's object (a 1/0 oracle) while the data route and callData's query arm answer 404 OBJECT_PACKAGE_DISABLED #35526(p1)聚合查询对停用包的字段答 1/0。
- metadata-protocol: follow-ups from the #35444 contract review: expansion/relation-target docblocks, a disabled-and-unexposed precedence pin, and the handbook's lookup line #35528(p2)展开与关联目标的说明,加一个固定测试。
- GET /api/v1/me/apps still lists a disabled package's app (HotCRM crm_o2c) while /meta/app/<name> answers 404 and the console launcher drops it #33648 我的应用列表还列出停用包的应用。
- views: kanban, calendar, gallery, timeline, gantt and map bindings to a withheld (disabled-package) field — calendar fails 400, kanban cards land in Uncategorized (follow-up of #34901) #34989 看板、日历等视图绑到被收回的字段时出错。
- i18n: the packaged base reads a disabled package's same-name validation rule, so the enabled rule's message stays untranslated #34217 翻译读到停用包里同名校验规则的文字。
- runtime: package disable and DELETE doors — probe whether a withdrawn package stays armed; refresh two stale announcer comments #33527 停用和删除接口不发通知,流程和钩子可能还在跑(先实测)。
- metadata-protocol: the draft and layered _env reads (?state=draft, ?preview=draft, ?layers=true) still refuse 409 for a name only disabled packages hold, where the plain _env read answers 404 #34261 草稿和分层读取对只有停用包持有的名字仍答 409。
- docs/tests: the disabled-package search rule is missing from the searchAll contract docblock and the handbook, and has no real-registry pin #35527 全局搜索的规则说明和真实注册表测试。
- docs: state in ADR-0150 and the package-disable API page that a disabled package holds no name and hides its names' environment customizations #34260 ADR-0150 补充说明:停用的包不持有名字。
不在本专题:同名多包寻址(#30806、#34348 等)属于按包寻址专题 #31527。#34348 的第一种情况和停用有关,做时互相参照。
待维护者定的
- runtime: callData's aggregate arm answers a relation condition on a disabled package's object (a 1/0 oracle) while the data route and callData's query arm answer 404 OBJECT_PACKAGE_DISABLED #35526:包检查是否也拒绝系统身份调用(现行裁定保留钩子的系统上下文)。
- metadata-protocol: the draft and layered _env reads (?state=draft, ?preview=draft, ?layers=true) still refuse 409 for a name only disabled packages hold, where the plain _env read answers 404 #34261:三个草稿和分层读取是否也按 ADR-0150 D3 改答 404。
- docs: state in ADR-0150 and the package-disable API page that a disabled package holds no name and hides its names' environment customizations #34260:ADR 补充要走 ADR 流程。
Sub-issues
Collapse Sub-issuesSub-issues
Loading 14 sub-issues
Metadata
Metadata
Assignees
Labels
area:packagetrackingGenerated anchor/tracker issue — not dispatchable; exempt from the half-state sweep's findings
Activity
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
完成标准补充 · 2026-11-26T14:15Z · 依子卡 #37499(维护者直派)
完成标准新增一条:写入也落不到被隐藏的项。包停用期间,只有停用包持有的名字下的未绑包定制,读和写一样随包隐藏。保存、发布、删除、撤草稿都会被拒绝,重新启用后原样回来。
子卡清单新增:#37499(p1)停用包后,未绑包定制的写入仍会成功,裸删除会毁掉被隐藏的行(PR #37584)。
正文保持分诊原样,本评论即补充记录。
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Coverage note · 2026-11-26T19:15Z · PR #37584 merged (Fixes #37499)
没有写入落在被隐藏的项上:包停用期间,不带包名的保存、存草稿、删除、撤草稿都被拒绝且不改动任何存储行(#37584,ADR-0150 D3 注记已补写入一侧)。其中有配套定制包且行可迁移的那一格,保存、存草稿、删除由 ADR-0146 D11 收口先行拒绝(403),该格的提示用语待维护者决策卡定。单项发布与单项回滚两扇门尚未判断,由 #37608 跟进,这两扇门落地前本条对它们不成立。
(English: no write lands on a hidden item — while a package is disabled, a save, draft save, delete or draft discard naming no package is refused and moves no stored row (#37584, with the write side now in ADR-0150's D3 note). In the D11 cells (a paired customization package, a movable row) the save, draft save and delete are refused first by the ADR-0146 D11 close (
403); that sentence's wording awaits a maintainer decision card. The per-item publish and rollback doors are not yet judged and are tracked by #37608; until they land this statement does not cover them. This tightens to a universal statement once the decision card is ruled and #37608 merges.)