Nobuyoshi Nakada
3d2ee31fdc
Check core doc coverage always
2025-10-09 10:46:23 +09:00
Takashi Kokubun
77b62a8292
Revert "commit-email.rb: Use base64 instead of nkf"
...
This reverts commit dbb5972b340f24d9ff4f3996f57439d5a6b3454e.
It didn't work, sorry.
2025-10-08 17:03:17 -07:00
Takashi Kokubun
dbb5972b34
commit-email.rb: Use base64 instead of nkf
...
which makes it more obvious what it's doing.
2025-10-08 16:32:10 -07:00
Takashi Kokubun
afb21f3498
test_commit_email.rb: Stop printing LoadError
...
on a require attempt
2025-10-08 16:23:53 -07:00
Takashi Kokubun
0508786b73
Migrate a test for commit-email.rb ( #14784 )
...
from 2c4628e489 .
Also drop ostruct from dependencies. We could remove nkf if we use
base64, but it's also a bundled gem, so it doesn't really help.
2025-10-08 16:16:02 -07:00
Takashi Kokubun
fc08d36a15
post_push.yml: Rename commit-mail.rb back
...
to commit-email.rb.
I didn't realize I dropped a letter when I moved it. It wasn't really
intended, so I change it back.
2025-10-08 15:05:37 -07:00
Takashi Kokubun
a48592a754
Let test-tool accept $(TESTS) like test-all does
2025-10-08 14:53:12 -07:00
Peter Zhu
86d97331da
Add RUBY_FREE_AT_EXIT to MANDATORY_ENVS in test_process.rb
...
We need to keep RUBY_FREE_AT_EXIT in these tests.
2025-10-08 17:27:31 -04:00
Takashi Kokubun
5b8f47fa64
post_push.yml: Specify the full path of sendmail
2025-10-08 14:06:01 -07:00
Takashi Kokubun
7ec03e12b4
post_push.yml: Migrate commit-email.rb to post_push ( #14779 )
...
from post-receive.sh as of 8d24ac65b5 .
2025-10-08 14:03:11 -07:00
Takashi Kokubun
501dd27eb2
post_push.yml: Write the SSH key more securely
...
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2025-10-08 13:11:54 -07:00
Stan Lo
77b019f656
ZJIT: Use type alias for num-profile and call-threshold's types ( #14777 )
...
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
2025-10-08 16:22:56 +00:00
Stan Lo
40d704a2bf
Bump RDoc ( #14747 )
2025-10-08 09:13:21 -07:00
Benoit Daloze
50593d5199
Update to ruby/spec@3d7e563
2025-10-08 17:59:52 +02:00
Benoit Daloze
5e7e604093
Update to ruby/mspec@6a7b509
2025-10-08 17:59:51 +02:00
Nobuyoshi Nakada
a0c6efdea4
[ruby/zlib] Load the same loaded zlib
...
Zlib is used by also rubygems, the built extension cannot be loaded
after the default gem is loaded.
https://github.com/ruby/zlib/commit/02a29dc7ea
2025-10-08 14:53:00 +00:00
Kazuki Yamaguchi
a8b34d9a9b
[ruby/openssl] ssl: allow SSLContext#set_params to be used from non-main Ractors
...
Freeze OpenSSL::SSL::SSLContext::DEFAULT_PARAMS so that it becomes
Ractor-shareable.
Also, prepare a new OpenSSL::X509::Store in Ractor-local storage, if
called from a non-main Ractor. OpenSSL::X509::Store currently is not a
shareable object.
https://github.com/ruby/openssl/commit/3d5271327c
2025-10-08 14:27:16 +00:00
Kazuki Yamaguchi
e4f1280831
[ruby/openssl] ssl: refactor tmp_dh_callback handling
...
tmp_dh_callback no longer has a default value. It also no longer has to
share code with tmp_ecdh_callback, which has been removed in v3.0.0.
https://github.com/ruby/openssl/commit/b7cde6df2a
2025-10-08 13:59:39 +00:00
Kazuki Yamaguchi
ea79fe225c
[ruby/openssl] ssl: use SSL_CTX_set_dh_auto() by default
...
Rely on OpenSSL's builtin DH parameters for TLS 1.2 and earlier instead
of providing a default SSLContext#tmp_dh_callback proc.
SSL_CTX_set_dh_auto() has been available since OpenSSL 1.1.0.
The parameters can still be overridden by specifying
SSLContext#tmp_dh_callback or #tmp_dh, as confirmed by existing tests.
SSLContext#tmp_dh_callback depends on a deprecated OpenSSL feature. We
also prefer not to hard-code parameters, which is a maintenance burden.
This change also improves Ractor compatibility by removing the
unshareable proc.
https://github.com/ruby/openssl/commit/9cfec9bf5e
2025-10-08 13:59:39 +00:00
Kazuki Yamaguchi
8dfe540341
[ruby/openssl] ssl: fix extconf.rb check for SSL_CTX_set0_tmp_dh_pkey()
...
Check for the function we actually use. Both SSL_set0_tmp_dh_pkey() and
SSL_CTX_set0_tmp_dh_pkey() were added in OpenSSL 3.0.
https://github.com/ruby/openssl/commit/a9b6a64e5f
2025-10-08 13:59:38 +00:00
Kazuki Yamaguchi
810b3a405b
[ruby/openssl] provider: load "default" provider in test_openssl_legacy_provider
...
Update the test case to explicitly load both the "default" and the
"legacy" providers.
Currently, the "default" provider as a side effect by the
OpenSSL::PKey::DH.new call in lib/openssl/ssl.rb. It will be cleaned up
in a following patch.
https://github.com/ruby/openssl/commit/013db02fb2
2025-10-08 13:59:38 +00:00
Earlopain
b8f8d646a6
[ruby/prism] For these special cases, there exists no optional argument type. Since a endless method is started with =, there was ambiguity here. We have to simply reject these in all cases.
...
This adds a new error for the following reason:
* `def foo arg = nil` is interpreted as a normal method call with optional `arg` without matching `end`
* `def foo *arg = nil; end` is interpreted as a endless method call that has body `nil` with extraneous `end`
`def foo *arg = nil` is somewhere inbetween and I don't know how to otherwise indicate the error.
Now the second case above also shows the newly added error message.
Fixes [Bug #21623 ]
https://github.com/ruby/prism/commit/e1910d4492
2025-10-08 13:04:57 +00:00
Nobuyoshi Nakada
7c9dd0ecff
[Bug #21629 ] Initialize struct RArray
2025-10-08 18:19:56 +09:00
Nobuyoshi Nakada
2bb6fe3854
[Bug #21629 ] Initialize struct RString
2025-10-08 18:19:47 +09:00
Nobuyoshi Nakada
43dbb9a93f
[Bug #21629 ] Enable nonstring attribute on clang 21
2025-10-08 18:17:19 +09:00
Takashi Kokubun
9ae3e20953
push_push.yml: Suppress progress of requests
...
which also disables some error messages, but --fail-with-body -w
'%{http_code}' seems to show everything we need anyway.
2025-10-08 01:01:51 -07:00
Takashi Kokubun
949717efb1
post_push.yml: Fix an invalid YAML syntax
2025-10-08 00:59:31 -07:00
Takashi Kokubun
a0e7341bfd
post_push.yml: Migrate fetch_changesets
...
from post-receive.sh
2025-10-08 00:54:54 -07:00
dependabot[bot]
ac01ac11f9
Bump github/codeql-action from 3 to 4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 16:18:27 +09:00
Takashi Kokubun
000165a51c
post_push.yml: Simplify the overall workflow
2025-10-07 21:07:57 -07:00
Takashi Kokubun
f063427c45
post_push.yml: Skip .github/actions/setup/directories
...
These scripts are made to be fairly portable, so it shouldn't need all
these steps to make them work.
2025-10-07 20:56:16 -07:00
Takashi Kokubun
76b1039485
Carve out a workflow for post-push hooks ( #14768 )
...
from check_misc.yml.
These steps originally came from git.ruby-lang.org/ruby.git's
post-receive hooks. Because it handles a different set of events from
what the original check_misc.yml does, it probably allows them to be
simpler if they are separated.
2025-10-07 20:54:37 -07:00
Takashi Kokubun
d4a762e005
check_misc.yml: Support non-master branches
...
See also: 0b0eae90f6
2025-10-07 20:33:02 -07:00
Peter Zhu
68e0321327
Always load -test-/asan in tests
...
-test-/asan should always be available.
2025-10-07 20:35:34 -04:00
Takashi Kokubun
337189f4ba
check_misc.yml: Add a missing argument to update-ruby.sh
...
https://github.com/ruby/ruby/pull/14765
2025-10-07 17:14:23 -07:00
Takashi Kokubun
b05d64aa50
Resurrect sync from GitHub to git.ruby-lang.org ( #14765 )
2025-10-07 17:12:01 -07:00
Stan Lo
5a9aa9013f
Use master commit of irb
...
This version of IRB has higher test timeout on CI, which is needed
for ZJIT to pass IRB integration tests.
2025-10-07 17:11:37 -07:00
Stan Lo
6c7aa118cc
ZJIT: Test against bundled gems on CI
2025-10-07 17:11:37 -07:00
Ricardo Trindade
42ba82424d
Fix typo in comment in array#zip docs
...
Duplicate the was found in the documentation
2025-10-07 18:54:34 -04:00
Aiden Fox Ivey
9a75c05b5a
ZJIT: Ignore results with no samples
2025-10-07 15:13:46 -07:00
Aiden Fox Ivey
c1cb034356
ZJIT: Refactor comments and rewrite frames handling
2025-10-07 15:13:46 -07:00
Aiden Fox Ivey
4d0f53520c
ZJIT: Change name format of zjit_exit_locations dump file
2025-10-07 15:13:46 -07:00
Aiden Fox Ivey
b78270a6c6
ZJIT: Remove unnecessary .dup calls in exit_locations
...
* Using https://www.rubyexplorer.xyz/?c=frames+%3D+results%5B%3Aframes%5D.dup shows dup is called regardless
2025-10-07 15:13:46 -07:00
Luke Gruber
446257c84b
Add debug #define to call sched_yield before each pthread_mutex_lock
...
This is useful for debugging mutex issues as it increases contention for locks.
It is off by default.
2025-10-07 13:00:16 -07:00
Nobuyoshi Nakada
7089a4e2d8
Fix not to skip necessary commits
2025-10-08 00:50:00 +09:00
Nobuyoshi Nakada
c951e1c4e0
Return false to skip emptied commits
2025-10-08 00:09:44 +09:00
Nobuyoshi Nakada
40d1603e54
[ruby/io-console] Skip emptied commits
...
https://github.com/ruby/io-console/commit/431c3f3369
2025-10-08 00:03:48 +09:00
Nobuyoshi Nakada
78dbc6c0b7
Shorten timeout for csv
...
It usually ends in a few seconds, and less than 10 seconds even on
Windows. But recently it stalls 10 minutes and times out.
2025-10-07 23:51:00 +09:00
Nobuyoshi Nakada
a6938eb46a
Skip files that are "deleted by us"
...
"Deleted" means that file is only for the upstream but not for ruby.
2025-10-07 22:36:32 +09:00
Satoshi Tagomori
25c893af6d
Add a control frame column "n:xxxx" as namespace id in crash reports
2025-10-07 22:18:29 +09:00