From 25f6b215088b46c9b11cb12f9edcfcad8dad4cfa Mon Sep 17 00:00:00 2001 From: He-Pin Date: Sat, 9 May 2026 15:53:21 +0800 Subject: [PATCH] fix: nightly YAML multiline run command starts sbt without tasks 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