Skip to content

Conversation

@kaushalkapasi
Copy link
Contributor

@kaushalkapasi kaushalkapasi commented Dec 16, 2025

  • chore: updates wasmtime to 39.0.1 (Dec 05, 2025 release)
    • update wasm initialization code to work with wasmtime upgdate
  • chore: bump ruby/setup-ruby@v1.264.0 to support up to ruby 3.4.7 and adds ruby 3.4.1 to unit test workflow on GH Actions
  • fix: updates the fetch_integer_value method in the OpenFeature provider to always cast the response to integer and return it
  • chore: bumps OpenFeature Ruby to 0.4.1

Copilot AI review requested due to automatic review settings December 16, 2025 16:24
@kaushalkapasi kaushalkapasi requested a review from a team as a code owner December 16, 2025 16:24
@kaushalkapasi kaushalkapasi force-pushed the chore-update-wasmtime-rb branch from 9854418 to cbb1f08 Compare December 16, 2025 16:33
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 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.

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

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
@kaushalkapasi kaushalkapasi merged commit 0d8efc3 into main Dec 16, 2025
8 checks passed
@kaushalkapasi kaushalkapasi deleted the chore-update-wasmtime-rb branch December 16, 2025 20:25
@kaushalkapasi kaushalkapasi linked an issue Dec 16, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Ruby 3.4.7 support

4 participants