Repository navigation
Commit e761a2b
chore(sdui-parser): retire the objectui lockstep gate and its vendored record (#26221)
<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6Jao7EJRrpBukNTDcMt2XiXQX1)_
Part of #25712 (item 3 = 2g, PR 3 of 3: retire the sdui-parser lockstep;
lands FIRST by PM ruling; Tier H: `.github/workflows/lint.yml`).
Part of #25677.
Clause-②: no
Metadata-protocol: none
## 维护者速读(草稿)
- **改了什么:** 删掉让两份 sdui-parser 保持一致的 lockstep
门禁:`scripts/check-sdui-lockstep.mjs`(1634 行)、它的记录
`packages/sdui-parser/objectui-lockstep.json`、`check:sdui-lockstep` /
`gen:sdui-lockstep` 两个脚本、`lint.yml` 里的那一步,以及 merge driver
台账和测量分诊表里指向它的两行。其余只改了指向它的注释。
- **为什么改:** 你在 2g 决策卡上裁定只保留 `@objectstack/sdui-parser`
一份(6418729849)。只剩一份时这个门禁就没有可比的对象了。
- **为什么先合这个:** 现在没有 `.objectui-sha`,门禁直接拿 `ui/packages/sdui-parser/src`
做对照。2g PR 1 合并两份实现时会单边改到它比对的区域,PR 2 删掉 ui 那份后它会直接拒绝。先退役它,PR 1 和 PR 2
就不会因为它变红。
- **风险与代价(含回滚):** 本 PR 合并后到 2g PR 1 合并前,两份解析器之间没有门禁守护。PR 1
紧接着合,它把两份合成一份,之后就没有第二份可以漂移了。不影响运行时、不发布任何包。回滚 = revert 本 PR。
- **你要做的:** 批准(Tier H:`lint.yml`)。
## 席位核对
(left for the dispatch seat)
## Why
Ruling 6418729849 on #25712 (2g decision card 6418466647, letter E + B)
keeps `@objectstack/sdui-parser` as the one parser, deletes
`ui/packages/sdui-parser`, and retires `check-sdui-lockstep.mjs` with
its record. The PM ordered this PR first: with `.objectui-sha` gone, the
gate's oracle is `ui/packages/sdui-parser/src` read in place
(`oracleFor`, "pin absent, `ui/` copy"), and it REFUSES a tree with
neither the pin nor that copy. So:
- 2g PR 1 (unify the body into `@objectstack/sdui-parser`) reds the gate
if it edits the parse region, the diagnostic-code set or `validate.ts`'s
containment branch on one side only;
- 2g PR 2 (rewrite the 122 importers, delete the ui copy) reds it
unconditionally.
1 parent 3d50a43 commit e761a2b
9 files changed
Lines changed: 10 additions & 1758 deletions
File tree
- .github/workflows
- packages/sdui-parser
- scripts
- pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | 987 | | |
1011 | 988 | | |
1012 | 989 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
This file was deleted.
0 commit comments