summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2025-04-18Allow failing zjit-test on LinuxTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Fix YJIT references in commentsTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Drop cargo build jobsTakashi Kokubun
It doesn't seem important to keep `cargo build`-only jobs. The zjit-test task should be covering most of what we wanted in the job now. Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Fix s/test-zjit/zjit-test/Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18CI: get cargo-nextestAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18fix typo to actually test zjit in zjit-macosAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18ci blindshot for `make test-zjit`Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Set up a CI for Arm64 macOS tooTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Fix configure for zjit-bindgenTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18We don't need the result job for nowTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Run a basic CI for ZJIT without --zjitTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Add configuration for git commitTakashi Kokubun
and test auto-style again by adding spaces to app_fib
2025-04-18Use github.event.beforeTakashi Kokubun
2025-04-18Check GitHub context for push eventsTakashi Kokubun
2025-04-18Port auto-style to GitHub ActionsTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13126
2025-04-17Temporarily stop the trailing-space check in CIYusuke Endoh
I will restore the check after the preview release Notes: Merged: https://github.com/ruby/ruby/pull/13122
2025-04-17Don't use admin grantHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13121
2025-04-17Use uutils-coreutilsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13121
2025-04-17Use coreutils instead of msys2 because msys2 is not provided windows-11-armHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13121
2025-04-16Revert advanced-security/filter-sarif update for v1.0.1Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13119
2025-04-16Bump up to msys2/setup-msys2 to v2.27.0Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13119
2025-04-16Bump up to the latest versions of actionsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13119
2025-04-11Restore Windows 2022 build with VS2019 toolsetHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13103
2025-04-11Fixed wrong usage of matrix.vs. That label is os version, not vs versionHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13102
2025-04-04Hardening auto-merge workflowHiroshi SHIBATA
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enabling-automerge-on-a-pull-request
2025-04-03Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml ↵Hiroshi SHIBATA
via vcpkg Notes: Merged: https://github.com/ruby/ruby/pull/13049
2025-03-27Do not run ruby/spec on CI on Ruby 3.0Andrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12984
2025-03-24Launchable: Fix CI scripts by adding backslashes (#12974)Naoto Ono
The following command doesn't work correctly since a backslash doesn't exist after `exec`. This PR fixes it. ``` if [ -n "${LAUNCHABLE_ORGANIZATION}" ]; then exec > >(tee launchable_stdout.log) \ 2> >(tee launchable_stderr.log) fi ``` Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-03-24Bump actions/cache in /.github/actions/setup/directoriesdependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.2 to 4.2.3. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/d4323d4df104b026a6aa633fdb11d772146be0bf...5a3ec84eff668545956fd18022155c47e93e2684) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/12954
2025-03-12Launchable: Disable request retries when a timeout exception occurs (#12877)Naoto Ono
When a Launchable server is unstable, a ReadTimeoutException occurs in the Launchable CLI. In such case, the Launchable CLI retries requests, which slows down CI execution. In this PR, I configured the environment variable SKIP_TIMEOUT_RETRY to disable retry attempts on requests(Link: https://github.com/launchableinc/cli/pull/992). ``` WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")': /intake/organizations/ruby/workspaces/ruby/commits/collect/options WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")': /intake/organizations/ruby/workspaces/ruby/commits/collect/options WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")': /intake/organizations/ruby/workspaces/ruby/commits/collect/options HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Max retries exceeded with url: /intake/organizations/ruby/workspaces/ruby/commits/collect/options (Caused by ReadTimeoutError("HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=15)")) Exception in thread "main" javax.net.ssl.SSLException: Connection reset at sun.security.ssl.Alert.createSSLException(Alert.java:127) at sun.security.ssl.TransportContext.fatal(TransportContext.java:331) at sun.security.ssl.TransportContext.fatal(TransportContext.java:274) at sun.security.ssl.TransportContext.fatal(TransportContext.java:269) at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1572) at sun.security.ssl.SSLSocketImpl.access$400(SSLSocketImpl.java:73) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:982) at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at com.launchableinc.ingest.commits.CommitGraphCollector.transfer(CommitGraphCollector.java:131) at com.launchableinc.ingest.commits.CommitIngester.run(CommitIngester.java:145) at com.launchableinc.ingest.commits.CommitIngester.main(CommitIngester.java:72) Suppressed: java.net.SocketException: Broken pipe (Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) at java.net.SocketOutputStream.write(SocketOutputStream.java:155) at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81) at sun.security.ssl.TransportContext.fatal(TransportContext.java:362) ... 25 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464) at sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68) at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1350) at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:73) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:966) ... 20 more Couldn't get commit history from `/github/workspace/src`. Do you run command root of git-controlled directory? If not, please set a directory use by --source option. HTTPSConnectionPool(host='api.mercury.launchableinc.com', port=443): Read timed out. (read timeout=60) Command '['java', '-jar', '/root/.local/pipx/venvs/launchable/lib/python3.10/site-packages/launchable/jar/exe_deploy.jar', 'ingest:commit', '-endpoint', ``` https://github.com/ruby/ruby/actions/runs/13572112090/job/37939529243 Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-03-06Launchable: Send stdout and stderr (#12785)Naoto Ono
Currently, the Launchable team is developing a new feature to attach any logs. Attached log can be anything, such as system logs or stdout. Users can find these logs using any text search. Please note that this feature is a work in progress, so we can't use it yet. I'm going to attach stdout and stderr as attached logs because they will be useful for finding interpreter bugs. When running tests, we sometimes see interpreter itself crash, and the stack is output to stderr. When debugging the cause of the issue, this feature is useful. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-03-05auto-request-review should run only for masterTakashi Kokubun
Backport PRs are reviewed only by the branch maintainers.
2025-03-06Bump actions/cache in /.github/actions/setup/directoriesdependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.1 to 4.2.2. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/0c907a75c2c80ebcb7f088228285e798b750cf8f...d4323d4df104b026a6aa633fdb11d772146be0bf) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/12828
2025-03-04Sync skip rules from ubuntu.ymlHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12846
2025-03-04Try to build WSL on GitHub ActionsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12846
2025-02-28Increase timeouts in Compilations actions to reduce intermittent failures ↵Naoto Ono
(#12827) Compilations actions are flaky and intermittently failing now. This run (https://github.com/ruby/ruby/actions/runs/13572112090) is an example of the issue. The job fails due to exceeding the timeout, resulting in termination. To prevent these intermittent failures, I'm going to increase the timeout. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-02-28Visual Studio 2022 17.13.x couldn't build miniruby.exe. It prevents other PRs.Hiroshi SHIBATA
https://github.com/actions/runner-images/commit/e43209e1398efe7739e42509162b3187515b9359 ``` user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib gmp.lib imagehlp.lib shlwapi.lib bcrypt.lib linking miniruby.exe Creating library miniruby.lib and object miniruby.exp [BUG] heap_idx_for_size: allocation size too large (size=145u, heap_idx=25u) ruby 3.5.0dev (2025-02-28T01:12:37Z pull/12827/merge 3d6a5a1883) [x64-mswin64_140] ``` ``` user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib bcrypt.lib linking miniruby.exe NMAKE : fatal error U1077: '@ miniruby.exe -v' : return code '0xc0000005' ``` Notes: Merged: https://github.com/ruby/ruby/pull/12830
2025-02-26Launchable: Fix `launchable record session` command failures (#12810)Naoto Ono
Currently, the `launchable record session` command is failing some workflows such as YJIT on macOS. This occurs because of word splitting, as explained in https://www.shellcheck.net/wiki/SC2086. This PR addresses the issue. ``` + launchable record session --build refs_pull_12785_merge_5ac818aaf7402e232de6b3e1b078765da3dc6279 --observation --flavor os=macos-14 --flavor test_task=check --flavor test_opts=--enable-yjit --flavor workflow=YJIT macOS Arm64 --test-suite yjit-test-all Usage: launchable record session [OPTIONS] Try 'launchable record session --help' for help. Error: Got unexpected extra arguments (macOS Arm64) Error: Process completed with exit code 2. ``` https://github.com/ruby/ruby/actions/runs/13535324545/job/37825826044#step:10:354 Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-02-20Bump actions/cache in /.github/actions/setup/directoriesdependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/1bd1e32a3bdc45362d1e726936510720a7c30a57...0c907a75c2c80ebcb7f088228285e798b750cf8f) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/12784
2025-02-19[wasm] Update WASI SDK to 25Yuta Saito
to include WASI Preview 2 related changes added in the SDK. Notes: Merged: https://github.com/ruby/ruby/pull/12772
2025-02-19Launchable: Remove unused file names (#12782)Naoto Ono
I found file names that were not used anymore. I'm gonna delete them in this PR. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-02-17Enabled test_gmp_versionHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12763
2025-02-15Fixed syntax error for OpenSSL version detectionHiroshi SHIBATA
2025-02-13[Feature #21116] Extract RJIT as a third-party gemNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12740
2025-02-10Launchable: Add a workflow name as a flavor (#12720)Naoto Ono
Adding a workflow name would be easier to understand the connection between a test session and GitHub workflow. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-02-09Use the default MMTk planPeter Zhu
The default MMTk plan is no longer MarkSweep, so we shouldn't force it to be MarkSweep. Notes: Merged: https://github.com/ruby/ruby/pull/12719
2025-02-09Remove MMTk configuration for debug buildsPeter Zhu
We are no longer running debug builds of MMTk here, so we don't need this configuration anymore. Notes: Merged: https://github.com/ruby/ruby/pull/12719
2025-02-07Add timeout to compilers workflowPeter Zhu
The default timeout on GitHub Actions is 360 minutes, the job usually takes around 20 to 30 minutes to complete. This commit sets the timeout to be 40 minutes so jobs that hang will timeout faster. Notes: Merged: https://github.com/ruby/ruby/pull/12712
2025-02-07[CI] add CI matrix for clang-21卜部昌平
see also https://github.com/llvm/llvm-project/pull/124870
2025-02-06Launchable: Fix broken links by passing GITHUB_SERVER_URL (#12704)Naoto Ono
@peterzhu2118 mentioned that "View workflow run" button is broken in Launchable. It's because invalid URL is sent from compilers/actions.yaml. Launchable CLI builds URL based on the environment variables. In those variables, GITHUB_SERVER_URL is not set in this case. Hence, I set GITHUB_SERVER_URL in compilers/actions.yaml in this PR. Notes: Merged-By: ono-max <onoto1998@gmail.com>