Skip to content

fix(oxlint, oxfmt): update bindings.js files#19229

Merged
overlookmotel merged 1 commit intomainfrom
om/02-10-fix_oxlint_oxfmt_update_bindings.js_files
Feb 10, 2026
Merged

fix(oxlint, oxfmt): update bindings.js files#19229
overlookmotel merged 1 commit intomainfrom
om/02-10-fix_oxlint_oxfmt_update_bindings.js_files

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Feb 10, 2026

We had a failed apps release today. In the first attempt at releasing a87b845 the bindings.js files got updated with new version numbers. But in the 2nd release (the successful one) c705f95, for some reason they weren't.

Run pnpm run build-js for both Oxlint and Oxfmt to update the bindings.js files to contain the correct version numbers.

The packages published to NPM have incorrect version numbers but I don't think this is a big problem - it'll only cause an error if Oxlint/Oxfmt are run with NAPI_RS_ENFORCE_VERSION_CHECK=1.

So I think this PR is probably all we need to do, just to get CI Test NAPI task passing again.

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI A-formatter Area - Formatter A-linter-plugins Area - Linter JS plugins C-bug Category - Bug labels Feb 10, 2026
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review February 10, 2026 16:48
Copilot AI review requested due to automatic review settings February 10, 2026 16:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the auto-generated NAPI-RS bindings.js files for Oxlint and Oxfmt so their native binding package version checks match the versions that were actually released, unblocking CI’s Test NAPI task.

Changes:

  • Update Oxlint native binding expected version checks from 1.44.01.45.0.
  • Update Oxfmt native binding expected version checks from 0.29.00.30.0.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
apps/oxlint/src-js/bindings.js Bumps the expected @oxlint/binding-* package version used by the optional NAPI-RS version enforcement check.
apps/oxfmt/src-js/bindings.js Bumps the expected @oxfmt/binding-* package version used by the optional NAPI-RS version enforcement check.

@overlookmotel
Copy link
Member Author

Am going to merge this just to get CI green again.

@overlookmotel overlookmotel merged commit 5a16f10 into main Feb 10, 2026
25 checks passed
@overlookmotel overlookmotel deleted the om/02-10-fix_oxlint_oxfmt_update_bindings.js_files branch February 10, 2026 16:51
owjs3901 pushed a commit to owjs3901/oxc that referenced this pull request Feb 11, 2026
We had a failed apps release today. In the first attempt at releasing
a87b845 the `bindings.js` files got
updated with new version numbers. But in the 2nd release (the successful
one) c705f95, for some reason they
weren't.

Run `pnpm run build-js` for both Oxlint and Oxfmt to update the
`bindings.js` files to contain the correct version numbers.

The packages published to NPM [have incorrect version
numbers](https://www.npmjs.com/package/oxlint?activeTab=code) but I
don't think this is a big problem - it'll only cause an error if
Oxlint/Oxfmt are run with `NAPI_RS_ENFORCE_VERSION_CHECK=1`.

So I think this PR is probably all we need to do, just to get CI Test
NAPI task passing again.
OskarLebuda pushed a commit to OskarLebuda/oxc that referenced this pull request Feb 17, 2026
We had a failed apps release today. In the first attempt at releasing
a87b845 the `bindings.js` files got
updated with new version numbers. But in the 2nd release (the successful
one) c705f95, for some reason they
weren't.

Run `pnpm run build-js` for both Oxlint and Oxfmt to update the
`bindings.js` files to contain the correct version numbers.

The packages published to NPM [have incorrect version
numbers](https://www.npmjs.com/package/oxlint?activeTab=code) but I
don't think this is a big problem - it'll only cause an error if
Oxlint/Oxfmt are run with `NAPI_RS_ENFORCE_VERSION_CHECK=1`.

So I think this PR is probably all we need to do, just to get CI Test
NAPI task passing again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-formatter Area - Formatter A-linter Area - Linter A-linter-plugins Area - Linter JS plugins C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments