Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Fix pnpm ERR_PNPM_IGNORED_BUILDS for koffi - #88

Merged
chata merged 1 commit into
developfrom
fix/allow-builds-koffi
Sep 12, 2026
Merged

chata merged 1 commit into
developfrom
fix/allow-builds-koffi

Conversation

@chata

@chata chata commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Why

Renovate PR #82 ("chore(deps): lock file maintenance") fails all CI jobs with:

ERR_PNPM_IGNORED_BUILDS  Ignored build scripts: koffi@3.1.6

koffi is a new transitive dependency introduced through openclaw. It ships prebuilt binaries as @koromix/koffi-* optional packages, making its build script unnecessary. The repo's pnpm-workspace.yaml already has an allowBuilds: map for other native packages — this PR adds koffi to that list to resolve the install failure.

What changed

Added koffi: false to the allowBuilds section in pnpm-workspace.yaml in alphabetical order with existing entries, with a one-line comment explaining that prebuilt @koromix/koffi-* binaries make the build script unnecessary.

koffi 3.1.6 is a transitive dependency introduced by openclaw through lock file
maintenance in Renovate PR #82. koffi ships prebuilt binaries as @koromix/koffi-*
optional packages, making its build script unnecessary. Without adding koffi to
the allowBuilds map, pnpm fails with ERR_PNPM_IGNORED_BUILDS during install.
Copilot AI balanced review requested due to automatic review settings September 12, 2026 15:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused configuration change follows the repository’s established dependency-build policy.

Pull request overview

Adds the required pnpm build-policy entry so Renovate lockfile maintenance can install koffi without running its unnecessary build script.

Changes:

  • Adds koffi: false to allowBuilds.
  • Documents why koffi’s build script is disabled.
File summaries
File Description
pnpm-workspace.yaml Allows pnpm to skip koffi’s build script.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chata
chata merged commit b6f0dd5 into develop Sep 12, 2026
9 checks passed
@chata
chata deleted the fix/allow-builds-koffi branch September 12, 2026 15:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants