Skip to content

Remove --unsafe-perm from the FreeBSD build - #20565

Merged
RobinMalfait merged 1 commit into
mainfrom
robin/fix-freebsd-unsafe-perm
Oct 12, 2026
Merged

RobinMalfait merged 1 commit into
mainfrom
robin/fix-freebsd-unsafe-perm

Conversation

@RobinMalfait

@RobinMalfait RobinMalfait commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

The Build x86_64-unknown-freebsd (OXIDE) job of the Release workflow fails on main since #20550 (latest failure):

npm error code EUNKNOWNCONFIG
npm error Unknown cli flag:
npm error   - --unsafe-perm

The FreeBSD package repository now installs npm-12.0.2, which rejects unknown CLI flags. --unsafe-perm has been a no-op since npm 7, so this PR removes it from release.yml and prepare-release.yml.

Test plan

The Release workflow only runs on main, so the next push to main verifies the fix.

The FreeBSD package repository now ships npm 12, which errors on the
unknown `--unsafe-perm` flag. The flag has been a no-op since npm 7, so
it is safe to remove.
@RobinMalfait
RobinMalfait requested a review from a team as a code owner October 12, 2026 15:54
@greptile-apps

greptile-apps Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High impact] This PR appears safe to merge.

Reviews (1) · Last reviewed commit: "Remove `--unsafe-perm` from the FreeBSD ..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d1a333e0-65f1-4cdd-a0da-fc0e9f0925b6

📥 Commits

Reviewing files that changed from the base of the PR and between 1db5858 and 8fc89fe.


📒 Files selected for processing (2)
  • .github/workflows/prepare-release.yml
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.



Walkthrough

The prepare-release and release workflows remove --unsafe-perm=true from the global pnpm installation command used for FreeBSD.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 8fc89

The change removes the reported npm-incompatible option while preserving the pnpm build flow; no actionable merge-blocking risk is evident.

Pre-merge checks | Passed 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly and concisely identifies the main change: removing the --unsafe-perm flag from the FreeBSD build.
Description check Passed The description directly explains the FreeBSD build failure, the npm compatibility issue, the affected workflows, and the planned verification.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RobinMalfait
RobinMalfait merged commit dfddfcd into main Oct 12, 2026
8 checks passed
@RobinMalfait
RobinMalfait deleted the robin/fix-freebsd-unsafe-perm branch October 12, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant