chore: upgrade wasmtime to latest (39.0.1) to work with ruby 3.4.7#128
Merged
kaushalkapasi merged 3 commits intomainfrom Dec 16, 2025
Merged
chore: upgrade wasmtime to latest (39.0.1) to work with ruby 3.4.7#128kaushalkapasi merged 3 commits intomainfrom
kaushalkapasi merged 3 commits intomainfrom
Conversation
JamieSinn
approved these changes
Dec 16, 2025
9854418 to
cbb1f08
Compare
jonathannorris
approved these changes
Dec 16, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the wasmtime dependency from version 20.0.2 to 39.0.1 to ensure compatibility with Ruby 3.4.7. The upgrade requires updates to the WASM initialization code to align with breaking API changes in the newer wasmtime version.
Key changes:
- Updates wasmtime dependency version in gemspec
- Refactors WASM initialization to use new wasmtime API patterns (WasiConfig, wasi_p1_config, and P1.add_to_linker_sync)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| devcycle-ruby-server-sdk.gemspec | Updates wasmtime dependency from 20.0.2 to 39.0.1 |
| lib/devcycle-ruby-server-sdk/localbucketing/local_bucketing.rb | Refactors WASM initialization code to use new wasmtime API (WasiConfig instead of WasiCtxBuilder, updated Store and Linker initialization) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cbb1f08 to
a9e2c5a
Compare
JamieSinn
approved these changes
Dec 16, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…enfeature provider fetch_integer_value method
06a2559 to
ed1122a
Compare
jonathannorris
approved these changes
Dec 16, 2025
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.
wasmtimeto39.0.1(Dec 05, 2025 release)ruby/setup-ruby@v1.264.0to support up toruby 3.4.7and addsruby 3.4.1to unit test workflow on GH Actionsfetch_integer_valuemethod in the OpenFeature provider to always cast the response to integer and return it0.4.1