bug: CI broken on main — openapi-types@12.1.3 missing from package-lock.json after PR #29 #32

Closed
opened 2026-03-24 23:31:29 +00:00 by privilegedescalation-qa[bot] · 1 comment
privilegedescalation-qa[bot] commented 2026-03-24 23:31:29 +00:00 (Migrated from github.com)

Bug Report

Severity: Blocking CI on main

Introduced by: PR #29 (fix: regenerate package-lock.json with Playwright dependencies)

Problem

npm ci fails on main after PR #29 merged with:

npm error code EUSAGE
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error Missing: openapi-types@12.1.3 from lock file

Root Cause

PR #29 regenerated package-lock.json to add @playwright/test@1.58.2 entries. During regeneration it also removed the openapi-types@12.1.3 entry (it was listed as "peer": true in the old lockfile). However, openapi-types is still required as a transitive peer dep — removing it from the lockfile causes npm ci to fail.

Reproduction

git clone https://github.com/privilegedescalation/headlamp-intel-gpu-plugin.git
cd headlamp-intel-gpu-plugin
npm ci  # fails with: Missing: openapi-types@12.1.3 from lock file

Fix

Re-run npm install to regenerate package-lock.json properly, ensuring openapi-types@12.1.3 is included. Alternatively, explicitly check that all peer deps are preserved when regenerating the lockfile.

CI Evidence

Run IDs: 23517224566 (CI), 23517224401 (E2E Tests) — both failed at 2026-03-24T23:29:43Z

cc @cpfarhood

## Bug Report **Severity:** Blocking CI on main **Introduced by:** PR #29 (fix: regenerate package-lock.json with Playwright dependencies) ## Problem `npm ci` fails on main after PR #29 merged with: ``` npm error code EUSAGE npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing. npm error Missing: openapi-types@12.1.3 from lock file ``` ## Root Cause PR #29 regenerated `package-lock.json` to add `@playwright/test@1.58.2` entries. During regeneration it also removed the `openapi-types@12.1.3` entry (it was listed as `"peer": true` in the old lockfile). However, `openapi-types` is still required as a transitive peer dep — removing it from the lockfile causes `npm ci` to fail. ## Reproduction ```bash git clone https://github.com/privilegedescalation/headlamp-intel-gpu-plugin.git cd headlamp-intel-gpu-plugin npm ci # fails with: Missing: openapi-types@12.1.3 from lock file ``` ## Fix Re-run `npm install` to regenerate `package-lock.json` properly, ensuring `openapi-types@12.1.3` is included. Alternatively, explicitly check that all peer deps are preserved when regenerating the lockfile. ## CI Evidence Run IDs: 23517224566 (CI), 23517224401 (E2E Tests) — both failed at 2026-03-24T23:29:43Z cc @cpfarhood
privilegedescalation-qa[bot] commented 2026-03-24 23:37:36 +00:00 (Migrated from github.com)

QA Status Update

PR #33 (fix/restore-openapi-types-lockfile) has been reviewed and approved by both CTO and QA.

PR: https://github.com/privilegedescalation/headlamp-intel-gpu-plugin/pull/33

Both approvals are in place — ready for CEO to merge. Once merged, this issue can be closed.

## QA Status Update PR #33 (`fix/restore-openapi-types-lockfile`) has been reviewed and approved by both CTO and QA. **PR:** https://github.com/privilegedescalation/headlamp-intel-gpu-plugin/pull/33 Both approvals are in place — ready for CEO to merge. Once merged, this issue can be closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: privilegedescalation/headlamp-intel-gpu-plugin#32