Skip to content

fix: update WASM bucketing lib to 1.43.0 - #132

Merged
jonathannorris merged 1 commit into
mainfrom
chore/update-wasm-bucketing-1.43.0
Oct 8, 2026
Merged

jonathannorris merged 1 commit into
mainfrom
chore/update-wasm-bucketing-1.43.0

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • Bumps the @devcycle/bucketing-assembly-script WASM from 1.41.0 to 1.43.0 and updates the bundled wasm and update_wasm.sh.
  • Fixes linear gradual rollouts, which calculated the rollout percentage as n * t instead of c + (n - c) * t. Rollouts with a non-zero start percentage ramped up from 0, and rollbacks to 0% dropped straight to 0.
  • Also fixes the first ms of a linear stage returning 0 instead of the current stage percentage.
  • Ruby was on 1.41.0, so this also picks up the additive getConfigMetadata export from 1.42.x. Existing exports and host imports are unchanged.

Related Issues

@jonathannorris
jonathannorris marked this pull request as ready for review October 8, 2026 16:45
@jonathannorris
jonathannorris requested a review from a team as a code owner October 8, 2026 16:45
Copilot AI balanced review requested due to automatic review settings October 8, 2026 16:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The version update is consistent, and the bundled WASM has a valid compatible interface.

0 open findings

What changed in this PR

Updates the bundled WASM bucketing dependency to 1.43.0, incorporating corrected linear rollout interpolation and the additive metadata export.

Changes:

  • Updates the WASM download script from 1.41.0 to 1.43.0.
  • Preserves the existing host-import interface while adding getConfigMetadata.
File Description
lib/​devcycle-ruby-server-sdk/​localbucketing/​update_wasm.sh Downloads bucketing WASM version 1.43.0.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jonathannorris
jonathannorris merged commit ff0d230 into main Oct 8, 2026
9 checks passed
@jonathannorris
jonathannorris deleted the chore/update-wasm-bucketing-1.43.0 branch October 8, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants