fix(ci): force reinstall node_modules when pnpm cache is corrupted#53245
fix(ci): force reinstall node_modules when pnpm cache is corrupted#53245w-sss wants to merge 1 commit intoopenclaw:mainfrom
Conversation
- Add fallback to remove node_modules and reinstall if pnpm install fails - Resolves missing dependency issues (@anthropic-ai/vertex-sdk, etc.) - Fixes CI failures in check, channels, and extensions tests
|
Closing this PR because the author has more than 10 active PRs in this repo. Please reduce the active PR queue and reopen or resubmit once it is back under the limit. You can close your own PRs to get back under the limit. |
Greptile SummaryThis PR fixes a flaky Windows CI job ( The previous fallback was a no-op — it retried the exact same command ( Key details:
Confidence Score: 5/5
Reviews (1): Last reviewed commit: "fix(ci): force reinstall node_modules wh..." | Re-trigger Greptile |
🐛 问题
CI 测试失败是因为 pnpm 缓存过期导致依赖缺失:
🔧 修复
添加 fallback 机制:当 pnpm install 失败时,删除 node_modules 并重新安装。
✅ 影响
📝 测试
本地验证: