Skip to content

test(proxy): DO NOT MERGE check integration tests fail without the uncertain-statement wait - #536

Closed
tobyhede wants to merge 1 commit into
tobyhede/fix-proxy-bind-forwardingfrom
test/statement-race-without-fix
Closed

tobyhede wants to merge 1 commit into
tobyhede/fix-proxy-bind-forwardingfrom
test/statement-race-without-fix

Conversation

@tobyhede

@tobyhede tobyhede commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Do not merge. This PR exists only to run CI once, and will be closed afterwards.

It disables the wait that #532 adds before a Bind to an uncertain prepared statement (Context::wait_for_statement), on top of #532's branch.
The pipelined_statement_replacement integration tests added in #532 should then fail, which shows they detect the race rather than passing regardless.

Expected failures:

  • When the statement PostgreSQL kept writes the encrypted column, PostgreSQL should reject the Bind with 22P02 invalid input syntax for type json, because Proxy forwards the value unencrypted.
  • When the statement PostgreSQL kept writes the native column, the stored-row check should fail, because Proxy stores a ciphertext in the native column.

Refs CIP-5749.

Shows that the pipelined statement replacement integration tests fail without the wait. To be closed once CI has run.

Refs CIP-5749
@tobyhede

tobyhede commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Closing: throwaway CI run, no longer needed. The fix landed in main through 16c6955.

@tobyhede tobyhede closed this Dec 3, 2026
@tobyhede
tobyhede deleted the test/statement-race-without-fix branch December 3, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant