fix(ci): ootb@72e24e7 npm install 崩溃 — 清悬空 lock + registry/unzip 契约对齐#17
Merged
Tanya7z merged 2 commits intoJul 22, 2026
Merged
Conversation
ootb@72e24e7 在 npm install 因 package-lock 残留已删 modules/packages/* 的 link:true 崩溃。同步修复 registry 解析 modules 嵌套、zip 反斜杠路径归一化, 并去重 catalog folder 解析(DRY/LSP)。 Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
合并并行审查 #18 的补充:单一 parseRegistryIndex 源、fetch-module 显式依赖 jszip, 以及 module-commands dirSize 未 await 导致体积恒 0。 Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
This was referenced Jul 22, 2026
Tanya7z
marked this pull request as ready for review
July 22, 2026 06:47
Contributor
Author
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Tanya7z
added a commit
that referenced
this pull request
Jul 22, 2026
Rebased onto main@522d799 (post #17). Platform/SDK only: config client withModuleId; service routes assertModulePermission; review doc. Co-authored-by: Cursor <cursoragent@cursor.com>
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
触发:workflow_run ootb failure @
72e24e7(run 29897268620)——Install root deps报Cannot read properties of undefined (reading 'extraneous')。e6525bb(tools →.mjs+tools/lib)已覆盖空 catalog / catalog-sync 等,但 未清package-lock.json悬空 workspace link,且sfmc/src/registry.ts仍把整份 index 当映射(未读modules嵌套)。本 PR 取代 #15/#16 的 CI 关键修复(二者已与
e6525bb/72e24e7冲突)。根因与修复(SOLID)
modules/packages/*afk\\→ Linux 目录错乱fetch-module路径/归一化registry.ts与fetch-module对同一 index 契约不一致parseRegistryIndex读modulesfolderFromEntry重复 / packages 双文件头folderFromEntryPath验证
npm install✅node tools/check-ootb.mjs→ 10/10 ✅node tools/smoke-modules.mjs(含feature-afk启停翻转)✅不重复 #13/#14 的 economy SQL / service 权限门改动。