Repository navigation
Closed
Labels
domain:engineRetired 2026-10-22, alias of domain:server (engine surface); in-flight cards keep it until they landpriority:p1High: required for production / M2
Description
Ruled: 6289274285 · no letter, the maintainer reserves the call · 2026-10-20T10:55Z
一句话问题: 18.0.0 要不要等"唯一索引从 COALESCE 写法换成普通写法"(第 7 步的 7b-1+7b-2)做完再发?这一块对用户不可见,却是第 7 步里改动风险最大、也最晚完成的一块。
背景: 维护者已裁定 18.0.0 等第 4–7 步全部合并后再发(6282882793,原话「还是等你全部完成」)。第 7 步实测拆成 8 块,其中 7 块要么改变对外行为,要么改变全新安装的表结构,属于该进大版本的改动。7b-1+7b-2 只改两件事:一是表结构比对工具把两种索引写法视为等价,二是新建表时用普通写法。它在驱动那条线上要排在 7b-0 后面。
- 读到的既有裁决:6282882793(发版时机)、6285122667(7b-0 / 7a-3 的执行记录)、ADR-0131 D1/D8、ADR-0120 D3(COALESCE 写法的来源)。
Governing text: 6282882793 — 「还是等你全部完成」(18.0.0 publishes after steps 4–7). This card asks whether to amend it for one part.
前提(带复核命令):
- 7b-1+7b-2 尚未派发:
curl -sS "https://api.github.com/repos/objectstack-ai/objectstack/pulls?state=open&per_page=50" | jq -r '.[].head.ref' | grep -c 7b12,应为 0。 - 旧写法的读取会一直保留(已有库上的 COALESCE 索引要能读懂):见 refactor(drivers,objectql,plugin-security)!: 18.x step 7: retire the organization-less readers (8c), COALESCE and __global__ (8d), and steps 1–3's dual reads #24583 测量 m7 F-f 及 7b-1 条目(
schema-drift.tscanonicalIndexKey)。
选项:
| 选项 | 做什么 | 客户能感知的后果 | 工作量 |
|---|---|---|---|
| A(推荐) | 18.0.0 不等 7b-1+7b-2,它放到 18.0.x / 18.1 | 没有可见差别。18.0.0 的库仍是 COALESCE 索引,功能完全正常;以后那块落地时,比对工具把旧写法视为等价,不删索引、也不用迁移 | 省 2 小时左右;发版里少一块碰索引 DDL 的高风险改动 |
| B | 照原裁决,全部做完再发 | 同 A,只是 18.0.0 新建的库直接用普通写法 | 多等 2 小时左右;这块碰的是唯一索引的 DDL,紧贴着发版合入 |
业务含义: A 相当于先上线一辆功能完整的车,内饰换件留到第一次保养;B 是换完内饰再交车。两者开起来没区别。
os-decision-facets
- ① 项目长远合理性:两者终态相同(新 DDL 普通写法,旧写法永远读得懂),A 不留迁移债,也不留特例。
- ② 实际业务拉动:今天没有客户因为 COALESCE 写法受影响,零拉动。
- ③ 防 AI 犯错:A 让紧贴发版的改动更少;索引 DDL 出错会删了重建唯一索引,属于破坏性操作。
- ④ 创业阶段不扩散:A 不新增任何面,只是推迟一块纯内部改动。
Prior rulings read: release scope,18.0.0,coalesce,index → 11 hits; ADR-0120 D3, ADR-0131 D13; thread: 6282882793 on [epic] ADR-0131 — total organization ownership: no NULL organization_id (v18 line) #15194
推荐: A。只看①时选 A;②③④ 都不翻转。回退方案是 B。
- 置信缺口:7b-1+7b-2 的实际工作量还没实测,"省 2 小时"是按 7b-0 的进度估算的。
会不会留下迁移债: 不会。原因有两点:
- 比对工具读旧写法的能力无论如何都要保留,已有库上的 COALESCE 索引必须能读懂;
- 7b-0 让租户列在全新安装上从建表起就不可为空,在不可为空的列上,COALESCE 索引与普通索引语义相同。
裁后执行:
- 选 A:发版前核对不再等 7b-1+7b-2。这一块照常派发、照常复审合入,只是不卡 18.0.0,并在 refactor(drivers,objectql,plugin-security)!: 18.x step 7: retire the organization-less readers (8c), COALESCE and __global__ (8d), and steps 1–3's dual reads #24583 上记为 18.0.x 的一部分。
- 选 B:照原计划,等它合入后再做发版前核对。
Blocks: none (the release check waits on this answer only if B).
Metadata
Metadata
Assignees
Labels
domain:engineRetired 2026-10-22, alias of domain:server (engine surface); in-flight cards keep it until they landpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Oct 20, 2026
Director delta, batch #377 item 1 — director seat, summon #46,
session_013414Vtz3Z8PrXFetUziHoh, 2026-10-20T10:29Z. Read on objectstackorigin/main41646a5788f5, fetched in this act. Thread: no comments. Only what this seat re-checked or adds is below.Premises, re-run
7b12. The open step-7 PRs are 7b-3 (PR feat(cli,driver-sql)!: a tenant table's organization-less row no longer reaches the__global__counter, and a production server boot with no auth secret is refused (18.x step 7, part 7b-3) #24845, draft), 7c (PR refactor(plugin-webhooks,platform-objects)!: 18.x step 7c: retire the step 1–3 dual reads (declared-webhook mirror skip, sys_setting_audit global scope) #24836) and 7a-3 (PR feat(plugin-sharing,plugin-approvals,metadata-protocol)!: 18.x step 7 part 7a-3 — the organization-less readers of sharing rules, approval units and the seed loader retire #24828, draft). 7a-1 has landed (PR feat(driver-sql,objectql)!: a tenant-scoped read no longer answers a row with no organization (18.x step 7, part 7a-1) #24825,7c2eab92). The premise holds: 7b-1+7b-2 is not dispatched.git grep -n -iE 'nullSafe|COALESCE\(organization' origin/main -- AGENTS.md docs/adr packages/spec/src→ ADR-0120 D3 (:295, the COALESCE form's origin), ADR-0131 :36, andpackages/spec/src/data/field.zod.ts:701. None sets release timing.Director increments
Facets: ①②③④ agree (① tie; ③ decides).
Recommendation: A — unchanged. 只看①:平局;②③④ 是否翻转:否(③ 打破平局向 A)。Workload of A: zero extra; the step-7b-1+7b-2 PR is dispatched as planned and recorded on #24583 as part of 18.0.x.
Generated by Claude Code
objectstack-fleet commentedon Oct 20, 2026
Ruling: batch #377 item 1 · no letter, the maintainer reserves the call · maintainer 「24847 我会自己判断,你正常开发」 2026-10-20T10:54Z
Director seat, summon #46,
session_013414Vtz3Z8PrXFetUziHoh. Presented in this session's chat as batch #377 item 1, from this card's analysis and the director delta 6288880877, which recommended A. The maintainer chose neither letter: 「24847 我会自己判断,你正常开发」 ("I will judge 24847 myself; develop normally"). Thread read through 6288880877 at this write.Governing text:the release-timing ruling 6282882793 on #15194 (「还是等你全部完成」).What the ruling binds
Workload: none beyond the plan already on #24583.
Execution:
needs-user-decisionleaves this card; the assignee (os-steve, the epic seat) keeps it. The epic seat records this on #24583 and then closes this card.Generated by Claude Code