@@ -232,7 +232,6 @@ jobs:
232232 exit $rc
233233
234234 - name : Write job summary
235- if : always()
236235 run : |
237236 jq -r 'select(.type == "result") | "## LLM Fuzzer Result\n\n"
238237 + (.result // "No result produced.")
@@ -255,26 +254,25 @@ jobs:
255254 if-no-files-found : ignore
256255
257256 - name : Check for reproducer
258- if : always()
259257 id : repro
260258 run : test -f ~/llm-fuzzer-repro.sql && echo "found=true" >> $GITHUB_OUTPUT || true
261259
262260 - name : Rebuild after fuzzing
263- if : always() && steps.repro.outputs.found == 'true'
261+ if : steps.repro.outputs.found == 'true'
264262 run : |
265263 set -xeu
266264 pkill -U "$(id -u)" postgres || true
267265 sleep 2
268266
269267 - name : Restore clean PostgreSQL build
270- if : always() && steps.repro.outputs.found == 'true'
268+ if : steps.repro.outputs.found == 'true'
271269 uses : actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
272270 with :
273271 path : ~/${{ env.PG_SRC_DIR }}
274272 key : ${{ steps.cache-postgresql.outputs.cache-primary-key }}
275273
276274 - name : Reinstall PostgreSQL and TimescaleDB
277- if : always() && steps.repro.outputs.found == 'true'
275+ if : steps.repro.outputs.found == 'true'
278276 run : |
279277 set -xeu
280278 cd ~/$PG_SRC_DIR && make install
@@ -284,10 +282,12 @@ jobs:
284282 make -j$(getconf _NPROCESSORS_ONLN) -C build install
285283
286284 - name : Run the reproducer
287- if : always() && steps.repro.outputs.found == 'true'
285+ if : steps.repro.outputs.found == 'true'
288286 run : |
289287 set -xeu
290288
289+ sudo coredumpctl rm
290+
291291 export PATH=$HOME/$PG_INSTALL_DIR/bin:$PATH
292292
293293 export PGDATA=verify_db
0 commit comments