Commit graph

1463 commits

Author SHA1 Message Date
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:

4446417911

```
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.

1561486768
1566290694

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
4406716126
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
Nobuyoshi Nakada
5da3dc88d6
CI: Timeout launchable setup in 3min 2025-06-06 08:00:51 +09:00
Nobuyoshi Nakada
296a0d0b7c
CI: Create report files only when Launchable setup succeeded 2025-06-06 08:00:51 +09:00
Nobuyoshi Nakada
62b1ae0905
Win: Slim down vcvars_ver options in the matrix 2025-06-05 15:34:49 +09:00
Naoto Ono
a4dc778a5e
Launchable: Set env variables to prevent CI slowdowns (#13513)
When Launchable in unstable, the round trip time takes a long time, which slows down CI execution. In this PR I configured the environment variable `LAUNCHABLE_COMMIT_TIMEOUT` to configure the timeout.

https://github.com/launchableinc/cli/pull/1015
2025-06-04 11:59:40 +00:00
Nobuyoshi Nakada
1395abd025
Win: Use VsDevCmd.bat instead of old vcvarsall.bat 2025-06-01 12:16:18 +09:00
Nobuyoshi Nakada
a333fb1ecc
Win: Add scripts to install and setup 2025-05-30 18:44:28 +09:00
Hiroshi SHIBATA
28860842cf Use the latest version of Windows SDK
72bda0f981
2025-05-28 10:37:00 +09:00
Peter Zhu
511b6bcb53 Reenable MMTk tests 2025-05-21 11:27:02 -04:00
Hiroshi SHIBATA
081a44f586 Disabled TRAP cache of CodeQL again 2025-05-21 17:11:15 +09:00
Alan Wu
cd15cc250f ZJIT: Run make zjit-test under combo build with YJIT 2025-05-21 01:22:55 +09:00
Alan Wu
ce5eb2803e YJIT: ZJIT: CI: Smoke test for --[y,z]jit-dump-disasm 2025-05-21 00:35:56 +09:00
Nobuyoshi Nakada
bf082a37a9
CI: Check if runnable first, before set up directories 2025-05-20 22:27:51 +09:00
Nobuyoshi Nakada
427ede2dde
CI: Fix revision.h on Windows
- Quote % inside `if` block
- Use short branch name
2025-05-15 17:25:56 +09:00
Nobuyoshi Nakada
a5da3682ef
CI: Refine setup on Windows
Get rid of hardcoded paths
2025-05-15 15:08:43 +09:00
Samuel Williams
a4ce8639d9 Add continue-on-error to failed Windows 2025 build. 2025-05-15 14:51:02 +09:00
Takashi Kokubun
ef0e4406c8 Revert "Set WASMTIME_BACKTRACE_DETAILS=1 for WASM basictest"
This reverts commit cb88edf0bf.

It didn't help. You need to go to a different repository (ruby/ruby.wasm)
to see meaningful backtraces.
4214467596 (step):16:176
2025-05-14 10:06:28 -07:00