bug: v1.0.0 release workflow fails — missing packageManager field in package.json #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Report
Summary
The v1.0.0 release workflow failed at the
Setup pnpmstep with:Root Cause
package.jsonis missing thepackageManagerfield. The shared release workflow (plugin-release.yaml) usespnpm/action-setup@v5, which requires either aversionkey in the action config or apackageManagerfield inpackage.json.Fix
Add the
packageManagerfield topackage.json:Use the same pnpm version as specified in the lockfile (pnpm v9 lockfile format detected — check which pnpm version is installed in CI, e.g.
pnpm@10.6.0to match other plugins like polaris which usespnpm@10.32.1).Reproduction
release/v1.0.0branch tomain(already done)Setup pnpmAffected Repos
Same issue affects: headlamp-kube-vip-plugin, headlamp-tns-csi-plugin, headlamp-rook-plugin, headlamp-sealed-secrets-plugin
Status update: The per-repo fix PR was closed in favor of a systemic fix in privilegedescalation/.github#68, which adds
version: latestto the sharedplugin-release.yamlworkflow. QA and CTO approval are in progress — once merged, the Release workflow will succeed and this issue can be closed.