summaryrefslogtreecommitdiff
path: root/.github/actions/launchable
AgeCommit message (Collapse)Author
2025-10-17CI: Launchable: Fix errors at actions/setup-python on ppc64le/s390xJun Aruga
The following errors happened at the actions/setup-python step. https://github.com/ruby/ruby/actions/runs/18229870239 > The version '3.x' with architecture 's390x' was not found for Ubuntu 24.04. > The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json > The version '3.x' with architecture 'ppc64' was not found for Ubuntu 24.04. > The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json After skipping the actions/setup-python step, the following errors also happened at the actions/setup-java step. https://github.com/ruby/ruby/actions/runs/18355975425?pr=14721 > make-ibm (check, ubuntu-24.04-ppc64le) > Could not find satisfied version for SemVer '17'. > make-ibm (check, ubuntu-24.04-s390x) > The process '/usr/bin/bash' failed with exit code 1 > make-ibm (check, ubuntu-24.04-s390x) > Process completed with exit code 127. To fix the errors, I started using the Java distribution semeru (IBM Semeru Runtime Open Edition) on the ppc64le/s390x cases. You can see the following page for the details of the Java distribution semeru. https://github.com/actions/setup-java?tab=readme-ov-file#supported-distributions https://github.com/actions/setup-java/blob/ead9eaa3cfe0b0fc2fa749519ae09c3d4f4080b0/src/distributions/semeru/installer.ts#L20-L27
2025-07-23Launchable: Remove `launchable subset` command (#13969)Naoto Ono
I've enabled the [Predictive Test Selection](https://www.launchableinc.com/docs/features/predictive-test-selection/) feature, which let machine-learning model selects the appropriate tests to reduce CI execution time in https://github.com/ruby/ruby/pull/12617. However, I noticed that there are some problems for enabling PTS in Ruby CI after several experiments. Until fixing the problem, I'll disable this feature by removing `launchable subset` command.
2025-06-20CI: Run Launchable in the build directoryNobuyoshi Nakada
As well as compilers/entrypoint.sh.
2025-06-19CI: Extract `launchable_setup` functionNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13623
2025-06-19CI: Store session info in variables directlyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13623
2025-06-15Fix a missing double quoteNobuyoshi Nakada
2025-06-06CI: Split cleanups of Launchable generated filesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13538
2025-06-06CI: Create report files only when Launchable setup succeededNobuyoshi Nakada
2025-06-04Launchable: Set env variables to prevent CI slowdowns (#13513)Naoto Ono
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 Notes: Merged-By: ono-max <onoto1998@gmail.com>
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-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-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-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-01-29Launchable: Use Zero Input Subsetting (#12650)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-01-24Launchable: Enable PTS observation mode (#12617)Naoto Ono
Launchable offers the Predictive Test Selection feature for speeding up CI execution. Predictive Test Selection leverages machine learning to identify the right tests to run for a specific code change. By analyzing data from past test runs and considering the changes being tested, Launchable determines which tests are most relevant. To evaluate the list of tests that Launchable selects, I enable PTS observation mode. Please note that there is no impacts on CI execution. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-12Launchable: Start recording test-spec results (#12302)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-10Launchable: Remove unnecessary command (#12299)Naoto Ono
`launchable verify` command is designed for checking if CLI has been configured successfully. We've already checked it, so we don't need calling this command anymore. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-09Launchable: Remove FIXME comment (#12293)Naoto Ono
https://github.com/launchableinc/cli/issues/786 has already been solved, so we can remove the comment. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-09Enable more Launchable integration in bootstraptest and test-all (#12255)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-10-11Fix spellingJohn Bampton
Notes: Merged: https://github.com/ruby/ruby/pull/11882 Merged-By: XrXr
2024-08-13Launchable: Fix condition for bootstraptestNaoto Ono
Notes: Merged: https://github.com/ruby/ruby/pull/11340
2024-08-01Integrate Launchable into windowsNaoto Ono
Notes: Merged: https://github.com/ruby/ruby/pull/11272
2024-07-18Lanunchable: Add missing condition statementNaoto Ono
Addresses https://github.com/ruby/ruby/pull/11183/files#r1680617485. Notes: Merged: https://github.com/ruby/ruby/pull/11185
2024-07-17Launchable: Fix Python package pathNaoto Ono
Notes: Merged: https://github.com/ruby/ruby/pull/11183
2024-07-08Integrate Launchable into make btestNaoto Ono
2024-06-24Use $GITHUB_PATHNaoto Ono
2024-03-18Launchable: Remove unused codesNaoto Ono
2024-03-13Do not fail launchable verify commandNaoto Ono
2024-03-10Report to Launchable at post-runNobuyoshi Nakada
Instead of separate two actions, register the post run at setup. Co-authored-by: Naoto Ono <onoto1998@gmail.com>
2024-02-29Resolve a warning in `launchable record build` commandNaoto Ono
2024-02-26Expand Launchable into ubuntu workflowNaoto Ono