Skip to content

Update Ruby Wasm to v2.7.2 which provides Ruby v3.4#897

Merged
hatemhosny merged 2 commits intolive-codes:developfrom
mtantawy:develop
Oct 11, 2025
Merged

Update Ruby Wasm to v2.7.2 which provides Ruby v3.4#897
hatemhosny merged 2 commits intolive-codes:developfrom
mtantawy:develop

Conversation

@mtantawy
Copy link
Copy Markdown
Contributor

@mtantawy mtantawy commented Oct 8, 2025

What type of PR is this? (check all applicable)

  • ✨ Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • ♻️ Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert
  • 🌐 Internationalization / Translation

Description

Updates Ruby version to 3.4 using Ruby Wasm
Based on https://github.com/ruby/ruby.wasm/releases/tag/2.7.2

Related Tickets & Documents

Links to #875

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentations?

  • 📓 docs (./docs)
  • 📕 storybook (./storybook)
  • 📜 README.md
  • 🙅 no documentation needed

Summary by CodeRabbit

  • Documentation

    • Updated references to ruby.wasm v2.7.2 running Ruby v3.4.
  • Chores

    • Upgraded embedded Ruby WASM resources to 3.4-wasm-wasi v2.7.2, replacing prior 3.3/2.6.2 URLs.
    • Ensures the app loads the latest Ruby WASM runtime for in-browser Ruby execution.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Oct 8, 2025

Walkthrough

Updated Ruby WASM version references from 2.6.2/ Ruby 3.3 to 2.7.2/ Ruby 3.4 across documentation and vendor URLs. No control-flow, API surface, or structural changes.

Changes

Cohort / File(s) Summary
Docs: Ruby WASM version note
docs/docs/languages/ruby-wasm.mdx
Bumped displayed versions: ruby.wasm v2.6.2 → v2.7.2; Ruby v3.3 → v3.4.
Vendor URLs: Ruby WASM resources
src/livecodes/vendors.ts
Updated exported URL constants to 3.4-wasm-wasi@2.7.2 and wasm-wasi@2.7.2 browser UMD script. Names and control flow unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I thump my paws: new bytes to see,
From 2.6 to 2.7 we leap with glee.
Ruby hops to 3.4’s light,
URLs aligned, all snug and right.
Carrots cached, docs crisp and clean—
Ship it quick, a silky green! 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly and accurately summarizes the primary change of the pull request by stating the version bump of Ruby Wasm to v2.7.2 and its provision of Ruby v3.4, directly reflecting the updates made in both documentation and code.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0a9d0bb and 57166be.

📒 Files selected for processing (2)
  • docs/docs/languages/ruby-wasm.mdx (1 hunks)
  • src/livecodes/vendors.ts (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Redirect rules - livecodes
  • GitHub Check: Header rules - livecodes
  • GitHub Check: Pages changed - livecodes
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: build
  • GitHub Check: tests (18.x, 5)
  • GitHub Check: tests (18.x, 1)
  • GitHub Check: tests (18.x, 4)
  • GitHub Check: tests (18.x, 3)
  • GitHub Check: tests (18.x, 2)
  • GitHub Check: build (18.x)
🔇 Additional comments (2)
docs/docs/languages/ruby-wasm.mdx (1)

47-47: LGTM — verify Ruby 3.4 compatibility.
Review key compatibility changes before release:

  • Implicit-it block parameter semantics
  • Frozen string literals by default (without # frozen_string_literal: true)
  • Default parser switched to Prism
  • Keyword splat accepts **nil
  • Happy Eyeballs v2 networking behavior
src/livecodes/vendors.ts (1)

394-398: LGTM — new Ruby Wasm URLs are accessible (HTTP 301/200) and no 2.6.2 or 3.3-wasm references remain in source


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 8, 2025

Deploy Preview for livecodes ready!

Name Link
🔨 Latest commit fe0f55b
🔍 Latest deploy log https://app.netlify.com/projects/livecodes/deploys/68ea6ef1d15e4e0008892181
😎 Deploy Preview https://deploy-preview-897--livecodes.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

@mtantawy
Copy link
Copy Markdown
Contributor Author

@hatemhosny anything missing for this PR to get merged?

@hatemhosny
Copy link
Copy Markdown
Collaborator

Thank you @mtantawy
For some reason, I did not get a notification for this PR.
Thank you 🌹

@hatemhosny hatemhosny merged commit 7a6a5fc into live-codes:develop Oct 11, 2025
16 checks passed
@mtantawy
Copy link
Copy Markdown
Contributor Author

Thank you @mtantawy For some reason, I did not get a notification for this PR. Thank you 🌹

No worries, glad I could help!

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.

2 participants