The check-workspace-package-graph validator globs the filesystem for package manifests but only excluded node_modules/dist. On any machine that had run a desktop packaging build (pnpm deploy), the gitignored electron-builder staging dir packages/desktop/deploy/ carries a copy of desktop's package.json and tripped the unglobbed-package violation, breaking pretest/gate locally while CI (clean checkout, no deploy dir) stayed green. Exclude the staging path alongside node_modules/dist since a gitignored dir is absent from the isolated worktree this validator guards.
6.6 KiB
6.6 KiB