test(pm): validate package-lock JSON in arborist e2e - #3287
Merged
fireairforce merged 5 commits intoAug 17, 2026
Conversation
fireairforce
approved these changes
Aug 12, 2026
fireairforce
enabled auto-merge (squash)
August 12, 2026 03:43
Member
|
it seems ci failed |
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
为 Arborist E2E runner 增加生成的
package-lock.json轻量级 JSON 校验。安装成功后,如存在
package-lock.json,runner 会使用 Node.js 解析该文件。若 JSON 非法,则对应 fixture 会失败,输出中会包含 fixture 名称。同时更新 Arborist E2E README,标明该 Phase 1 断言已实现。Test Plan
package-lock.json可通过校验。package-lock.json会导致 fixture 失败。package-lock.json的 fixture 保持原有行为。git diff --check。