Ruby Core Updates: Edge Case Cleanup Across the Interpreter
Today's activity is dominated by fixes for edge cases that silently corrupted state or data — from lost keyword arguments in ZJIT to a stack-use-after-return bug in the Prism parser. The common thread: correctness fixes in low-level, rarely-hit code paths that matter most under load or unusual input.
Duration: PT2M31S
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-07-19T13:06:15Z
- Audio duration: PT2M31S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, and welcome to Ruby Core Updates for July 19th, 2026.
The signal today is edge-case correctness. Several changes fix situations where the interpreter's fast paths or size assumptions quietly broke down under conditions most developers never hit directly — but that make Ruby more reliable when they do.
Start with ZJIT. PR 17971 from dak2 fixes a case where invoking a block through an ifunc specialization dropped keyword argument metadata, because the fast path hardcoded keyword splat to false. The fix gates that specialization behind the same inlinability check used elsewhere, so keyword arguments keep their…
A similar theme shows up in object shapes. Peter Zhu's PR 17970 handles a capacity overflow: when an object is larger than 1024 bytes, the shape ID's capacity field could overflow and produce a wrong size. The fix caps it at the maximum and falls back to asking the garbage collector directly for the real slot size —…
Peter also has two smaller but related fixes: PR 17969 makes ISEQ dumps include the mandatory-only argument path, not just the full-arguments case, closing a blind spot in debugging output. And PR 17835 tightens visibility by making a case-when literal…
Outsi…
Nearby episodes from Ruby Core Updates
- Paths, Quotes, and Longjmp Landmines
- Boot Time and the Struct Layout Trade-off
- Weekly Recap - JIT Maturity and Memory Safety
- Correctness Fixes Take Center Stage
- Fiber Safety and Runtime Introspection
- JIT Stability and the Longjmp Problem
- Concurrency Bugs and JIT Speedups
- Object Layout Cleanup and Concurrency Hardening