From 64fafe936ab8b3bb72dad9331cde95a1b63c3d13 Mon Sep 17 00:00:00 2001 From: Zsolt Parragi Date: Tue, 15 Jul 2025 08:29:48 +0100 Subject: [PATCH 1/2] Upload logs and datadirs on stormweaver failure Currently this is missing, and we don't have detailed information about the run/failure. --- .github/workflows/stormweaver.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/stormweaver.yml b/.github/workflows/stormweaver.yml index 779723740129c..89910baa11ceb 100644 --- a/.github/workflows/stormweaver.yml +++ b/.github/workflows/stormweaver.yml @@ -52,3 +52,21 @@ jobs: - name: Run Stormweaver run: bin/stormweaver scenarios/basic.lua -i ../../pginst working-directory: stormweaver + + - name: Upload logs on test fail + uses: actions/upload-artifact@v4 + if: ${{ failure() }} + with: + name: stormweaver-logs + path: | + stormweaver/logs/* + retention-days: 3 + + - name: Upload datadir on test fail + uses: actions/upload-artifact@v4 + if: ${{ failure() }} + with: + name: stormweaver-datadirs + path: | + stormweaver/datadirs/* + retention-days: 3 From 5049069379d51cc92269febc857fd8c3869e27c1 Mon Sep 17 00:00:00 2001 From: Zsolt Parragi Date: Tue, 15 Jul 2025 10:27:42 +0100 Subject: [PATCH 2/2] Fix pg installation reference in stormweaver run The path had an additional "../" section, which means it referenced outside the action working directory. For some reason (possibly earlier scripts during development?) we had an existing postgres installation there, but it was old and never updated. As it still had bugs in the partition handling code, it always reported an error. --- .github/workflows/stormweaver.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stormweaver.yml b/.github/workflows/stormweaver.yml index 89910baa11ceb..f66ca0b3a6c39 100644 --- a/.github/workflows/stormweaver.yml +++ b/.github/workflows/stormweaver.yml @@ -50,7 +50,7 @@ jobs: working-directory: postgres - name: Run Stormweaver - run: bin/stormweaver scenarios/basic.lua -i ../../pginst + run: bin/stormweaver scenarios/basic.lua -i ../pginst working-directory: stormweaver - name: Upload logs on test fail