Skip to content

perf: replace BufferedOutputStream with unsynchronized PgBufferedOutputStream, allow configuring different Java and SO_SNDBUF buffer sizes #3720

perf: replace BufferedOutputStream with unsynchronized PgBufferedOutputStream, allow configuring different Java and SO_SNDBUF buffer sizes

perf: replace BufferedOutputStream with unsynchronized PgBufferedOutputStream, allow configuring different Java and SO_SNDBUF buffer sizes #3720

Triggered via pull request May 19, 2024 08:00
Status Failure
Total duration 7m 7s
Artifacts

main.yml

on: pull_request
Matrix Preparation
3s
Matrix Preparation
Code style
1m 56s
Code style
CheckerFramework
4m 1s
CheckerFramework
Source distribution (JDK 17)
6m 5s
Source distribution (JDK 17)
Matrix: build-test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 19 warnings
Code style: pgjdbc/src/main/java/org/postgresql/core/PGStream.java#L17
Insert 1 line: import org.postgresql.util.internal.PgBufferedOutputStream;
Code style: task ':postgresql:autostyleJavaCheck'#L1
Execution failed for task ':postgresql:autostyleJavaCheck': See 'What went wrong' below
Code style
Execution failed for task ':postgresql:autostyleJavaCheck'. > The following files have format violations: src/main/java/org/postgresql/core/PGStream.java @@ -7,13 +7,13 @@ import org.postgresql.gss.GSSInputStream; import org.postgresql.gss.GSSOutputStream; -import org.postgresql.util.internal.PgBufferedOutputStream; import org.postgresql.util.ByteStreamWriter; import org.postgresql.util.GT; import org.postgresql.util.HostSpec; import org.postgresql.util.PGPropertyMaxResultBufferParser; import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLState; +import org.postgresql.util.internal.PgBufferedOutputStream; import org.checkerframework.checker.nullness.qual.Nullable; import org.ietf.jgss.GSSContext; You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
Code style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CheckerFramework
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CheckerFramework
Gradle Build Scan: https://gradle.com/s/lhmbeprejlhbk
Java 22, oracle, PG 10, no_scram, no_ssl, ubuntu, server_tz UTC, client_tz Pacific/Chatham, fr_FR, no_gss, no_replication, no_slow_tests, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 21, oracle, PG 8.4, extendedCacheEverything, no_scram, no_ssl, ubuntu, server_tz UTC, client_tz America/New_York, tr_TR, no_gss, no_replication, no_slow_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 11, zulu, PG 14, scram, ssl, ubuntu, server_tz UTC, client_tz Pacific/Chatham, ru_RU, no_gss, no_replication, no_slow_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Source distribution (JDK 17)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Source distribution (JDK 17)
Gradle Build Scan: https://gradle.com/s/5fz3sactxhjmm
Java 17, temurin, PG 11, simple query, no_scram, ssl, ubuntu, server_tz Pacific/Chatham, client_tz UTC, fr_FR, no_gss, replication, no_slow_tests, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 21, liberica, PG 13, scram, ssl, ubuntu, server_tz UTC, client_tz UTC, fr_FR, no_gss, replication, no_slow_tests, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 8, zulu, PG 9.4, simple query, no_scram, ssl, same hashcode, ubuntu, server_tz America/New_York, client_tz Pacific/Chatham, ru_RU, no_gss, no_replication, no_slow_tests, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 8, temurin, PG 10, extendedForPrepared, scram, no_ssl, ubuntu, server_tz Pacific/Chatham, client_tz America/New_York, tr_TR, gss, replication, no_slow_tests, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.