1429 Commits

Author SHA1 Message Date
Hiroshi SHIBATA
5564e0a58d
Fixed wrong commit hash 2025-07-04 15:31:02 +09:00
Hiroshi SHIBATA
66aaf5b67f actions/cache is working with relative path 2025-07-04 11:33:24 +09:00
Takashi Kokubun
ed3fd94e77
ZJIT: Panic on BOP redefinition only when needed (#13782) 2025-07-03 13:09:10 -07:00
Takashi Kokubun
c584cc079e
ZJIT: Enable one more btest (#13781) 2025-07-03 09:40:43 -07:00
Takashi Kokubun
0abe17dae0
ZJIT: Bail out on register spill (#13773) 2025-07-03 09:30:45 -07:00
Takashi Kokubun
d5f5a56bf2
ZJIT: Reject ISEQs with too-large stack_max (#13770) 2025-07-02 13:01:24 -07:00
Naoto Ono
efc686697e
Launchable: Temporarily remove Launchable integration from Compilatio… (#13759)
Launchable: Temporarily remove Launchable integration from Compilations workflow

Currently, Launchable is unstable, which occationally causes workflow issues. Until this problem is fixed, we'll temporary disable Launchable in the Compilations workflow.
2025-07-02 21:12:48 +09:00
Nobuyoshi Nakada
d314673115
CI: Fix appending to an array
Parentheses are required to add a new element to an array, not to the
first element of the array.
2025-07-02 12:37:08 +09:00
Nobuyoshi Nakada
2cb065d0a2
Update gcc for LTO to 15 2025-07-02 09:23:08 +09:00
Takashi Kokubun
2fda843479
ZJIT: Stop tracking EP == BP assumption on JIT entry (#13752)
* ZJIT: Stop tracking EP == BP assumption on JIT entry

* Enable test_method.rb as well
2025-07-01 11:59:33 -07:00
Takashi Kokubun
2287dd4af2
ZJIT: Enable bootstraptest/test_block.rb (#13751) 2025-06-30 15:22:56 -07:00
Takashi Kokubun
99360e500d
ZJIT: Enable a couple more btests (#13748) 2025-06-30 11:15:00 -07:00
Takashi Kokubun
7743aa3799 Revert "Force blank issues on fork repos"
This reverts commit 81a2fdff1b311efb75dac463764f3658aede0010.

Never mind, it didn't work. It seems like you'll see one as long as
you're admin on the (fork) repository.

Removing this unnecessary file.
2025-06-30 10:37:32 -07:00
Takashi Kokubun
44e4b02754
ZJIT: setglobal should not return output (#13744)
* ZJIT: setglobal should not return output

* Let the caller wrap Some
2025-06-30 09:27:31 -07:00
Takashi Kokubun
81a2fdff1b Force blank issues on fork repos
We don't use issues on ruby/ruby, but we do in some fork repositories.
When filing issues, GitHub checks if you want to report a security issue
when .github/SECURITY.md exists, but we don't do that on GitHub. So this
commit attempts to always create a blank issue.
2025-06-30 08:52:12 -07:00
Hiroshi SHIBATA
cf3acead9d Use https://github.com/ruby/power_assert/pull/58 2025-06-27 11:14:50 +09:00
Takashi Kokubun
f8cd26736f
ZJIT: Stop loading an extra parameter (#13719) 2025-06-26 14:06:49 -07:00
Hiroshi SHIBATA
7d01905ef1 typeprof, rbs and repl_type_completor are working with HEAD now 2025-06-26 17:37:04 +09:00
Hiroshi SHIBATA
8f44d482a3 windows-2025 runner updated Visual Studio from broken version 2025-06-25 12:20:58 +09:00
Jeremy Evans
3a9c091cf3 Simplify Set#inspect output
As Set is now a core collection class, it should have special inspect
output.  Ideally, inspect output should be suitable to eval, similar
to array and hash (assuming the elements are also suitable to eval):

  set = Set[1, 2, 3]
  eval(set.inspect) == set # should be true

The simplest way to do this is to use the Set[] syntax.

This deliberately does not use any subclass name in the output,
similar to array and hash. It is more important that users know they
are dealing with a set than which subclass:

  Class.new(Set)[]
  # this does: Set[]
  # not: #<Class:0x00000c21c78699e0>[]

This inspect change breaks the power_assert bundled gem tests, so
add power_assert to TEST_BUNDLED_GEMS_ALLOW_FAILURES in the workflows.

Implements [Feature #21389]
2025-06-25 09:21:07 +09:00
Nobuyoshi Nakada
da10b956e0
Generate HTML documentation even if only NEWS.md is updated 2025-06-24 18:50:50 +09:00
Hiroshi SHIBATA
7addde1ece Revert to setup-ruby v1.231.0
v1.245.0 is not working with the following issue:

https://github.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
```
2025-06-20 17:55:48 +09:00
Hiroshi SHIBATA
092ea7a163 Update to the latest step versions at the GitHub Actions 2025-06-20 17:55:48 +09:00
Nobuyoshi Nakada
896f9f6328 CI: Run Launchable in the build directory
As well as compilers/entrypoint.sh.
2025-06-20 17:40:59 +09:00
Hiroshi SHIBATA
29c7f849db
Use another credential for generating new releases 2025-06-20 15:33:47 +09:00
Hiroshi SHIBATA
e23941677c
Rename token name to more descriptive 2025-06-20 12:45:54 +09:00
Hiroshi SHIBATA
1e428366ae Use windows-2025 image because that have pre-installed winget 2025-06-20 12:35:16 +09:00
Hiroshi SHIBATA
fafae10d9a
Separate credential with auto_request_review and others 2025-06-20 11:40:05 +09:00
Hiroshi SHIBATA
9e8fa9bcd7
Re-enabled to upload sarif file of scorecards 2025-06-20 10:44:31 +09:00
Hiroshi SHIBATA
5468148581
Update scorecards action with the latest template file 2025-06-20 10:44:03 +09:00
Hiroshi SHIBATA
2a79d7fcc7
Separate credential with dependabot and others 2025-06-20 09:16:01 +09:00
Nobuyoshi Nakada
82dfd44f93
CI: Extract launchable_setup function 2025-06-19 21:17:56 +09:00
Nobuyoshi Nakada
1b018d96d0
CI: Extract launchable_record_session function 2025-06-19 21:17:56 +09:00
Nobuyoshi Nakada
87d33583af
CI: Store session info in variables directly 2025-06-19 21:17:55 +09:00
Nobuyoshi Nakada
aaa956e8f1
Now irb is a bundled gem and needs rubygems 2025-06-18 20:26:02 +09:00
Hiroshi SHIBATA
a3f2f7b73a
lewagon/wait-on-check-action didn't need bot token 2025-06-17 15:09:35 +09:00
Nobuyoshi Nakada
9255db4bc0
Run auto-style only when pull-request 2025-06-17 12:20:29 +09:00
Nobuyoshi Nakada
c59f66b61a
CI: Fix spec_opts 2025-06-16 14:33:57 +09:00
Naoto Ono
311aa0dfa7
Launchable: Terminate Launchable CLI process quickly by sending singa… (#13622)
Launchable: Terminate Launchable CLI process quickly by sending singals to a process group

Sometimes, the timeout errors occurred in Compilations workflow, this is because Launchable CLI process was not terminated correctly. To address this issue, we'll send signals to a process group.

https://github.com/ruby/ruby/actions/runs/15614867686
https://github.com/ruby/ruby/actions/runs/15662906947

Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2025-06-16 14:18:57 +09:00
Nobuyoshi Nakada
b670a04ac7
Fix a missing double quote 2025-06-15 20:58:06 +09:00
Takashi Kokubun
39569da4e4 Work around CI failures coming from Launchable
https://github.com/ruby/ruby/actions/runs/15640729145/job/44067161266
2025-06-13 12:45:34 -07:00
Takashi Kokubun
69148a87e8
ZJIT: Partially enable btest on CI (#13613) 2025-06-13 12:40:29 -07:00
Nobuyoshi Nakada
a66d823c15
CI: Fix launchable timeout
`setup_launchable` needs to run the current shell, not in a subshell.
2025-06-13 19:48:44 +09:00
Hiroshi SHIBATA
fd7e56a831 Use artifacts built by vcpkg manifest mode
I'm not sure why vcpkg cache is not using while recent weeks.
2025-06-11 17:04:18 +09:00
Nobuyoshi Nakada
4b80f56f60
Update a step name [ci skip] 2025-06-10 01:03:23 +09:00
Nobuyoshi Nakada
180214287e CI: Continue without record if Launchable setup failed 2025-06-06 14:03:32 +09:00
Nobuyoshi Nakada
78d2a2308f CI: Split cleanups of Launchable generated files 2025-06-06 14:03:32 +09:00
Nobuyoshi Nakada
f1fe26a334
CI: Fix duplicate timeouts 2025-06-06 09:40:52 +09:00
Nobuyoshi Nakada
e66ac2a743
CI: Fix redirection errors 2025-06-06 09:37:19 +09:00
Nobuyoshi Nakada
86eb5f9c05
CI: Trap launchable_record_test in the parent process 2025-06-06 08:52:02 +09:00