Ruby Core Updates: Refinement Fixes and CI Improvements

Jeremy Evans fixed critical refinement handling bugs in Method#super_method that caused infinite loops and incorrect lookup behavior. The team also streamlined CI workflows and addressed security vulnerabilities in IO::Buffer operations.

Duration: PT2M14S

Episode overview

This episode is a short developer briefing from Ruby Core Updates.

It explains recent repository work in plain language.

  • Show: Ruby Core Updates
  • Published: 2026-05-20T10:01:43Z
  • Audio duration: PT2M14S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. This is Ruby Core Updates for May 20th, 2026.

Jeremy Evans merged a significant fix for refinement handling in Method and UnboundMethod super_method calls. The change resolves infinite loops that occurred with refined methods and corrects lookup logic to consider refinements activated at the method's call site rather than the caller of super_method. This…

Several IO::Buffer security fixes were merged. Himura467 addressed a use-after-free vulnerability in IO::Buffer's bitwise NOT operator when called on invalidated slices, matching a previous fix for similar operations.

Alan Wu optimized ZJIT's x64 assembly generation, replacing 10-byte movabs instructions with more efficient 7-byte sign-extending mov instructions for small negative immediates. This change reduced code region size by approximately 1% in benchmark testing.

The team made extensive CI workflow improvements. Hiroshi Shibata updated GitHub Actions configurations across multiple Ruby versions to use workflow_dispatch instead of scheduled triggers, enabling better cross-branch testing. The changes also replaced hardcoded snapshot directory patterns with configurable…

Nobuyoshi Nakada simplified the…

Nearby episodes from Ruby Core Updates

  1. Weekly Recap - ZJIT Optimization & Performance Improvements
  2. ZJIT Improvements and String Performance
  3. JIT Compiler Fixes and GC Improvements
  4. CI Workflow Cleanup and Memory Management
  5. Security Fixes and Testing Infrastructure Overhaul
  6. Memory Safety and Performance Optimizations
  7. Refinement Fixes and Documentation Improvements
  8. Weekly Recap - Refinements & Infrastructure Improvements