From 552546e34f20c31cdfe8c5bcd93c4d0111c548e4 Mon Sep 17 00:00:00 2001 From: Dmitry Fomin Date: Tue, 9 Jun 2026 19:22:22 +0000 Subject: [PATCH v2 4/7] ci: build one task with --enable-wait-event-timing Add --enable-wait-event-timing to the "Linux - Autoconf" GitHub Actions task so the wait-event-timing build path -- including the expected output src/test/regress/expected/wait_event_timing.out -- is exercised on every push. That task already runs check-world under the undefined/alignment sanitizers with a small segment size, giving the timing code meaningful coverage. Every other CI task keeps building without the flag, so the stub path and its alternate output wait_event_timing_1.out remain covered as well. --- .github/workflows/pg-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pg-ci.yml b/.github/workflows/pg-ci.yml index 5bc5292d2a5..4799241506f 100644 --- a/.github/workflows/pg-ci.yml +++ b/.github/workflows/pg-ci.yml @@ -499,10 +499,17 @@ jobs: - name: Configure shell: *su_postgres_shell + # --enable-wait-event-timing is added on this one task so the + # wait-event-timing build path -- including the expected output at + # src/test/regress/expected/wait_event_timing.out -- is exercised by + # CI on every push. The other tasks build without the flag, so the + # stub path and its alternate output wait_event_timing_1.out stay + # covered as well. run: | ./configure \ --enable-cassert --enable-injection-points --enable-debug \ --enable-tap-tests --enable-nls \ + --enable-wait-event-timing \ --with-segsize-blocks=6 \ --with-libnuma \ --with-liburing \ -- 2.43.0