Yusuke Endoh
fdfde6ab2e
Use SIGSEGV to kill a parallel test worker (to dump backtrace)
2024-08-07 09:44:06 +09:00
BurdetteLamar
fa3d9fdaed
[DOC] Tweaks to Array#<=>
2024-08-06 15:51:31 -04:00
BurdetteLamar
3471437630
[DOC] Tweaks for Array#<<
2024-08-06 15:45:45 -04:00
BurdetteLamar
a793b5376c
[DOC] Tweaks to Array#*
2024-08-06 15:38:29 -04:00
BurdetteLamar
66181fdda5
[DOC] Tweak to Array#&
2024-08-06 15:37:51 -04:00
BurdetteLamar
8aeca5ce40
Tweaks to Array::try_convert
2024-08-06 15:37:23 -04:00
Yusuke Endoh
e62c2ce0e0
Wait a bit longer for worker quit
2024-08-07 03:54:47 +09:00
BurdetteLamar
be959c040e
[DOC] Tweak for Array::[]
2024-08-06 14:39:16 -04:00
Yusuke Endoh
47c45d5c18
Add a log when SIGKILL is sent to a test parallel worker
2024-08-07 02:41:27 +09:00
Yusuke Endoh
2c35a37918
Fix a typo
2024-08-07 02:34:46 +09:00
Peter Zhu
ced35800d4
Fix leak in warning of duplicate keys when Ripper#warn jumps
...
For example, the following code leaks:
class MyRipper < Ripper
def initialize(src, &blk)
super(src)
@blk = blk
end
def warn(msg, *args) = @blk.call(msg)
end
$VERBOSE = true
def call_parse = MyRipper.new("if true\n end\n") { |msg| return msg }.parse
10.times do
500_000.times do
call_parse
end
puts `ps -o rss= -p #{$$}`
end
Before:
34832
51952
69760
88048
105344
123040
141152
159152
176656
194272
After:
18400
20256
20272
20272
20272
20304
20368
20368
20368
20400
2024-08-06 10:19:50 -04:00
Yusuke Endoh
c0938fd24c
Use 3min for test parallel worker timeout again
2024-08-06 21:11:41 +09:00
Yusuke Endoh
062f85e141
Dump all-thread backtraces when test parallel worker exceeds time limit
2024-08-06 21:11:41 +09:00
Hiroshi SHIBATA
67cd95e68f
tool/gen-github-release.rb required recent version of Ruby
2024-08-06 17:59:17 +08:00
Hiroshi SHIBATA
dc50d3590f
Create GitHub Releases with GitHub Actions
2024-08-06 17:59:17 +08:00
Hiroshi SHIBATA
267da552a1
[ruby/uri] Fallback missing constants with RFC3986_PARSER
...
(https://github.com/ruby/uri/pull/113 )
* Fallback missing constants with RFC3986_PARSER
* raise missing constant
* Update test/uri/test_common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Update lib/uri/common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Update lib/uri/common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
---------
https://github.com/ruby/uri/commit/c2fdec079a
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2024-08-06 09:09:52 +00:00
Yusuke Endoh
24d46a6781
Extend the default timeout of parallel testing to one hour
2024-08-06 16:59:24 +09:00
Kazuki Yamaguchi
65e3717db7
[ruby/openssl] test/openssl/test_pkey_dsa.rb: skip all tests in FIPS mode
...
OpenSSL running in the FIPS mode will stop supporting DSA key
generation and signature generation due to a FIPS 140-3 requirement.
Although it appears that FIPS 186-5 still allows signature
verification in some cases, there would be little point in writing such
a specific test case.
DSA will still be tested if OpenSSL is not running in the FIPS mode.
test_generate_on_non_fips is merged to test_generate again.
https://github.com/ruby/openssl/commit/3651884fd2
2024-08-06 06:38:03 +00:00
Yusuke Endoh
30be7fb85d
Extend the default timeout of parallel testing
2024-08-06 15:00:12 +09:00
David Rodríguez
3005ed6816
[rubygems/rubygems] Don't remove existing platform gems when PLATFORMS section is badly indented
...
https://github.com/rubygems/rubygems/commit/ec099ebf1e
2024-08-05 17:28:11 +00:00
David Rodríguez
540bcf5248
[rubygems/rubygems] Fix locked source not getting respected when bundle update <specific_gem> is run
...
https://github.com/rubygems/rubygems/commit/eec6830c04
2024-08-05 17:27:11 +00:00
David Rodríguez
dc804bd83c
[rubygems/rubygems] Extract a build_repo3 helper
...
https://github.com/rubygems/rubygems/commit/d8cf4aa0cd
2024-08-05 17:27:11 +00:00
David Rodríguez
7d97dde2e2
[rubygems/rubygems] Move private reader to private section
...
https://github.com/rubygems/rubygems/commit/651cf3ea7a
2024-08-05 17:27:10 +00:00
dependabot[bot]
2985770b05
[rubygems/rubygems] Bump rb-sys
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.99 to 0.9.100.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.99...v0.9.100 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
https://github.com/rubygems/rubygems/commit/dd5df7d614
2024-08-05 17:26:13 +00:00
dependabot[bot]
312a87cde6
[rubygems/rubygems] Bump rb-sys
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.98 to 0.9.100.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.98...v0.9.100 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
https://github.com/rubygems/rubygems/commit/6f05927746
2024-08-05 17:25:58 +00:00
tomoya ishida
dbd36e1c23
[ruby/reline] Accept colon-style hash in test assertion
...
(https://github.com/ruby/reline/pull/732 )
Hash#inspect is proposed to change to {key: value, non_symbol_key => value} in https://bugs.ruby-lang.org/issues/20433#note-10
https://github.com/ruby/reline/commit/1fd73b358a
2024-08-05 15:53:45 +00:00
Josh Soref
9d86864a6d
[ruby/uri] Add space after bad URI
...
https://github.com/ruby/uri/commit/9f2c7ed5f2
2024-08-05 08:15:56 +00:00
Hiroshi SHIBATA
a82976bc90
[ruby/uri] Use DEFAULT_PARSER at split, parse, join
...
https://github.com/ruby/uri/commit/28af4e155a
2024-08-05 08:00:14 +00:00
Hiroshi SHIBATA
b59cbcf183
Clean up empty directory
2024-08-05 15:11:11 +09:00
David Rodríguez
5258e8b1cd
Make sure to always use the right warn
2024-08-05 12:16:49 +08:00
dependabot[bot]
f4a23d96e2
Bump actions/upload-artifact from 4.3.4 to 4.3.5
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](0b2256b8c0...89ef406dd8 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 12:28:26 +09:00
David Rodríguez
7285e76493
Fix truffleruby removing gems from lockfile
...
When resolving on truffleruby, and multiple platforms are included in
the lockfile, Bundler will not respect existing platforms, but always
force ruby variants. That means removal of existing version specific
variants, introducing lockfile churn between implementations.
To prevent this, we introduce the distinction between
`Dependency#force_ruby_platform`, only settable via Gemfile, and
`Dependency#default_force_ruby_platform`, which is always true on
truffleruby for certain dependency names. This way, when resolving
lockfile gems for other platforms on truffleruby, we keep platform
specific variants in the lockfile.
However, that introduces the problem that if only platform specific
variants are locked in the lockfile, Bundler won't be able to
materialize on truffleruby because the generic variant will be missing.
To fix this additional problem, we make sure the generic "ruby" platform
is always added when resolving on truffleruby.
2024-08-05 11:58:07 +09:00
fatkodima
a35d324862
[ruby/optparse] Fix parsing array arguments with :into option
...
https://github.com/ruby/optparse/commit/19700e96d8
2024-08-05 02:28:12 +00:00
Stan Lo
cbc40bb130
Sync rdoc
2024-08-05 08:27:45 +08:00
Ricardo Trindade
7d5cb4573d
[ruby/irb] Remove Ruby version checks
...
(https://github.com/ruby/irb/pull/985 )
https://github.com/ruby/irb/commit/9ce6972e71
2024-08-04 14:53:51 +00:00
Yusuke Endoh
b708661313
Extend timeout in test/ruby/test_file_exhaustive.rb
2024-08-03 16:30:32 +09:00
git
657f4b99f6
Update bundled gems list as of 2024-08-02
2024-08-03 07:01:34 +00:00
Yusuke Endoh
42cd267beb
Reduce noise in object generation count tests
...
The parallel testing framework may create strings in a separate thread.
```
1) Failure:
TestStringMemory#test_byteslice_prefix [D:/a/ruby/ruby/src/test/ruby/test_string_memory.rb:40]:
One object allocation is expected, but allocated: [["D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb", 42, String, "2240\x00\x00\x00\x00...
```
https://github.com/ruby/ruby/actions/runs/10222885396/job/28288271190?pr=11271#step:23:1026
2024-08-03 14:39:17 +09:00
Alan Wu
e5fb851fe7
Delete unused declaration
2024-08-02 21:53:38 -04:00
Yusuke Endoh
23837c5170
Show where objects were allocated on allocation count tests
2024-08-03 05:25:28 +09:00
Kevin Menard
04a6165ac0
YJIT: Enhance the String#<< method substitution to handle integer codepoint values. ( #11032 )
...
* Document why we need to explicitly spill registers.
* Simplify passing a byte value to `str_buf_cat`.
* YJIT: Enhance the `String#<<` method substitution to handle integer codepoint values.
* YJIT: Move runtime type check into YJIT.
Performing the check in YJIT means we can make assumptions about the type. It also improves correctness of stack traces in cases where the codepoint argument is not a String or a Fixnum.
2024-08-02 15:45:22 -04:00
Yusuke Endoh
3f93ef06a8
Show what objects were actually allocated on allocation count tests
...
According to Launchable, these tests fail randomly
```
Failure:
TestStringMemory#test_byteslice_prefix [D:/a/ruby/ruby/src/test/ruby/test_string_memory.rb:33]:
<1> expected but was
<2>.
```
https://app.launchableinc.com/organizations/ruby/workspaces/ruby/data/test-paths/file%3Dtest%2Fruby%2Ftest_string_memory.rb%23%23%23class%3DTestStringMemory%23%23%23testcase%3Dtest_byteslice_prefix?testSessionStatus=flake
2024-08-02 23:29:28 +09:00
Hiroshi SHIBATA
303d2319f0
Auto-purge after package release
2024-08-02 12:07:48 +09:00
Hiroshi SHIBATA
0aaff21736
Notify ruby-build for definition update
2024-08-02 11:42:27 +09:00
yui-knk
66cbafc603
Refactor to use tokenize_ident instead of TOK_INTERN and set_yylval_name
2024-08-02 11:37:10 +09:00
Hiroshi SHIBATA
f070a9d8df
Notify update workflow for all-ruby
...
https://github.com/ruby/all-ruby/blob/master/.github/workflows/update.yml
2024-08-02 10:00:01 +09:00
Peter Zhu
f6e829603e
Removed unused macro RVALUE_PAGE_MARKED
2024-08-01 15:54:08 -04:00
Naoto Ono
e0f4cbd612
Integrate Launchable into windows
2024-08-01 17:49:32 +09:00
Hiroshi SHIBATA
9ed7e06a27
Added workflow for building snapcraft
...
https://github.com/ruby/snap.ruby/actions/runs/10189575392/job/28187867439
2024-08-01 13:38:33 +08:00
Hiroshi SHIBATA
e935366fe8
Also update version index file
2024-08-01 13:38:33 +08:00