fix(devboard): cell-manifest 源路径随后端 cells→corecells 迁移(修 CI 红) - #72
Merged
Merged
Conversation
后端 ghbvf/gocell 将生产 cells 从顶层 cells/ 迁到 corecells/(4 个: accesscore/auditcore/configcore/syscore),cell-manifest 默认源路径 ../gocell/cells 失效 → cell-manifest-readonly CI 在所有 PR 上红 (codegen 读 ../gocell/contracts 未受影响)。 - tools/cell-manifest 默认路径 + generatedFrom/Source 注释 → corecells - derive.spec 断言同步 - 重新生成 cells.generated.ts(现含 4 cell,syscore 新纳入) - useCellsStore.spec:cell 数 3 → 4 - README / workflow 注释同步 注:源路径仍是 unpinned sibling checkout(追后端默认分支),属同类 脆弱性根因;后续优化(pin 后端 ref / 发布契约包)另议。 Closes #71 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cell-manifest-readonlyCI check 在所有 PR 上红(含 #70、#65、#17),仅push develop绿。根因:后端ghbvf/gocell将生产 cells 从顶层cells/迁到corecells/,前端tools/cell-manifest默认源路径../gocell/cells失效报 "Cell source directory not found"。codegen(读../gocell/contracts,未变)不受影响,故只这一个 check 红。改动
tools/cell-manifest/src/index.ts:默认源路径../gocell/cells→../gocell/corecellstools/cell-manifest/src/derive.ts:generatedFrom/ Source 注释 →gocell/corecells/**derive.spec.ts:断言同步packages/devboard/src/manifest/cells.generated.ts:现含 4 cell(syscore自上次生成后新纳入;produces/consumes 随后端演进更新)useCellsStore.spec.ts:cell 数3 → 4tools/cell-manifest/README.md/packages/devboard/README.md/cell-manifest-diff.yml注释同步涉及包
@gocell/cell-manifest(工具)、@gocell/devboard(生成物 + 消费方测试)。Test plan
pnpm cell-manifest && git status --porcelain packages/devboard/src/manifest/— clean(CI 可复现;corecells 在 local HEAD == origin/develop 一致)pnpm -F @gocell/cell-manifest test --run— 26 passedpnpm -F @gocell/devboard test --run— 348 passedpnpm -w typecheck/pnpm -w lint— pass / 0 issues已知遗留(不在本 PR 范围)
源路径仍是 unpinned sibling checkout——CI 把后端默认分支
developcheckout 为同级目录,前端生成物追"移动目标"。后端任意重命名/演进会在无前端改动时突然打红前端 CI(本次即如此)。根因优化(pin 后端 ref / 发布版本化契约包 / 用后端已有的 Buf BSR)另起讨论。Closes #71
🤖 Generated with Claude Code