pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: oauth_validator: Shorten JSON responses in test logs
2+ messages / 1 participants
[nested] [flat]

* pgsql: oauth_validator: Shorten JSON responses in test logs
@ 2025-11-26 04:49 Jacob Champion <jchampion@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jacob Champion @ 2025-11-26 04:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

oauth_validator: Shorten JSON responses in test logs

Response padding from the oauth_validator abuse tests was adding a
couple megabytes to the test logs. We don't need the buildfarm to hold
onto that, and we don't need to read it when debugging; truncate it.

Reported-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/202511251218.zfs4nu2qnh2m%40alvherre.pgsql
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/47c7a7ebc89eb6b8cf81c937885864f994784d38

Modified Files
--------------
src/test/modules/oauth_validator/t/oauth_server.py | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: oauth_validator: Shorten JSON responses in test logs
@ 2025-11-26 04:49 Jacob Champion <jchampion@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jacob Champion @ 2025-11-26 04:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

oauth_validator: Shorten JSON responses in test logs

Response padding from the oauth_validator abuse tests was adding a
couple megabytes to the test logs. We don't need the buildfarm to hold
onto that, and we don't need to read it when debugging; truncate it.

Reported-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/202511251218.zfs4nu2qnh2m%40alvherre.pgsql
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3d8183e7c47364ca558c810199855493ea5bdd6b

Modified Files
--------------
src/test/modules/oauth_validator/t/oauth_server.py | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-11-26 04:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-11-26 04:49 pgsql: oauth_validator: Shorten JSON responses in test logs Jacob Champion <jchampion@postgresql.org>
2025-11-26 04:49 pgsql: oauth_validator: Shorten JSON responses in test logs Jacob Champion <jchampion@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox