Repository navigation
ci: fix js_test (tool installation and lint) - #313
Merged
Merged
Conversation
Alnusjaponica
force-pushed
the
ci/cargo-install-locked
branch
from
November 19, 2026 03:08
0057efd to
e2566fb
Compare
Alnusjaponica
marked this pull request as draft
November 19, 2026 03:34
Alnusjaponica
marked this pull request as ready for review
November 19, 2026 06:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
js_testhas been failing on every PR since the cachedwasm-bindgenbinary stopped being reused (e.g. #260). This PR fixes the failures and makes the tool installation injs_testreproducible.1.
wasm-bindgen-clifails to compileWithout
--locked,cargo installresolves the dependencies of wasm-bindgen-cli to their latest versions. The recently released filetime 0.2.30 usesfs::set_times, which is unstable on the pinned toolchain (nightly-2026-08-07).wasm-bindgen-cli: add--lockedso that the lockfile shipped with wasm-bindgen-cli is used (filetime 0.2.29).wasm-opt: pin the version to 0.116.1 (the current latest) and add--locked. It was installed with neither a version nor--locked, so it could break in the same way.2.
tsc: command not foundThe workflow never installed TypeScript and relied on
tscbeing available on the runner. The last successful run used theubuntu-24.04image, wheretscwas onPATH;ubuntu-latestnow resolves toubuntu-26.04, where it is not.typescript@7.0.2(the current latest) explicitly.3. The Lint step was not running Biome
npm i -g biomeinstallsbiome0.3.3, an unrelated environment variable manager, not@biomejs/biome.biome ci ...with that package prints nothing and exits with 0, so the Lint step has been passing without checking anything.@biomejs/biome@2.6.8(the current latest) instead.rustuna_js/test/*.mjs: import order,==→===, an unused import, unused variables, andlet→const. Thesuggest_categoricalcalls are kept because they register the parameter.