Re: [OAuth] Missing dependency on oauth_validator test

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: "Jonathan Gonzalez V." <jonathan.abdiel@gmail.com>, Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-01-27T20:17:21Z
Lists: pgsql-hackers
On Sat, Jan 17, 2026 at 9:31 AM Jonathan Gonzalez V.
<jonathan.abdiel@gmail.com> wrote:
> I'm attaching a small patch that add the binary dependency in the
> meson.build file, thus, it will be build before running the test.

Pushed and backpatched, thanks! I missed the conversation in [1],
where this was fixed for the other binaries.

Andres, do you know of any way we could surface these missing deps
with only the "standard" meson/ninja invocations? The only idea I had
was to not build the test executables by default, but I think that
trades a small problem (we occasionally hit a build-time dependency
bug) for a big one (devs fail to notice that a test executable doesn't
compile).

--Jacob

[1] https://postgr.es/m/qh4c5tvkgjef7jikjig56rclbcdrrotngnwpycukd2n3k25zi2%4044hxxvtwmgum



Commits

  1. oauth: Correct test dependency on oauth_hook_client