General

Profile

sferik (Erik Berlin)

  • Login: sferik
  • Email: sferik@gmail.com
  • Registered on: 02/28/2011
  • Last sign in: 07/20/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 2 6

Activity

07/17/2026

08:27 AM Ruby Bug #22203 (Open): Coverage (eval: true): branch entries for re-eval'd code are nondeterministically duplicated
When the same code is eval'd more than once against the same file path under `Coverage.start(branches: true, eval: true)`, the branch section of `Coverage.result` sometimes contains one condition entry with accumulated arm counts, and so... sferik (Erik Berlin)
07:59 AM Ruby Feature #22202 (Open): Add Coverage.branch_stub and Coverage.method_stub as companions to Coverage.line_stub
`Coverage.line_stub(path)` compiles a file and returns its line coverage array as if the file had been loaded but never run. SimpleCov uses this method to include never-loaded files in a report so that their lines count toward the denomi... sferik (Erik Berlin)

07/09/2026

08:20 AM Ruby Bug #22179: Coverage: redefined methods silently disappear from method Coverage.result after GC
Thanks for the quick response and proposed fix. I left one minor note on your patch but overall it looks good to me.
Waiting a month for the Ractor-local GC work is fine. Do you know whether this fix will land in 4.1.0 or a patch rele...
sferik (Erik Berlin)

07/05/2026

12:39 AM Ruby Bug #22179 (Assigned): Coverage: redefined methods silently disappear from method Coverage.result after GC
When method coverage is enabled, a method that has been redefined vanishes from `Coverage.result` once GC runs. It is not reported as uncovered (count 0), it is missing altogether, so the set of methods reported for a file changes nondet... sferik (Erik Berlin)

03/17/2026

08:52 AM Ruby Revision 2602e3a9 (git): [ruby/net-http] Add existing RBS interface tests from ruby/rbs repo
https://github.com/ruby/net-http/commit/2842ca5539 sferik (Erik Berlin)

07/19/2025

01:54 PM Ruby Revision 4431ca53 (git): [ruby/fileutils] FileUtils.remove_dir checks directory
https://github.com/ruby/fileutils/commit/f0d7fc817b sferik (Erik Berlin)

07/18/2025

09:58 PM Ruby Revision bd27460c (git): Remove rehash checking TODO (GH-13919)
Hash#rehash checks for rehash during iteration, and there
seems to be no efficient way to check for it after the fact,
so remove the TODO.
sferik (Erik Berlin)
10:24 AM Ruby Revision 05f51cf3 (git): Extract arith_seq_take
sferik (Erik Berlin)

07/16/2025

08:13 PM Ruby Revision abc8745f (git): Avoid second RHASH_AR_TABLE_REF lookup
sferik (Erik Berlin)

06/28/2025

04:55 AM Ruby Revision eab4a0bc (git): Fix race condition in signal handler query (#13712)
* Fix race condition in signal handler query
* Initialize signal lock dynamically and reset after fork
* Fix signal handler mutex initialization conditions
sferik (Erik Berlin)

Also available in: Atom