Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Sep 18, 2025

Package version is used by NAPI-RS in the bindings file it generates.

Adapt the pre-release workflow to run NAPI-RS build when creating a release PR, so that the version number in bindings files matches the new version number.

This change covers all NAPI packages in crates pre-release workflow, and also oxlint in its pre-release workflow.

Copy link
Member Author

overlookmotel commented Sep 18, 2025


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 September 18, 2025 15:15
@graphite-app graphite-app bot changed the base branch from 09-18-fix_linter_set_package_version_in_package.json_ to graphite-base/13895 September 18, 2025 15:21
graphite-app bot pushed a commit that referenced this pull request Sep 18, 2025
The version field is used by NAPI build. Bring it up to date.

#13895 updates the pre-release workflow so it's kept in sync in future.
@overlookmotel overlookmotel force-pushed the 09-18-fix_build_bump_package_version_in_apps_oxlint_in_pre-release_workflow branch from 91e50b8 to fa421cf Compare September 18, 2025 15:22
@overlookmotel overlookmotel changed the base branch from graphite-base/13895 to 09-18-fix_linter_set_package_version_in_package.json_ September 18, 2025 15:22
Base automatically changed from 09-18-fix_linter_set_package_version_in_package.json_ to main September 18, 2025 15:25
@overlookmotel
Copy link
Member Author

overlookmotel commented Sep 18, 2025

@camc314 Are you familiar with the release workflows? I've requested Boshen's review, because my assumption was he's the only one who understands this side of things well. But maybe I'm wrong and you do too. If so, we could merge this.

@camc314
Copy link
Contributor

camc314 commented Sep 18, 2025

ish? lets try running the workflow > https://github.com/oxc-project/oxc/actions/runs/17835050852

@camc314
Copy link
Contributor

camc314 commented Sep 18, 2025

@overlookmotel overlookmotel changed the base branch from main to graphite-base/13895 September 19, 2025 09:21
@overlookmotel overlookmotel force-pushed the 09-18-fix_build_bump_package_version_in_apps_oxlint_in_pre-release_workflow branch from fa421cf to 4248ed8 Compare September 19, 2025 09:21
@overlookmotel overlookmotel changed the base branch from graphite-base/13895 to 09-19-fix_napi_parser_move_browser.js_file September 19, 2025 09:21
Base automatically changed from 09-19-fix_napi_parser_move_browser.js_file to main September 19, 2025 09:24
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 19, 2025

CodSpeed Instrumentation Performance Report

Merging #13895 will not alter performance

Comparing 09-18-fix_build_bump_package_version_in_apps_oxlint_in_pre-release_workflow (4248ed8) with main (15eb326)1

Summary

✅ 37 untouched

Footnotes

  1. No successful run was found on main (bd2fa90) during the generation of this report, so 15eb326 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@overlookmotel
Copy link
Member Author

overlookmotel commented Sep 19, 2025

Fixed now.

I ran the pre-release workflows on this PR's branch for crates, oxlint and oxfmt.

The resulting PRs: #13920, #13921, #13922.

All looks correct. The bindings files in napi/* and apps/oxlint all contain the updated version number.

Only problems are:

  1. Duplicate changelogs in oxlint workflow (release(oxlint): v1.17.0 #13921). But I think that's a pre-existing problem, right?
  2. Miri fail. Unrelated - there seems to be a memory leak in browserslist.

@overlookmotel
Copy link
Member Author

Have tested it and it works, so merging.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Sep 20, 2025
Copy link
Member Author

overlookmotel commented Sep 20, 2025

Merge activity

…flow (#13895)

Package version is used by NAPI-RS in the bindings file it generates.

Adapt the pre-release workflow to run NAPI-RS build when creating a release PR, so that the version number in bindings files matches the new version number.

This change covers all NAPI packages in `crates` pre-release workflow, and also `oxlint` in its pre-release workflow.
@graphite-app graphite-app bot force-pushed the 09-18-fix_build_bump_package_version_in_apps_oxlint_in_pre-release_workflow branch from 4248ed8 to 807dbb3 Compare September 20, 2025 08:50
Copilot AI review requested due to automatic review settings September 20, 2025 08:50
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@graphite-app graphite-app bot merged commit 807dbb3 into main Sep 20, 2025
19 checks passed
@graphite-app graphite-app bot deleted the 09-18-fix_build_bump_package_version_in_apps_oxlint_in_pre-release_workflow branch September 20, 2025 08:55
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants