Skip to content

Release readiness: fix stale VM version checks and lockfiles - #83

Merged
AdamMusa merged 4 commits into
mainfrom
chore/release-readiness
Nov 20, 2026
Merged

AdamMusa merged 4 commits into
mainfrom
chore/release-readiness

Conversation

@AdamMusa

@AdamMusa AdamMusa commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

Small hygiene fixes found while checking the repo for the next release: only the ones that are safe to fix without a release decision. The blockers it leaves alone are listed at the end.

  • tools/embedded_vm_harness/tests/ruflet_gem_test.rb / ruflet_record_gem_test.rb pinned "0.0.22" and "0.0.1", so the packaged-VM check in release.md failed even on a VM built from current sources. They now read the expected version from the version files. The VM compiles those packages, so a mismatch means the archive under test wasn't rebuilt after the bump.
    • On an arm64 VM built from main, both pass (0.0.23).
    • On the committed ruby_runtime/macos/Frameworks/libruflet_vm.a, both fail: it still embeds Ruflet 0.0.21 and RufletRecord 0.0.1.
  • Lockfiles. packages/ruflet_rails/Gemfile.lock and packages/ruflet_record/Gemfile.lock still recorded the path gems at 0.0.22 and 0.0.1, so every bundle exec rake test rewrote them. This is bundler's own update.
  • 0.0.8. An empty, unreferenced file at the repo root (from d491812) is removed.

Release blockers this PR does not fix

  • All five gems are already published at 0.0.23 (tag v0.0.23 exists), so the next release needs a version bump.
  • Every committed VM (macOS, iOS device and simulator, Android ×4, Linux ×2, Windows) embeds the 0.0.21 framework and must be rebuilt. That rebuild is also needed for fix: carry mruby's method_missing splat-keyword fix (550d10a) on the pinned VM #81. The vm-manifest.json files are hand-maintained and still say 0.0.21; the iOS manifest's sha256 values don't match the committed slices since 6dc8efd.
  • ruby_runtime on pub.dev is still 0.0.14, so its 0.0.23 changelog entry has never been published.

ruflet_gem_test and ruflet_record_gem_test pinned "0.0.22" and "0.0.1",
so release.md's packaged-VM check has failed since the 0.0.23 bump even on
a VM built from current sources. Read the expected versions from the
version files instead: the VM compiles packages/ruflet_core and
packages/ruflet_record into the archive, so a mismatch means the archive
was built from other sources, which for a release means it was not rebuilt
after the bump.

On an arm64 VM built from main both now pass (0.0.23). On the committed
ruby_runtime/macos/Frameworks/libruflet_vm.a they fail as they should:
it still carries Ruflet 0.0.21 and RufletRecord 0.0.1.
The ruflet_rails and ruflet_record lockfiles still recorded the path gems
at 0.0.22 and 0.0.1, so `bundle exec rake test` rewrote them on every run
and left the tree dirty. This is bundler's own update to 0.0.23.

0.0.8 is an empty file at the repository root, added by d491812 and
referenced nowhere; it looks like the output of an unquoted `>=0.0.8`.
@AdamMusa
AdamMusa marked this pull request as ready for review November 16, 2026 06:24
@AdamMusa
AdamMusa merged commit caa4ca9 into main Nov 20, 2026
10 checks passed
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.

1 participant