fix(deps): register packages/security in root lockfile (unblocks gate-frontend-build) - #270
Conversation
packages/security was added as a workspace but missing from package-lock.json, making gate-frontend-build red on all PRs. Regenerate lockfile so npm ci resolves the security workspace. Co-Authored-By: Claude <claude-opus-4-8> <noreply@anthropic.com> Claude-Session-Id: cf830721-b1ef-4fe0-a024-035ad280dcf7
CI Fix — branch `claude-auto-fix-ci-claude/fix-lockfile-security-29433497002`Root cause: The previous commit (
Fix: Ran The fix is on branch |
CI fix pushed — branch `claude-auto-fix-ci-claude/fix-lockfile-security-29433562601`Root cause: `services/email-service/package.json` pinned `@types/express` to the exact version `4.17.21`. The root `overrides` in `package.json` resolves `^4.17.21` → `4.17.25`, so the lockfile installs `4.17.25` into `node_modules/`. But the lockfile's workspace entry for `services/email-service` still recorded the exact spec `4.17.21`. `npm ci` detected the mismatch and failed: Fix: Changed the exact pin to `^4.17.21` in `services/email-service/package.json` and regenerated the lockfile so the workspace entry and `node_modules/` entry are consistent (`4.17.25` satisfies `^4.17.21`). The fix is on branch `claude-auto-fix-ci-claude/fix-lockfile-security-29433562601` (commit c0212bc). A PR could not be created automatically (GitHub Actions lacks PR-create permission) — please open it manually targeting `claude/fix-lockfile-security`. |
CI fix pushedThe "Playwright sign-in flow" failure was caused by a missing nested lockfile resolution. Root cause: Fix: Ran Branch with fix: Only 🤖 Generated with Claude Code |
CI fix applied — branch
|
… npm ci sync) Regenerated package-lock.json on linux/node20 (matching CI) to add the nested services/email-service/node_modules/@types/express@4.17.21 node that npm ci on ubuntu requires. Windows/npm11 hoisting hid this locally, so the gate-frontend-build 'npm ci out of sync' failure only reproduced on CI. Co-Authored-By: Claude <claude-opus-4-8> <noreply@anthropic.com> Claude-Session-Id: cf830721-b1ef-4fe0-a024-035ad280dcf7
CI Fix: Playwright sign-in timeoutsBranch with fix: `claude-auto-fix-ci-claude/fix-lockfile-security-29482192088` Root causeThe Playwright CI job failed because the frontend ( The tests expected Fix (commits pushed to `claude-auto-fix-ci-claude/fix-lockfile-security-29482192088`)
TypeScript build ( |
Problem
packages/securitywas added as a workspace in rootpackage.jsonbut is missing frompackage-lock.json, sogate-frontend-build(npm ci) is red on every PR.Fix
Regenerated the root lockfile so the
packages/securityworkspace is registered. Onlypackage-lock.jsonchanged (+ .gitignore for the isolated cache dir).Verify
npm ciresolves from clean (security workspace present, 5 references).🤖 Generated with Claude Code