Skip to content

docs(changeset): vendored console 条目里给 flow 几何迁移补回 BREAKING (v17) 标注 (#6106) - #6110

Merged
hotlong merged 1 commit into
mainfrom
claude/issue-6106-flow-changeset-breaking-marker
Aug 7, 2026
Merged

docs(changeset): vendored console 条目里给 flow 几何迁移补回 BREAKING (v17) 标注 (#6106)#6110
hotlong merged 1 commit into
mainfrom
claude/issue-6106-flow-changeset-breaking-marker

Conversation

@hotlong

@hotlong hotlong commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Part of #6106 (PR B of 2 — closes via PR A)

rc.4 发布前置的 PR B。改动面是一个文件一行:.changeset/console-f995a452d2ca.md

为什么

同一份 vendored changeset 里并排躺着两条 v17 破坏性迁移,标注却只有一条:

  • widget 元数据单载体(objectui 042e09d77 / objectui#3233)—— 源 changeset 首段就写了 **BREAKING (v17)**,digest 读首段,所以标注跟着进来了;
  • flow 节点几何(objectui 6e794a19e / objectui#3172)—— 源 changeset 同样声明了破坏性(「Breaking for anyone reading node.ui off a flow draft: after the author's first edit the key is gone and the coordinates live under node.position.」),但那句在正文靠后段落,digest 读不到 ⇒ vendored 条目丢了标注,编译出的发布记录里它读起来像一次普通行为修复。

本 PR 只做一件事:把源头已经声明过的真相还原到这一行

改动(before → after)

- - **minor** — The flow designer writes node geometry as the spec's `FlowNode.position`, not its own `ui: { x, y }` (objectui#3172). (objectui `6e794a19e`)
+ - **minor** — **BREAKING (v17)** — The flow designer writes node geometry as the spec's `FlowNode.position`, not its own `ui: { x, y }` (objectui#3172). (objectui `6e794a19e`)

前缀与同文件 widget 条目逐字节一致(实测,非目测):

flow   prefix bytes: 2d202a2a6d696e6f722a2a20e28094202a2a425245414b494e472028763137292a2a20e2809420
widget prefix bytes: 2d202a2a6d696e6f722a2a20e28094202a2a425245414b494e472028763137292a2a20e2809420
BYTE-IDENTICAL PREFIX: True

(e28094 = U+2014 EM DASH,两侧各一个半角空格。)

边界

Check Changeset 的实际判定(已实跑,不是推断)

首跑 。读日志而非猜测,原因是判定条件为「本 PR 新增了几个 changeset」而不是「本 PR 是否改动了 changeset 文件」:

BASE_SHA: 0664488a81c2dc854bb9e83305ff585fec0087c5
This PR adds no changeset. There are TWO ways forward …
  2. It releases nothing … apply the 'skip-changeset' label.   PREFERRED
     The label is a gate-level exemption. It produces NO input for
     changesets/action, so it cannot affect a release.

本 PR 修的是一份已经 pending 的 changeset 的正文措辞,ADDED = 0,所以门禁按设计判红。两条路里只有 route 2 是对的:再 pnpm changeset 新增一份,等于凭空给 @objectstack/console 多声明一次发布,那才是错的。故已按门禁自述加 skip-changeset 标签并重跑该 job,重跑 绿

(顺带记录:issue #6106 里「本 PR 改的就是 changeset 文件,无需 skip-changeset」的预判不成立 —— 判定看的是新增数,不是文件面。)

验证

门禁 结果
node scripts/check-empty-changeset.mjs --self-test 21 assertions over real temp git repos (real scan() path)
node scripts/check-empty-changeset.mjs No empty-frontmatter changeset introduced by this diff (0 declaring changeset(s) added).
node scripts/check-changeset-no-major.mjs EXIT=0 —— 标注是散文不是 major 声明,已实测而非假设(输出里的 pending-major notice 全部来自既有的其它 changeset,本文件不在其中)
node scripts/check-changeset-fixed.mjs .changeset/config.json "fixed" group is in sync with 69 public workspace packages.
pnpm check:objectui-changeset digest + range 两套 self-test 全绿(objectui-range --self-test: all checks passed)
node scripts/check-nul-bytes.mjs OK (scanned 5857 tracked text file(s) … no raw ASCII control bytes).

CI:ESLint / TypeScript Type Check / Check Changeset(重跑)均 success。改动面:1 file changed, 1 insertion(+), 1 deletion(-)

关联

…6106)

.changeset/console-f995a452d2ca.md 的 flow 节点几何条目(objectui 6e794a19e /
objectui#3172)在源 changeset 里确实声明了破坏性,但那句陈述在正文靠后段落,
而 digest 只读首段,于是 vendored 条目丢了标注 —— 编译出的发布记录里它读起来
像一次普通行为修复。同文件的 widget 条目(042e09d77)首段自带标注,两条并排时
差异尤其误导。

本次只把源头真相还原到这一行:前缀补 `**BREAKING (v17)** — `,与 widget 条目的
标注样式逐字节一致。⛔ 不改 digest 脚本(那是 #6099 的机制问题,另案),不重新
生成文件,不调整条目顺序,frontmatter 原样不动。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BDmDsu2575gDxeMCxXhDE3
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Aug 7, 2026 2:11am

Request Review

@github-actions github-actions Bot added size/xs documentation Improvements or additions to documentation tooling labels Aug 7, 2026
@hotlong hotlong added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 7, 2026 — with Claude
@hotlong
hotlong marked this pull request as ready for review August 7, 2026 02:22
@hotlong
hotlong added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit 9de095d Aug 7, 2026
26 of 27 checks passed
@hotlong
hotlong deleted the claude/issue-6106-flow-changeset-breaking-marker branch August 7, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants