From 3b1ed487fe02738544f0871069736b3d38b34d29 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 4 Nov 2025 11:51:12 +0000 Subject: [PATCH 1/2] Initial plan From 2154977a9f1ee3a590d3e3c6afcc7809858c1acf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 4 Nov 2025 11:59:12 +0000 Subject: [PATCH 2/2] fix: Correct cypress-split configuration with proper matrix containers Co-authored-by: enjeck <32180937+enjeck@users.noreply.github.com> --- .github/workflows/cypress-custom.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cypress-custom.yml b/.github/workflows/cypress-custom.yml index 273ee930a..9cf6e7221 100644 --- a/.github/workflows/cypress-custom.yml +++ b/.github/workflows/cypress-custom.yml @@ -32,6 +32,7 @@ jobs: matrix: databases: [ 'mysql' ] server-versions: [ 'stable30', 'stable31', 'stable32', 'master' ] + containers: [0, 1, 2, 3] include: - php-versions: 8.2 @@ -156,29 +157,29 @@ jobs: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_ncVersion: ${{ matrix.server-versions }} npm_package_name: ${{ env.APP_NAME }} - SPLIT: ${{ strategy.job-total }} - SPLIT_INDEX: ${{ strategy.job-index }} + SPLIT: 4 + SPLIT_INDEX: ${{ matrix.containers }} SPLIT_RANDOM_SEED: ${{ github.run_id }} - - name: Print logs ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} + - name: Print logs ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }}-${{ matrix.containers }} if: always() run: | cat /tmp/requestlog cat data/nextcloud.log - - name: Upload test failure screenshots ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} + - name: Upload test failure screenshots ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }}-${{ matrix.containers }} uses: actions/upload-artifact@v4 if: failure() with: - name: Upload screenshots ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} + name: Upload screenshots ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }}-${{ matrix.containers }} path: apps/${{ env.APP_NAME }}/cypress/screenshots/ retention-days: 5 - - name: Upload nextcloud logs ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} + - name: Upload nextcloud logs ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }}-${{ matrix.containers }} uses: actions/upload-artifact@v4 if: failure() with: - name: Upload nextcloud log ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} + name: Upload nextcloud log ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }}-${{ matrix.containers }} path: data/nextcloud.log retention-days: 5