Repository navigation
Bump Javy to 7.1.0 and fetch the plugin wasm with inlay - #210
Merged
Merged
Conversation
andreaTP
force-pushed
the
javy-7.1-inlay
branch
from
September 22, 2026 16:43
a4ba8ea to
0525a93
Compare
Bump javy-plugin-api 7.0.0 -> 7.1.0 (javy 8.1.0, rquickjs 0.12.2). Stop committing javy_quickjs4j_plugin.wasm: inlay now fetches it from ghcr.io/roastedroot/quickjs4j-javy-plugin, pinned by digest in wkg.lock, so building no longer needs a Rust toolchain. - wasm-publish.yml publishes the snapshot tag on changes to javy-plugin/ and re-pins wkg.lock once the test suite passes against it - release.yml retags the tested snapshot digest as the release version, pins the build to it, refuses to release against a SNAPSHOT tag, and restores the snapshot afterwards - javy-plugin.yml tests PRs touching javy-plugin/ against a wasm built from source, since the pinned one does not reflect their changes
andreaTP
force-pushed
the
javy-7.1-inlay
branch
from
September 23, 2026 11:01
0525a93 to
da89cd2
Compare
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.
Bumps
javy-plugin-apifrom 7.0.0 to 7.1.0 (javy 8.1.0, rquickjs 0.12.2). No source changes were needed.It also stops committing
javy_quickjs4j_plugin.wasm, using the same setup Endive uses forcranelift_bridge.wasm. The inlay Maven plugin now fetches the wasm fromghcr.io/roastedroot/quickjs4j-javy-pluginduringgenerate-sources, pinned by digest inwkg.lock. Building no longer needs a Rust toolchain. inlay skips the download when the file already exists, so a localmake -C javy-plugin buildstill takes priority.Pipelines
wasm-publish.yml(new): when a push tomaintouchesjavy-plugin/**(or on a manual run), it builds the wasm and publishes it as999.0.0-SNAPSHOT. It then runs the full test suite with-Dinlay.updateand commits the re-pinnedwkg.lock. A wasm that fails the tests is never pinned.release.yml: retags the tested snapshot digest as the release version, points thejavy-plugin.versionproperty at it and re-pins the lock. It refuses to deploy if the property still resolves to a SNAPSHOT tag, and restores the snapshot afterwards. Releases don't need Rust.javy-plugin.yml(new): PRs that touchjavy-plugin/**(including Dependabot cargo bumps) are tested against a wasm built from source. Without it they'd be tested against the old pinned wasm.inlay:fetchis bound toinitializerather than its defaultgenerate-sources, because the endive compiler runs in that same phase and spotlesssortPomis free to reorder plugin declarations.Bootstrap
The first
999.0.0-SNAPSHOTwas pushed by hand from the same wasm this PR was tested with. The package is linked to this repo and is public. Once this PR merges,wasm-publish.ymlruns becauseCargo.toml/Cargo.lockchanged. It republishes the snapshot and re-pinswkg.lockautomatically.Testing
mvn installpasses against the rebuilt wasm.🤖 Generated with Claude Code