summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
5 hoursMerge blocks for the same conditionHEADmasterNobuyoshi Nakada
5 hours[rubygems/rubygems] Handle RubyGems installing to custom dir with ↵Nicholas La Roux
non-existent parent dirs https://.com/rubygems/rubygems/commit/4701123601
5 hours[rubygems/rubygems] Handle `Errno::EADDRNOTAVAIL` gracefullyDavid Rodríguez
As showed by the unskiped spec, on Windows trying to use the 0.0.0.0 interface raises this error, and it's raised as a generic system error when trying to create a `bundler.lock` file. Here's is a better place to handle that. https://.com/rubygems/rubygems/commit/e32c5a9e5c
5 hours[rubygems/rubygems] Make `HTTP_ERRORS` list look like `FAIL_ERRORS` listDavid Rodríguez
https://.com/rubygems/rubygems/commit/bfa6770e39
5 hours[rubygems/rubygems] Simplify non retriable errors listDavid Rodríguez
https://.com/rubygems/rubygems/commit/627a7615f2
5 hours[rubygems/rubygems] Move `HTTP_ERRORS` together with the other error constantsDavid Rodríguez
https://.com/rubygems/rubygems/commit/57e8ae7aa6
5 hours[rubygems/rubygems] Deprecate unused `Bundler#SpecSet` methodsDavid Rodríguez
https://.com/rubygems/rubygems/commit/380c95ce05
5 hours[rubygems/rubygems] Remove usage of `Bundler::SpecSet#<<`David Rodríguez
https://.com/rubygems/rubygems/commit/b556167793
5 hours[rubygems/rubygems] Fix flaky test failures in mirror probing specsDavid Rodríguez
The mirror probing spec file was moved to our regular suite, which runs in parallel, recently. These specs rely on starting and stopping actual servers in localhost, but this does not play nice with parallelization, because a spec may kill the webserver another spec has created. This commit moves mirror probing specs to not need to start servers in localhost and do something more similar to what the other specs do. https://.com/rubygems/rubygems/commit/ca9a19706f
33 hoursAvoid allocation for positional splat for literal array keyword argumentJeremy Evans
If all nodes in the array are safe, then it is safe to avoid allocation for the positional splat: ```ruby m(*a, kw: [:a]) # Safe m(*a, kw: [meth]) # Unsafe ``` This avoids an unnecessary allocation in a Rails method call. Details: https://.com/rails/rails/pull/54949/files#r2052645431
38 hours[Bug #21448] Reorder trials in `fill_random_bytes`Nobuyoshi Nakada
First try dedicated system calls, such as `getrandom` or `getentropy`, next possible libraries, then fallback to `/dev/urandom`.
39 hoursSuppress warningsNobuyoshi Nakada
- `ractor_sync_terminate_atfork` is unused unless fork is working - `cr` in `vm_lock_leave` is only for debugging
41 hoursvariable.c: avoid out of bound write in `generic_field_set`Jean Boussier
[Bug #21445]
44 hoursRestore getrandom(2) path for Linux with glibc 2.36 or laterKazuki Yamaguchi
This is a follow-up to commit b120f5e38d9c (avoid fork-unsafe arc4random implementations, 2018-09-04). Avoid defining a no-op fill_random_bytes_syscall() if arc4random_buf(3) exists, but we are unsure if it is fork-safe. Check for other options instead. IOW, see if getrandom(2) is available. glibc 2.36, released in 2022, started to provide arc4random_buf(3) on Linux. This causes fill_random_bytes_syscall() to use neither of them and makes Random.urandom solely rely on getentropy(3) via fill_random_bytes_urandom(). While the glibc implementation is safe, I did not add it to the list because using getrandom(2) directly is preferable on Linux.
47 hours[Bug #21448] Use `getentropy(2)` only on macOSNobuyoshi Nakada
If this is not a system call, then it is using getrandom (which would have been tried already), and cannot be used as a replacement for the random devices.
2 daysMove a comment to the corresponding conditional block [ci skip]Nobuyoshi Nakada
2 daysZJIT: Move ccall comments near ccall instructions (#13662)Max Bernstein
Don't confuse them with other nearby instructions.
2 daysFix handling of PM_CONSTANT_PATH_NODE node in keyword arguments with ARGS_SPLATJeremy Evans
This was handled correctly in parse.y (NODE_COLON2), but not in prism. This wasn't caught earlier, because I only added tests for the optimized case and not the unoptimized case. Add tests for the unoptimized case. In code terms: ```ruby m(*a, kw: lvar::X) # Does not require allocation for *a m(*a, kw: method()::X) # Requires allocation for *a ``` This commit fixes the second case when prism is used.
3 days[ruby/openssl] ssl: add SSLContext#sigalgs= and #client_sigalgs=Kazuki Yamaguchi
Add methods for setting supported signature algorithms, corresponding to SSL_CTX_set1_sigalgs_list() and SSL_CTX_set1_client_sigalgs_list(), respectively. https://.com/ruby/openssl/commit/6bbe58c492 Co-authored-by: Markus Jung <[email protected]>
3 days[ruby/openssl] ssl: update rdoc for SSLContext#ciphers= and #ciphersuites=Kazuki Yamaguchi
https://.com/ruby/openssl/commit/54f22395e7
3 days[ruby/openssl] ssl: correct array index type in build_cipher_string()Kazuki Yamaguchi
https://.com/ruby/openssl/commit/9c9333c07d
3 daysZJIT: Typofix (#13665)Hiroshi SHIBATA
3 daysDump with debugger just onceNobuyoshi Nakada
3 days[ruby/io-console] Ignore `^C` at interruptNobuyoshi Nakada
It's something we don't expect and might be coming from somewhere else. https://.com/ruby/io-console/commit/f0646b2b6a
3 daysRevert to setup-ruby v1.231.0Hiroshi SHIBATA
v1.245.0 is not working with the following issue: https://.com/ruby/ruby/actions/runs/15769771616/job/44464179119?pr=13661 ``` D:/a/ruby/ruby/src/test/rubygems/mock_gem_ui.rb:83:in 'Gem::MockGemUi#terminate_interaction': Gem::MockGemUi::TermError (Gem::MockGemUi::TermError) D:/a/ruby/ruby/src/lib/rubygems/user_interaction.rb:157:in 'Gem::UserInteraction#terminate_interaction' D:/a/ruby/ruby/src/lib/rubygems/commands/exec_command.rb:175:in 'Gem::Commands::ExecCommand#install' D:/a/ruby/ruby/src/lib/rubygems/commands/exec_command.rb:70:in 'Gem::Commands::ExecCommand#execute' D:/a/ruby/ruby/src/lib/rubygems/command.rb:326:in 'Gem::Command#invoke_with_build_args' D:/a/ruby/ruby/src/lib/rubygems/command.rb:304:in 'Gem::Command#invoke' D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb:43:in 'TestGemCommandsExecCommand#invoke' D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb:274:in 'block in TestGemCommandsExecCommand#test_gem_with_platform_and_platform_dependencies' D:/a/ruby/ruby/src/lib/rubygems/user_interaction.rb:46:in 'Gem::DefaultUserInteraction.use_ui' D:/a/ruby/ruby/src/lib/rubygems/user_interaction.rb:69:in 'Gem::DefaultUserInteraction#use_ui' D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb:272:in 'TestGemCommandsExecCommand#test_gem_with_platform_and_platform_dependencies' D:/a/ruby/ruby/src/tool/lib/test/unit/testcase.rb:202:in 'Test::Unit::TestCase#run_test' D:/a/ruby/ruby/src/tool/lib/test/unit/testcase.rb:170:in 'Test::Unit::TestCase#run' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1683:in 'block in Test::Unit::Runner#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1670:in 'Array#map' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1670:in 'Test::Unit::Runner#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1374:in 'Test::Unit::ExcludesOption#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:52:in 'Test::Unit::Worker#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:24:in 'block in Test::Unit::Worker#_run_suites' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:23:in 'Array#map' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:23:in 'Test::Unit::Worker#_run_suites' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:122:in 'Test::Unit::Worker#run' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:220:in '<main>' running file: D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb ```
3 daysUpdate to the latest step versions at the ActionsHiroshi SHIBATA
3 daysCI: Run Launchable in the build directoryNobuyoshi Nakada
As well as compilers/entrypoint.sh.
3 daysFix indents in macrosNobuyoshi Nakada
3 daysDo not fetch already fetched commitsNobuyoshi Nakada
3 daysUse another credential for generating new releasesHiroshi SHIBATA
3 daysUpdate bundled gems list as of 2025-06-20git
3 daysRename token name to more descriptiveHiroshi SHIBATA
3 daysUse windows-2025 image because that have pre-installed wingetHiroshi SHIBATA
Notes: Merged: https://.com/ruby/ruby/pull/13660
3 daysSeparate credential with auto_request_review and othersHiroshi SHIBATA
3 daysRe-enabled to upload sarif file of scorecardsHiroshi SHIBATA
3 daysUpdate scorecards action with the latest template fileHiroshi SHIBATA
3 daysZJIT: Add pass to clean CFG (#13655)Max Bernstein
We can fuse linked lists of blocks. This can be run any time, improves future analyses, improves codegen, and also makes the HIR output look nicer. Inspired by my implementation of CleanCFG for Cinder, which was itself inspired by Brett Simmers' implementation in HHVM. Notes: Merged-By: tekknolagi <[email protected]>
3 daysSeparate credential with dependabot and othersHiroshi SHIBATA
4 daysZJIT: objtostring to HIRywenc
Add a fast path for known strings at compile time, otherwise calls method id to_s using Insn::SendWithoutBlock Co-authored-by: composerinteralia <[email protected]> More specific test name in zjit/src/hir.rs Co-authored-by: Max Bernstein <[email protected]> Notes: Merged: https://.com/ruby/ruby/pull/13627
4 daysZJIT: Add `dupn` supportAlan Wu
Notes: Merged: https://.com/ruby/ruby/pull/13641
4 daysCI: Extract `launchable_setup` functionNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13623
4 daysCI: Extract `launchable_record_session` functionNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13623
4 daysCI: Store session info in variables directlyNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13623
4 daysZJIT: Implement `opt_reverse`Alan Wu
Notes: Merged: https://.com/ruby/ruby/pull/13653
4 daysRemove unnecessary shebang and excutable bits [ci skip]Nobuyoshi Nakada
4 daysFix EnvUtil::Debugger#dumpNobuyoshi Nakada
- Send outputs from debugger to stderr - Use `%W` to interpolate the pid Notes: Merged: https://.com/ruby/ruby/pull/13656
4 daysRelax delta valueHiroshi SHIBATA
https://.com/ruby/ruby/actions/runs/15751511003/job/44397451542?pr=13649 ``` 1) Failure: TestLastThread#test_last_thread [/Users/runner/work/ruby/ruby/src/test/-ext-/gvl/test_last_thread.rb:18]: Expected |1.0 - 1.167141| (0.16714099999999998) to be <= 0.16. ```
4 daysUpdate CGI sections under the doc directoryHiroshi SHIBATA
4 days`struct iseq_catch_table` is packedNobuyoshi Nakada
4 daysFix missing write barrier on class fieldsJohn Hawthorn
Found by wbcheck klass = Class.new 200.times do |iv| klass.instance_variable_set("@_iv_#{iv}", Object.new) end Notes: Merged: https://.com/ruby/ruby/pull/13654