This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new a20f58c7b fix: nightly YAML multiline run command starts sbt without
tasks (#1031)
a20f58c7b is described below
commit a20f58c7b6064ff7e55be0de8f861b0bd60ed5fe
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Sat May 9 16:13:38 2026 +0800
fix: nightly YAML multiline run command starts sbt without tasks (#1031)
Motivation:
After #1030, the nightly job has been hanging for 5+ hours per matrix
entry until canceled (e.g. run 25588927669). The `run: |` literal block
turns each indented line into a separate shell command, so the first
line `sbt -D... -D...` launches sbt with no tasks and drops into the
interactive REPL, while the following `-D...` / `"++ ..." ... test`
lines never reach sbt.
Modification:
Switch the block scalar from `|` (literal, preserves newlines) to `>`
(folded, joins lines with spaces) so the whole sbt invocation runs as
a single command. Trailing whitespace on the first line is also
removed.
Result:
The nightly job runs sbt with all `-D` flags and the `test` task in
one process, restoring normal completion time.
---
.github/workflows/nightly.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 321b5d522..f3c2be865 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -57,11 +57,11 @@ jobs:
run: sbt -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }} "++
${{ matrix.SCALA_VERSION }}" Test/compile
- name: Run all tests JDK ${{ matrix.JDK }}, Scala ${{
matrix.SCALA_VERSION }}, Pekko ${{ matrix.PEKKO_VERSION }}, TLS Engine ${{
matrix.TLS_ENGINE_CONFIG }}
- run: |
- sbt -Dpekko.http.parallelExecution=false -Dpekko.test.timefactor=2
- -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }}
- -DTLS_ENGINE_CONFIG=${{ matrix.TLS_ENGINE_CONFIG }}
- "++ ${{ matrix.SCALA_VERSION }}" mimaReportBinaryIssues test
+ run: >
+ sbt -Dpekko.http.parallelExecution=false -Dpekko.test.timefactor=2
+ -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }}
+ -DTLS_ENGINE_CONFIG=${{ matrix.TLS_ENGINE_CONFIG }}
+ "++ ${{ matrix.SCALA_VERSION }}" mimaReportBinaryIssues test
- name: Upload test results
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
# v7.0.1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]