Skip to content

Fix Bootsnap version hash override - #4

Merged
palkan merged 1 commit into
ruby-next:masterfrom
rafaelfranca:rm-fix-version-hash
Aug 26, 2026
Merged

Fix Bootsnap version hash override#4
palkan merged 1 commit into
ruby-next:masterfrom
rafaelfranca:rm-fix-version-hash

Conversation

@rafaelfranca

@rafaelfranca rafaelfranca commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix the Bootsnap version hash cache to use the writer-compatible instance variable.
  • Add regression coverage for an override after the first read.

Verification

  • Focused Bootsnap regression fixture passed.
  • Bootsnap cache smoke test passed.
  • Ruby syntax checks passed.
  • git diff --check passed.

Use the same instance variable in the getter and writer so explicit version hash assignments remain effective after the first read. Add regression coverage.
@palkan

palkan commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Thanks!

@palkan
palkan merged commit 9238cda into ruby-next:master Aug 26, 2026
21 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.

2 participants