Repository navigation
Open
3 / 123 of 12 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 12 sub-issues
Metadata
Metadata
Assignees
Labels
area:packagetrackingGenerated anchor/tracker issue — not dispatchable; exempt from the half-state sweep's findings
Activity