diff --git a/.github/workflows/rails-ci.yml b/.github/workflows/rails-ci.yml index fb40b88..1cb3792 100644 --- a/.github/workflows/rails-ci.yml +++ b/.github/workflows/rails-ci.yml @@ -186,7 +186,7 @@ jobs: background: true # No dependencies of its own, so it can fire immediately too. - - name: Load Previous Turbo-Test Runtime Stats + - name: Load Previous Spec Runtime Stats uses: actions/cache/restore@v6 with: path: tmp/turbo_rspec_runtime.log @@ -278,7 +278,7 @@ jobs: background: true - name: Run Rspec Tests - run: bundle exec parallel_rspec --verbose spec/ + run: bundle exec parallel_rspec --verbose --runtime-log tmp/turbo_rspec_runtime.log spec/ env: CAPYBARA_DRIVER: js @@ -287,7 +287,7 @@ jobs: # None of these read each other's output — all four only consume # artifacts already produced by Run Rspec Tests above. - parallel: - - name: Save Turbo-Test Runtime Stats + - name: Save Spec Runtime Stats if: always() uses: actions/cache/save@v6 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index c730ecc..76b8299 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # RoleModel/actions +## [v3.11.3] Aug 31, 2026 + +- Pass `--runtime-log tmp/turbo_rspec_runtime.log` to `parallel_rspec` in `rails-ci.yml` and both composite actions. They cached the runtime log at that path, but `parallel_rspec` reads `tmp/parallel_runtime_rspec.log`, so it found nothing and silently grouped specs by file size — leaving ~30% of a 16-process runner idle. Also renames the two cache steps to "Load/Save Spec Runtime Stats". (#33) + ## [v3.11.2] Aug 20, 2026 - Bump outdated `actions/checkout` and `actions/setup-node` references, including `setup-node` in `rails-ci.yml`. (#30) diff --git a/linting-and-non-system-tests/action.yml b/linting-and-non-system-tests/action.yml index be02c56..63c7908 100644 --- a/linting-and-non-system-tests/action.yml +++ b/linting-and-non-system-tests/action.yml @@ -66,7 +66,7 @@ runs: - name: Run Rspec Tests shell: bash - run: bundle exec parallel_rspec --verbose --exclude-pattern "/system/" + run: bundle exec parallel_rspec --verbose --runtime-log tmp/turbo_rspec_runtime.log --exclude-pattern "/system/" - name: Publish Test Results uses: mikepenz/action-junit-report@v6 diff --git a/system-tests/action.yml b/system-tests/action.yml index d9bf28b..b6537c8 100644 --- a/system-tests/action.yml +++ b/system-tests/action.yml @@ -75,7 +75,7 @@ runs: - name: Run Rspec Tests shell: bash - run: bundle exec parallel_rspec --verbose-command spec/system + run: bundle exec parallel_rspec --verbose-command --runtime-log tmp/turbo_rspec_runtime.log spec/system env: GOOGLE_CHROME_BIN: ${{ case(inputs.web-driver == 'selenium', steps.setup-chrome.outputs.chrome-path, '') }} CAPYBARA_DRIVER: js