Activity
From 02/28/2024 to 03/05/2024
03/05/2024
- 09:19 PM Revision 23dc7aa2 (git): .travis.yml: Allow failures for arm64 and arm32 cases temporarily.
- It's to avoid the failures by the infra issues in the term of the following
maintenance.
There is a planned maintena... -
08:53 PM Misc #20013: Travis CI status
- jaruga (Jun Aruga) wrote in #note-28:
> I noticed the following announcement that would happen on this Wednesday, 6t... -
08:00 PM Bug #20325: Enumerator.product.size bug with zero * infinite enumerators
- I don't think this is a bug, the documentation and tests say the current behavior is intentional:
> "Returns the ... -
03:21 PM Bug #20325 (Closed): Enumerator.product.size bug with zero * infinite enumerators
- ``` ruby
Enumerator.product([], 1..).to_a # => [] (OK)
Enumerator.product([], 1..).size # => Infinity (Should be 0)... -
04:07 PM Revision 8f6113a9 (git): [ruby/irb] Add the ability to fetch and load multiple irb files.
- (https://github.com/ruby/irb/pull/859)
This allows hierarchy when loading rc files for example both files below
are ... - 09:50 AM Revision 226a889d (git): [DOC] fix some comments
- Signed-off-by: cui fliter <[email protected]>
-
08:03 AM Revision 8e27c01f (git): Reapply "mkmf.rb: Define missing `POSTLINK` variable in generated Makefile"
- This reverts commit 0ae0a0c1c3bb01d118c5a924d731a2b3e9774105.
-
07:13 AM Revision b582e5a6 (git): [rubygems/rubygems] Clear generated files recursively
- On macOS, `dsymutil` utility splits debug info into .dSYM directory.
Glob list of `.bundle/cache/extensions/**/*binar... -
06:53 AM Revision e1026000 (git): [rubygems/rubygems] Use `IO.popen` to list files
- - Redirect stderr `git ls-files` to null without shelling out.
- When building by `gem`, `__FILE__` is the path name... -
03:08 AM Revision 0ae0a0c1 (git): Revert "mkmf.rb: Define missing `POSTLINK` variable in generated Makefile"
- This reverts commit 71d511615b8dac459d6f88f5896b9859f99c999e.
-
03:08 AM Revision 899ce129 (git): Run test-bundler-parallel again
03/04/2024
- 11:59 PM Revision 5e5bf57b (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.89 to 0.9.90.
- [Release notes](https://github.com/oxid... -
08:24 PM Revision 50e9a6b7 (git): [ruby/prism] Provide API for visiting in C
- https://github.com/ruby/prism/commit/537947aa5c
-
08:06 PM Revision 20123008 (git): [ruby/prism] Drop support for old ERB
- https://github.com/ruby/prism/commit/acdff3aae3
-
06:39 PM Misc #20281: DevMeeting-2024-03-14
- * [Bug #20301] `Set#add?` does two hash look-ups (jeremyevans0)
* This doesn't seem like a bug to me, as there was... -
06:09 PM Revision e78a705f (git): [ruby/prism] Warnings for tokens at EOL
- https://github.com/ruby/prism/commit/d0dbf01bef
-
05:50 PM Bug #19975 (Closed): ISeq#to_binary loses hidden local variable indices
- Applied in changeset commit:git|5899f6aa55a02f211545d9cdaef4d86fa0b49528.
----------
Keep hidden local variables whe... -
05:49 PM Revision 5899f6aa (git): Keep hidden local variables when dumping and loading iseqs
- Fixes [Bug #19975]
-
05:46 PM Bug #20319: Singleton class is being frozen lazily in some cases
- Eregon (Benoit Daloze) wrote in #note-3:
> I think Kernel#freeze should only freeze the object itself, which means i... -
05:38 PM Bug #20314: Simultaneous Timeout expires may raise an exception after the block
- Solution 2 makes the most sense to me. If inside a `Timeout.timeout` block, you are swallowing the exception that yo...
-
05:18 PM Bug #20226 (Closed): Inconsistent Sort results on 3.3.0 compared to previous versions
-
04:49 PM Revision f7adee34 (git): [ruby/prism] Only define xallocator when not defined
- https://github.com/ruby/prism/commit/919d682379
-
04:41 PM Revision 6ad0f89d (git): [ruby/prism] Use a more efficient StringIO on TruffleRuby
- * The stdlib StringIO is synchronized and this occurs a high overhead.
* This is about twice as fast on TruffleRuby b... -
04:40 PM Revision 03a73fdc (git): [ruby/prism] Add then keyword loc to when nodes
- https://github.com/ruby/prism/commit/e1e613df16
-
04:40 PM Revision c0a34a6c (git): [ruby/prism] Document xallocator functions
- https://github.com/ruby/prism/commit/ee1a4acacd
-
04:40 PM Revision b95e2cdc (git): [ruby/prism] Additional fix of adding `x` prefix after rebase with main branch
- https://github.com/ruby/prism/commit/08733438bd
-
04:40 PM Revision 54f27549 (git): [ruby/prism] Chage some names
- - PRISM_CUSTOM_ALLOCATOR -> PRISM_XALLOCATOR
- prism_custom_allocator.h -> prism_xallocator.h
https://github.com/rub... -
04:40 PM Revision c4bd6da2 (git): [ruby/prism] Make alloc interface replaceable
- - Add `x` prefix to malloc, calloc, realloc, and free
(eg: malloc -> xmalloc)
- By default, they are replaced with ... - 04:35 PM Revision 61ea202f (git): [DOC] Fix invalid documentation for `reachable_objects_from` (#10172)
- Previous documentation is stating the opposite (that the method won't
work for CRuby). -
04:26 PM Revision 85fe8b6b (git): [ruby/prism] Update lib/prism/translation/parser/compiler.rb
- https://github.com/ruby/prism/commit/dccfd83bc4
-
04:26 PM Revision a03f9292 (git): [ruby/prism] Fix incompatibility AST for regexp match in `Prism::Translation::Parser`
- This PR fixes the following incompatibility AST for regexp match between Parser gem and Prism:
## Parser gem
Return... -
04:26 PM Revision 26507b92 (git): [ruby/prism] Include BSDmakefile
- https://github.com/ruby/prism/commit/1fe507fe3d
-
03:36 PM Bug #20323 (Closed): Segmentation Fault in while working in Ruby 2.6.3
- This is not a segmentation fault (SIGSEGV), it's an illegal instruction crash (SIGILL). Considering it occurs in `/us...
-
06:25 AM Bug #20323 (Closed): Segmentation Fault in while working in Ruby 2.6.3
- I am using Ruby 2.6.3 in my project. Suddenly my application raises segmentation fault issue, I have tried the soluti...
-
03:20 PM Feature #20317: Removing the `allocate` method should cause `new` to fail
- May I ask what is the use case for this?
The only reason I can think to undefine `allocate` is if you want to allow ... -
02:50 PM Misc #20232: Document Kernel#require and Module#autoload concurrency guarantees
- Followup.
We've exchanged impressions with @ioquatix.
Regarding the first example, it would be nice that Ruby detec... -
02:39 PM Revision 5856ea3f (git): [ruby/prism] Fix up some minor parser incompatibilities
- https://github.com/ruby/prism/commit/c6c771d1fa
-
02:25 PM Revision 2c787bf9 (git): Run POSTLINK for rubyspec CAPIEXT objects
-
01:14 PM Bug #20324 (Closed): `(1..).overlap?('foo'..)` returns true
- Applied in changeset commit:git|b176315827d1082f43628013a7d89fda02724d33.
----------
[Bug #20324] Uncomparable range... -
07:18 AM Bug #20324 (Closed): `(1..).overlap?('foo'..)` returns true
- While thinking about finding the intersection of two ranges, I found that `(1..).overlap?('foo'..)` returns true.
... -
12:28 PM Misc #20013: Travis CI status
- I noticed the following announcement that would happen on this Wednesday, 6th March. So, I will plan to add the allow...
-
12:23 PM Misc #20013: Travis CI status
- jaruga (Jun Aruga) wrote in #note-21:
> jaruga (Jun Aruga) wrote in #note-19:
> > We are seeing one of s390x build[... -
12:02 PM Revision b1763158 (git): [Bug #20324] Uncomparable ranges are not overlapping
-
06:36 AM Revision ef5af327 (git): [rubygems/rubygems] Clear `RUBY_CODESIGN` env var while running tests
- The `RUBY_CODESIGN` environment variable is used by mkmf-generated
Makefile to sign extension bundles on macOS. The v... -
03:33 AM Revision 2d8788e9 (git): Support NODE_ONCE for pattern matching
-
02:57 AM Revision ade02f3c (git): merge revision(s) 051a874325c177e040301878069c2b28f5d06ce6: [Backport #20096]
- Fix memory overread in registry.rb
The terminator is not actually getting filled in; we're simply passing
... -
02:07 AM Feature #20273 (Closed): Disable callcc when compiled with ASAN
- Applied in changeset commit:git|5621d794a2fa9293d1da489d6b0ee0e7c73c9128.
----------
Disable callcc when ASAN is ena... - 02:07 AM Revision 5621d794 (git): Disable callcc when ASAN is enabled
- callcc's implementation is fundamentally incompatible with ASAN. Since
callcc is deprecated and almost never used, it...
03/03/2024
-
04:18 PM Bug #20307: `Hash#update` from compare_by_identity hash can have unfrozen string keys
- ignore me, I misunderstood the reproduction script. `h` is not compared by identity.
-
04:15 PM Bug #20307: `Hash#update` from compare_by_identity hash can have unfrozen string keys
- I don't understand the bug report nor the patch.
If you make a frozen copy of the provided key, you change the key... -
03:17 PM Bug #20307: `Hash#update` from compare_by_identity hash can have unfrozen string keys
- After the code above, we can do
```ruby
h.rehash
p h #=> {"A"=>1}
```
When a key is clobbered like that due to a... -
03:57 PM Revision 0d9a681e (git): enc: Expand substitution variables in Makefile.in by default
- This change makes `make_encmake.rb` expand all substitution variables
when replacing them in `enc/Makefile.in` to avo... -
03:57 PM Revision 072761bb (git): enc: Define missing `POSTLINK` variable in enc.mk
- This is a follow up change to 71d511615b8dac459d6f88f5896b9859f99c999e
-
12:57 PM Bug #20321: `require': cannot load such file
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> What did you try to do at that time?
> And could you show more error lo... -
12:15 AM Bug #20321 (Feedback): `require': cannot load such file
- What did you try to do at that time?
And could you show more error logs around the line? -
10:43 AM Bug #20322 (Closed): rb_enc_interned_str_cstr doesn't accept null pointer for encoding
- Applied in changeset commit:git|7e4b1f8e1935a10df3c41ee60ca0987d73281126.
----------
[Bug #20322] Fix rb_enc_interne... -
10:43 AM Revision 7e4b1f8e (git): [Bug #20322] Fix rb_enc_interned_str_cstr null encoding
- The documentation for `rb_enc_interned_str_cstr` notes that `enc` can be
a null pointer, but this currently causes a ... -
05:16 AM Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- A patch for @ko1 style.
~~Probably the code generation would be more efficient in compile.c.~~
https://github.com/n...
03/02/2024
-
07:03 PM Bug #20322: rb_enc_interned_str_cstr doesn't accept null pointer for encoding
- I opened a PR to fix this: https://github.com/ruby/ruby/pull/10169
-
06:30 PM Bug #20322: rb_enc_interned_str_cstr doesn't accept null pointer for encoding
- That's a regression and should be fixed mostly for consistency with other functions that take a encoding pointer.
-
05:56 PM Bug #20322 (Closed): rb_enc_interned_str_cstr doesn't accept null pointer for encoding
- The [header documentation](https://github.com/ruby/ruby/blob/93556d46203545bc2364b1c0dd1281ba098f3cc9/include/ruby/in...
-
04:40 PM Revision 93556d46 (git): [ruby/etc] Drop support for old ERB
- https://github.com/ruby/etc/commit/11677318ac
-
03:55 PM Revision e9a7801a (git): Drop support for old ERB
-
08:07 AM Revision 71d51161 (git): mkmf.rb: Define missing `POSTLINK` variable in generated Makefile
- The `POSTLINK` variable had been used in the `LINK_SO` variable, which
is used to link shared extension libraries. Ho... -
08:07 AM Revision b000e7bb (git): configure.ac: Append `POSTLINK` to `LINK_SO` for all platforms
- The `POSTLINK` variable had been used only for darwin platforms, but
it's now used for WebAssembly/WASI as well. To m... -
05:37 AM Revision 5a4cd732 (git): Make `File#chown` unblocking
-
05:37 AM Revision 061c6840 (git): Make `File#chmod` unblocking
03/01/2024
-
11:30 PM Bug #20321 (Feedback): `require': cannot load such file
- Hi, have this, when i would compile Ruby:
> internal:<RUBY_PATH>/lib/rubygems/core_ext/kernel_require.rb:9:in `req... -
11:10 PM Revision 607b86ed (git): Update a stubbed type for RJIT
- cfunc.func is actually used by RJIT
-
11:07 PM Revision 317163c7 (git): Update bindgen for YJIT and RJIT
-
11:02 PM Revision 61fbd29e (git): Skip a redundant check for the rb_obj_hash case
- Also, refactor the cfunc struct to use a new rb_cfunc_t.
-
08:50 PM Feature #20317: Removing the `allocate` method should cause `new` to fail
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> The current behavior may be what you want if you want to ensure that... -
12:35 AM Feature #20317: Removing the `allocate` method should cause `new` to fail
- The current behavior may be what you want if you want to ensure that new instances of the class have `#initialize` ca...
-
12:18 AM Feature #20317 (Open): Removing the `allocate` method should cause `new` to fail
- When you remove the `allocate` method from a class the you can't allocate the class via the `allocate` method. Howeve...
-
08:41 PM Revision 5a3ae06a (git): Remove dead function rb_obj_rgengc_writebarrier_protected_p
-
08:36 PM Revision 99384bac (git): Correctly set anon_kwrest flag for def f(b: 1, **)
- In cases where a method accepts both keywords and an anonymous
keyword splat, the method was not marked as taking an ... -
07:57 PM Revision 6da8f04e (git): [ruby/irb] Escape closing square brackets in regexp
- Fixes the following warning:
test/irb/test_command.rb:546: warning: regular expression has ']' without escape
h... -
07:16 PM Revision 70de3b17 (git): Optimize Hash methods with Kernel#hash (#10160)
-
06:38 PM Revision 6f31dd49 (git): Don't check_rvalue_consistency in is_markable_object
- is_markable_object is called by rb_objspace_markable_object_p, which
may pass a T_NONE object. check_rvalue_consisten... -
06:03 PM Revision 661f9e6d (git): YJIT: Support opt_invokebuiltin_delegate for leaf builtin (#10152)
-
05:54 PM Revision 88050ec1 (git): YJIT: No need to set cfp->sp when setting escaped locals
- While writing to the env object can add it to the remember set,
it shouldn't trigger a GC run. -
04:26 PM Misc #20320 (Open): Using OSU Open Source Lab native ppc64le/s390x CI services trigged on pull-requests
- We have been using Travis CI to run unit tests the native arm64/ppc64le/s390x in the ruby/ruby, ruby/zlib and ruby/pr...
-
03:54 PM Misc #20013: Travis CI status
- I found the following information on https://www.traviscistatus.com/ . Travis CI is undergoing a maintenance in a wee...
-
12:33 PM Misc #20013: Travis CI status
- We have observed unstable Travis ppc64le/s390x pipelines. So, I added the allow_failures to the pipelines by the PR <...
-
12:18 PM Misc #20013: Travis CI status
- Eregon (Benoit Daloze) wrote in #note-22:
> FYI mspec has a `--timeout SECONDS` option, which should help identify w... -
03:51 PM Revision 57ca5960 (git): [ruby/irb] Restructure workspace management
- (https://github.com/ruby/irb/pull/888)
* Remove dead irb_level method
* Restructure workspace management
Currently... -
03:39 PM Revision 162e13c8 (git): Remove pointer check in vm_ccs_free
- We don't need to check that the object is pointer to the GC heap in
vm_ccs_free because it is called during sweeping,... -
03:33 PM Revision f3af5ae7 (git): Make Struct memory leak test faster
- [Bug #20311]
It times out on some platform, so we can reduce iterations.
On my machine it completes in 250ms and RSS... -
03:10 PM Revision 334e4c65 (git): Fix a couple issues noticed by nobu
- Co-authored-by: Nobuyoshi Nakada <[email protected]>
-
03:10 PM Revision f446d68b (git): Add benchmarks for super and zsuper calls of different types
- These show gains from the recent optimization commits:
```
arg_splat
miniruby: ... -
03:10 PM Revision 73371450 (git): Avoid 1-2 array allocations for zsuper calls with post arguments
- These previously resulted in 2 array allocations, one for newarray
and one for concatarray. This replaces newarray a... -
03:10 PM Revision 32c58753 (git): Fix splatarray false peephole optimization for f(*ary, **kw, &block)
- This optimization stopped being using when the splatkw VM instruction
was added. This change allows the optimization... -
03:10 PM Revision e484ffaf (git): Perform splatarray false peephole optimization for invokesuper in addition to send
- This optimizes cases such as:
super(arg, *ary)
super(arg, *ary, &block)
super(*ary, **kw)
super(*ary, kw: 1)... -
12:43 PM Feature #15554: warn/error passing a block to a method which never use a block
- One concern if it's verbose-only is it won't help for typical mistakes with blocks like:
```ruby
p foo do
body
... -
01:16 AM Feature #15554: warn/error passing a block to a method which never use a block
- This would be a verbose-only warning right?
- 12:14 PM Revision 54d26221 (git): .travis.yml: Allow failures for ppc64le and s390x.
- Because Travis ppc64le/s390x are unstable.
ppc64le:
* https://app.travis-ci.com/github/ruby/ruby/builds/269211469
* ... -
12:04 PM Bug #20319: Singleton class is being frozen lazily in some cases
- Alternatively, I think we could simplify `Kernel#freeze` to always only freeze the direct object and no other object,...
-
11:52 AM Bug #20319 (Open): Singleton class is being frozen lazily in some cases
- I've noticed suspicious behaviour (it doesn't affect anything in practice for me though) when an object becomes froze...
-
08:20 AM Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- @ko1 A pretty similar effect can be achieved by combining several recent features:
```ruby
def foo(*, **) = case [*,... -
07:46 AM Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- ko1 (Koichi Sasada) wrote in #note-3:
> I prefer
>
> ...
>
> to represent method overloading.
> (but I unders... -
07:34 AM Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- I prefer
```ruby
def foo(...)
in [name] # foo('ko1')
puts name
in [first... -
05:40 AM Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- Personally I find the double ... rather confusing. I understand the benefit of a more succint syntax - e. g. eliminat...
-
05:24 AM Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- Add array example.
-
03:11 AM Feature #20318 (Open): Pattern matching `case ... in` support for triple-dot arguments
# Premise
Sometimes when I'm creating a method for an API, I'd like to do pattern matching against the arguments...-
07:24 AM Revision c09e5ad1 (git): Clarify C API documentation about pinned classes
- They are not only pinned, but also immortal. Even if the
constant referencing them is removed, they will remain alive... -
07:23 AM Bug #20311 (Closed): Struct.new("A") memory leak?
- Applied in changeset commit:git|e626da82eae3d437b84d4f9ead0164d436b08e1a.
----------
Don't pin named structs defined... -
07:23 AM Bug #20311: Struct.new("A") memory leak?
- > Is there any chance for the same module to be added twice?
Yes, aliasing isn't uncommon.
> Seems fine, but I'... -
07:01 AM Bug #20311: Struct.new("A") memory leak?
- byroot (Jean Boussier) wrote in #note-7:
> So maybe a better short term solution that is easy to backport is to just... -
06:03 AM Bug #20311: Struct.new("A") memory leak?
- byroot (Jean Boussier) wrote in #note-3:
> So if a module is added twice, you need to remove it from the set if it's... -
07:23 AM Revision e626da82 (git): Don't pin named structs defined in Ruby
- [Bug #20311]
`rb_define_class_under` assumes it's called from C and that the
reference might be held in a C global v... -
07:10 AM Revision 5d76fe6b (git): [ruby/optparse] Invoke pager for `--help`
- https://github.com/ruby/optparse/commit/77dccce37c
-
04:56 AM Revision 9b75e5f0 (git): Add an example for fallback to sh
-
04:11 AM Revision 5baee82c (git): [DOC] Mention about executable file and fallback to sh
-
04:11 AM Revision 1a9a20ce (git): Turn `rb_sys_fail_on_write` into a function
-
04:11 AM Revision 452d51ff (git): Use `File.open` and `File.write` instead of `Kernel#open`
- 03:33 AM Revision a465393c (git): Update bundled gems list at 874e9fc34d728f8e2444d15aa6759b [ci skip]
- 03:33 AM Revision 04a1b873 (git): Bump actions/cache from 4.0.0 to 4.0.1
- Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/act... -
03:32 AM Revision 874e9fc3 (git): Don't need to remove ruby2_keywords dependency from drb
-
03:32 AM Revision 1952c799 (git): Bump up drb-2.2.1
- 03:32 AM Revision b26602f8 (git): Bump github/codeql-action from 3.24.5 to 3.24.6
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.5 to 3.24.6.
- [Release notes](https:... - 03:23 AM Revision 8ec9c2dd (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/act... -
12:38 AM Bug #16297: calling undefined allocator by `Class.instance_method(:allocate)`
- I'm not sure if there's a deeper problem this causes, but it is still possible after this patch to call the allocator...
02/29/2024
-
09:42 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-30:
> That patch just modifies the `configure.ac` file, which is the... -
09:41 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- That patch just modifies the `configure.ac` file, which is the autoconf macros which generate the `./configure` scrip...
-
08:48 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- We applied the patch from https://github.com/ruby/ruby/commit/7f97e3540ce448b501bcbee15afac5f94bb22dd9.patch?full_ind...
-
08:55 PM Revision 2508a796 (git): [ruby/resolv] Implement CAA resource record
- This patch implements handling of CAA resource records defined by [RFC8659].
- There are no known deployment of CAA ... -
07:26 PM Revision d3ae5808 (git): Remove each_machine_stack_value
- The function is only used by rb_gc_mark_machine_stack.
-
07:24 PM Revision d5ae7965 (git): [ruby/prism] Lazily create Location objects in Prism::Serialize::Loader#load_location
- * Following the changes in #2428.
* PRISM_FFI_BACKEND=true ruby -v -Ilib -rprism -rbenchmark -e '10.times { p Benchma... -
07:24 PM Revision 6075f67a (git): [ruby/prism] Tweak wording for Prism::BACKEND
- * TruffleRuby does support C extensions but FFI is faster there.
https://github.com/ruby/prism/commit/d211a87691 -
06:30 PM Revision 1a588922 (git): Load iseq name later than other ISEQ references
- previous_insn_index() is crashing:
https://github.com/ruby/ruby/actions/runs/8100712618/job/22139323673
https://githu... -
06:23 PM Revision 3d614779 (git): Remove unused gc_mark_stack_values
-
06:23 PM Revision 6665ec26 (git): Remove check for is_markable_object in gc_mark_stack_values
- gc_mark_and_pin already checks for is_markable_object.
-
06:16 PM Revision 6e2880b3 (git): [wasm-pic] Add `LDSHARED` definition for WASI platform
- We are going to add dynamic linking support for WASI platform. The
`LDSHARED` definition is used to link shared libra... -
06:16 PM Revision 57f014b2 (git): Use configured `LD` for linking enc and ext libraries
- "AR" was well propagated to the enc.mk and mkmf, but "LD" was not. This
caused the dynamic libraries to be linked wit... -
05:32 PM Revision 1c0c490a (git): [ruby/prism] Warn on integers in flip-flops
- https://github.com/ruby/prism/commit/500099e896
-
05:21 PM Bug #20316 (Open): Regexp quantifier behavior changes in different syntactic context.
- In the example below, adding a vertical bar to the end of a regular expression changes what is being matched by the p...
-
05:05 PM Revision f9d5c604 (git): [PRISM] Use new command line option flags
-
05:05 PM Revision 50e999c5 (git): [ruby/prism] Command line options as a bitset
- https://github.com/ruby/prism/commit/369ffbd57e
-
04:59 PM Bug #20315 (Open): Quantifier expansion leads to different results in Regexp.
- Consider the following series of regular expression matches:
```
irb(main):001:0> /(|a)(|a)(|a)(|a)(|a)b/.match("aa... -
04:29 PM Revision cd8d1018 (git): [ruby/prism] Resync RBI and test it in CI
- https://github.com/ruby/prism/commit/4ef4032774
-
04:08 PM Revision 5891c70b (git): YJIT: Support inlining putself (#10137)
-
04:07 PM Revision 4c0f0b90 (git): Assume that FL_FINALIZE is in finalizer_table
- If FL_FINALIZE is set but not in finalizer_table, then rb_bug.
-
04:06 PM Revision f8dd2342 (git): [ruby/prism] Fix an incorrect parsing for `Prism::Translation::Parser`
- This PR fixes an incorrect parsing for `Prism::Translation::Parser`
when one-line pattern mathing with Ruby 2.7 runti... -
03:57 PM Revision 8a918b45 (git): Add gc_each_object for walking the heap
-
03:25 PM Bug #20312: Memory leak with BigDecimal::EXCEPTION_OVERFLOW
- Oh right! Sorry, done: https://github.com/ruby/bigdecimal/issues/290
-
05:18 AM Bug #20312 (Third Party's Issue): Memory leak with BigDecimal::EXCEPTION_OVERFLOW
- Hi, @MaxLap . Thank you for report this.
Can you file this to https://github.com/ruby/bigdecimal/? bigdecimal is a... -
02:59 PM Bug #20311: Struct.new("A") memory leak?
- So https://github.com/ruby/ruby/pull/10143 is turning into a huge yak-shave and will be hard to backport. The reason...
-
12:07 PM Bug #20311: Struct.new("A") memory leak?
- I think https://github.com/ruby/ruby/pull/10143 will do. But a good followup would also be to not pin `Struct.new("A")`.
-
11:47 AM Bug #20311: Struct.new("A") memory leak?
- > But I also wonder why we have this root in the first place, I'd think these get marked from being constants in ::Ob...
-
11:45 AM Bug #20311: Struct.new("A") memory leak?
- > rb_const_remove needs to take care of it when the removed constant is a class or module?
The problem is that it'... -
02:53 PM Revision cb784082 (git): [ruby/prism] Better hashing between positive/negative integers
- https://github.com/ruby/prism/commit/68ddf08634
-
02:38 PM Revision 950c6062 (git): Delete from finalizer_table before running finalizer
- The finalizer could trigger a GC, which would cause FL_FINALIZE to be
out of sync with the finalizer table. -
02:37 PM Revision d5bca066 (git): Unset FL_FINALIZE before running the finalizer
- The finalizer could trigger a GC, so FL_FINALIZE could get out of sync
with the finalizer table. -
12:32 PM Revision 1a6a7c69 (git): Update RBS (#10121)
- Use an unreleased version of RBS to see if the new commit fixes the `EBADF` error.
-
10:59 AM Feature #15554: warn/error passing a block to a method which never use a block
- > Regarding the warning message:
+1, these messages are clearer. -
09:15 AM Feature #15554: warn/error passing a block to a method which never use a block
- These results look encouraging to me.
The number of "false positives" seems reasonable.
Also they are not really fals... -
08:12 AM Feature #15554: warn/error passing a block to a method which never use a block
- We found issues with this warning system, like: https://github.com/ruby/ruby/commit/8316cb213c
-
08:10 AM Feature #15554: warn/error passing a block to a method which never use a block
- Duck typing case:
```
class C1
def foo = nil
end
class C2
def foo = yield
end
[C1.new, C2.new].ea... -
08:05 AM Feature #15554: warn/error passing a block to a method which never use a block
- Retry it on current master 2024.
Summary:
* false positive on several cases:
* intentional cases for duck ty... -
10:57 AM Revision 3f633e57 (git): [wasm-pic] Remove --pass-arg=asyncify-ignore-imports from POSTLINK
- Before PIC era, we could assume that the stack is not unwound by
imported functions since all imported functions are ... -
09:31 AM Bug #20314: Simultaneous Timeout expires may raise an exception after the block
- I'm not sure how Solution 3 would work.
`Thread#raise` would block until what?
Until the exception started to be rais... -
06:25 AM Bug #20314 (Open): Simultaneous Timeout expires may raise an exception after the block
- Launchable reports `TestTimeout#test_nested_timeout` as a flaky test, and I reproduced it as follows.
```ruby
r... -
09:05 AM Revision 114c0b71 (git): Inform failures in parallel tests before retrying
- Displays for each failure which test it actually occurred in. The
output destination follows the --{stdout,stderr}-o... -
08:30 AM Feature #19979: Allow methods to declare that they don't accept a block via `&nil`
- Actually, I prefer #15554, but my concern is that it causes compatibility issues with false positives.
Matz.
-
07:40 AM Misc #20254 (Closed): Add Launchable into Ruby CI
- @ono-max and @jaruga Thank you for your works. Launchable has been added our repository.
We discovered https://bug... -
12:51 AM Misc #20254: Add Launchable into Ruby CI
- Thank you for introducing the feature, @jaruga. Also, I'd like to introduce the page https://app.launchableinc.com/or...
-
01:18 AM Bug #20313: Backport RUBY_YJIT_ENABLE PR https://github.com/ruby/ruby/pull/7208
- Merged to ruby_3_2 at https://github.com/ruby/ruby/commit/80112a9847b705b53e17e48540a6d00daa7e59a4. Thanks.
- 01:17 AM Revision 80112a98 (git): Make sure RUBY_YJIT_ENABLE only enables YJIT for truthy values
-
12:57 AM Revision 51e32523 (git): Resolve a warning in `launchable record build` command
02/28/2024
-
11:26 PM Misc #20254: Add Launchable into Ruby CI
- FYI: I'm going to change the GitHub comment feature as follows today:
If a test is executed multiple times, we'll tre... -
03:15 PM Misc #20254: Add Launchable into Ruby CI
- As a reference to see how the results of the Launchable CI look like, below is one example to see the flaky, the most...
-
11:00 PM Revision f05ad373 (git): YJIT: Squash canary before falling back
- Recent flaky canary-related CI failures have all happened while trying
to fall back. It's unclear what is leaving the... -
08:00 PM Revision 558b58d3 (git): YJIT: Reject keywords hash in -1 arity cfunc splat support
- `test_keyword.rb` caught this issue. Just need to run with `threshold=1`
-
07:54 PM Revision 4b92b60f (git): Use array initialization rather than for loop
-
06:45 PM Revision c5b568ba (git): Migrate auto_request_review back to CODEOWNERS (#10133)
-
06:45 PM Revision 5481dbef (git): Make rb_define_finalizer_no_check private
-
06:30 PM Revision a5bfc251 (git): [ruby/prism] Rewrite logic for CHECK_FIELD_KIND to improve readability
- https://github.com/ruby/prism/commit/f731edcc26
-
06:30 PM Revision 71673464 (git): [ruby/prism] More precise types for NodeListField in prism.rbi
- https://github.com/ruby/prism/commit/b7959295e9
-
06:30 PM Revision 2143789a (git): [ruby/prism] Make NodeKindField subclass NodeKindField
- * To avoid duplication.
https://github.com/ruby/prism/commit/12e5aae0b4 -
06:30 PM Revision 1b0a5bcb (git): [ruby/prism] Add a simple way to check field kinds are correct by setting $CHECK_FIELD_KIND
- https://github.com/ruby/prism/commit/33e987ba3c
-
06:30 PM Revision ea2cb002 (git): [ruby/prism] Give a kind to all node[] fields which can have one more specific than "any Node"
- * Fixes https://github.com/ruby/prism/issues/2058
https://github.com/ruby/prism/commit/f3e3310b5e -
06:30 PM Revision 567d4ee7 (git): [ruby/prism] Set proper types for node[] in Java-generated code
- https://github.com/ruby/prism/commit/322eaea500
-
06:26 PM Bug #20313 (Closed): Backport RUBY_YJIT_ENABLE PR https://github.com/ruby/ruby/pull/7208
-
04:53 PM Bug #20313 (Closed): Backport RUBY_YJIT_ENABLE PR https://github.com/ruby/ruby/pull/7208
- Backporting "Make sure RUBY_YJIT_ENABLE only enables YJIT for truthy values" PR https://github.com/ruby/ruby/pull/720...
-
06:26 PM Revision a29c0e82 (git): [PRISM] Handle implicit flip-flop bounds checking against $.
-
05:44 PM Revision 16c7144c (git): [PRISM] Only look up encoding once per file
-
05:42 PM Revision f8355e88 (git): [PRISM] Do not load -r until we check if main script can be read
-
05:23 PM Feature #20309: Bundled gems for Ruby 3.5
- Also something I remembered now is YJIT [does not compile singleton methods](https://github.com/Shopify/ruby/issues/5...
-
05:21 PM Feature #20309: Bundled gems for Ruby 3.5
- @jeremyevans0 One issue with that replacement is it does not name the class of the object, so it's quite unclear if t...
-
03:38 PM Feature #20309: Bundled gems for Ruby 3.5
- Eregon (Benoit Daloze) wrote in #note-6:
> hsbt (Hiroshi SHIBATA) wrote:
> > * singleton
> > * This is famous des... -
11:18 AM Feature #20309: Bundled gems for Ruby 3.5
- Eregon (Benoit Daloze) wrote in #note-6:
> > * fcntl
> > * Should we integrate these constants into ruby core?
> ... -
11:14 AM Feature #20309: Bundled gems for Ruby 3.5
- hsbt (Hiroshi SHIBATA) wrote:
> * ostruct
> * I make ostruct as optional on json at https://github.com/flori/json/p... -
08:46 AM Feature #20309: Bundled gems for Ruby 3.5
- I'm big fan (and user) of `ruby -run -e httpd . -p 1234`, this is also part of "local HTTP server oneliners" like htt...
-
05:21 PM Revision dcc976ad (git): Remove unused rb_gc_id2ref_obj_tbl
-
04:42 PM Revision 49aa8d65 (git): [PRISM] Fix version spec to account for prism
-
04:36 PM Bug #20311: Struct.new("A") memory leak?
- Seems referred from `defined_module_hash`.
`rb_const_remove` needs to take care of it when the removed constant is a... -
01:28 PM Bug #20311: Struct.new("A") memory leak?
- I had a quick look at this using `ObjectSpace.dump_all`, and it appears that these classes are being retained in the ...
-
12:03 PM Bug #20311 (Closed): Struct.new("A") memory leak?
- The following code gives the impression of a memory leak.
```ruby
10.times do
5000.times do
Struct.new("A... -
04:09 PM Revision 1cef3663 (git): [PRISM] Factor in CLI options for prism
-
03:58 PM Revision 742abbf7 (git): Switch {prism: true} to {parser: :prism} in ISeq.to_a
-
03:46 PM Bug #20312 (Third Party's Issue): Memory leak with BigDecimal::EXCEPTION_OVERFLOW
- The following causes a memory leak.
I left a commented line, both trigger an memory leak. I assume it's the same b... -
03:41 PM Revision 7b69563b (git): Add check for finalizer in verify_internal_constency
- This adds a check in GC.verify_internal_constency that FL_FINALIZE flags
is set if, and only if it is in finalizer_ta... -
03:41 PM Revision 48f433fd (git): Change T_ZOMBIE flag check from an assertion
- Assertions are only enable on debug builds, so it will now check for
flags of T_ZOMBIE objects on all builds in GC.ve... -
03:36 PM Revision c990cc70 (git): [ruby/prism] Switch static literals to use a hash
- https://github.com/ruby/prism/commit/82e6f36e8f
-
03:36 PM Revision 8b556d39 (git): [ruby/prism] Refactor static literals into hash
- https://github.com/ruby/prism/commit/62382d3967
-
08:53 AM Revision eb6eb1d4 (git): Fix crash report path test on Windows
-
08:12 AM Bug #20310: ASAN fake stacks need to be marked during GC for non-current execution context
- I opened https://github.com/ruby/ruby/pull/10122 as my first attempt at this.
-
04:01 AM Bug #20310 (Closed): ASAN fake stacks need to be marked during GC for non-current execution context
- When ASAN (address sanitizer) is enabled, the compiler does not necessarily store all local variables on the real mac...
-
07:09 AM Revision 8316cb21 (git): Fix to use `assert_crash_report` results
-
04:30 AM Revision 05387b59 (git): Update regex patterns with rbinstall.rb
-
04:30 AM Revision 75a4aa20 (git): Support file listing with IO.poepn style
-
04:22 AM Feature #20275: Avoid extra backtrace entries for rescue and ensure
- I am in favor of this change, but I do not plan to write a patch and estimate its impact. Someone who wants this, ple...
-
03:41 AM Feature #20274 (Closed): Add RubyVM::ASAN.enabled?
- Applied in changeset commit:git|fe0b704df5553bdd59e90650ffbbfac785a2e48a.
----------
Skip assert_no_memory_leak when... - 03:41 AM Revision fe0b704d (git): Skip assert_no_memory_leak when ASAN is enabled
- ASAN greatly increases the memory footprint of Ruby, so these static
thresholds are not appropriate. There's no real ... -
02:14 AM Revision 47b46fd9 (git): Use dummy command for IO.popen
-
02:11 AM Revision e8e2415b (git): Use RB_SPECIAL_CONST_P instead of rb_special_const_p
- rb_special_const_p returns a VALUE (Qtrue or Qfalse), so we shouldn't
assume that Qfalse is 0. We should instead use ... -
02:08 AM Revision 95e55e9a (git): Also ignore git ls-files command with IO.popen style for tmpdir.gemspec and tempfile.gemspec
-
01:43 AM Bug #20090: Anonymous arguments are now syntax errors in unambiguous cases
- I confirmed.
@naruse https://github.com/ruby/ruby/commit/f8f0d342e48a38caac6d32b438c145bb581a51e6 seems wrong comm...
Also available in: Atom