Skip to content

ci: verify patches against locked packages - #548

Open
yaojin3616 wants to merge 1 commit into
mainfrom
agent/debugger/4ef4685bf401
Open

yaojin3616 wants to merge 1 commit into
mainfrom
agent/debugger/4ef4685bf401

Conversation

@yaojin3616

Copy link
Copy Markdown
Contributor

Summary

  • replay every patch individually against a temporary clean npm ci --ignore-scripts installation derived from package-lock.json
  • fail when a patch filename no longer matches the locked package version
  • add npm run verify:patches and PR/main workflow coverage

--ignore-scripts prevents Electron download and prevents automatic patch application before replay.

Closes #318

Verification

  • npm run verify:patches (28/28 patches applied)
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant