Skip to content

Revert "Support C# client in postgres protocol" - #105615

Merged
Algunenano merged 1 commit into
masterfrom
revert-80785-dotnet_postgresql
May 22, 2026
Merged

Algunenano merged 1 commit into
masterfrom
revert-80785-dotnet_postgresql

Conversation

@Algunenano

@Algunenano Algunenano commented May 22, 2026 •

Copy link
Copy Markdown
Member

Reverts #80785

The CI is on fire. 30+ PRs affected

Version info

  • Merged into: 26.6.1.84

@clickhouse-gh

clickhouse-gh Bot commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [f71da71]


AI Review

Summary

This PR cleanly reverts ClickHouse/ClickHouse#80785 ("Support C# client in postgres protocol") to stop the ongoing CI breakage, removing the added PostgreSQL C# test/container wiring and rolling back the associated PostgreSQL protocol handler changes. I did not find new correctness or safety issues in the current patch beyond the intended rollback scope.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label May 22, 2026
@Algunenano
Algunenano added this pull request to the merge queue May 22, 2026
@antonio2368 antonio2368 self-assigned this May 22, 2026
Merged via the queue into master with commit 8216318 May 22, 2026
17 of 30 checks passed
@Algunenano
Algunenano deleted the revert-80785-dotnet_postgresql branch May 22, 2026 08:46
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label May 22, 2026
alexbakharew pushed a commit that referenced this pull request May 22, 2026
PR #80785 added a second app under /pg_testapp to the
`clickhouse/mysql_dotnet_client` image, making /pg_testapp the
last WORKDIR. `dotnet run` (no project arg) then launched the
Npgsql client against the MySQL port, producing
"Received unknown response X for SSLRequest (expecting S or N)".

The PR was reverted (#105615) but the cached `:latest` image on
integration runners still has /pg_testapp as the last WORKDIR.
Anchor the command to /testapp so the test passes regardless of
the image's working directory, matching what test_dotnet_client
in test_postgresql_protocol/test.py already does.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
huldarchen pushed a commit to huldarchen/ClickHouse that referenced this pull request May 22, 2026
PR ClickHouse#80785 added a second app under /pg_testapp to the
`clickhouse/mysql_dotnet_client` image, making /pg_testapp the
last WORKDIR. `dotnet run` (no project arg) then launched the
Npgsql client against the MySQL port, producing
"Received unknown response X for SSLRequest (expecting S or N)".

The PR was reverted (ClickHouse#105615) but the cached `:latest` image on
integration runners still has /pg_testapp as the last WORKDIR.
Anchor the command to /testapp so the test passes regardless of
the image's working directory, matching what test_dotnet_client
in test_postgresql_protocol/test.py already does.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
alexey-milovidov added a commit that referenced this pull request May 29, 2026
The `docker_compose_mysql_dotnet_client.yml` referenced `${mysql:-latest}`,
a variable that CI never sets, so the image tag always fell back to `latest`.
CI resolves the tag into `DOCKER_MYSQL_DOTNET_CLIENT_TAG` (see `IMAGES_ENV` in
`ci/jobs/scripts/integration_tests_configs.py`), so the compose file must
reference that variable.

This is the root cause of the CI breakage that led to the original revert in
#105615 ("The CI is on fire. 30+ PRs affected").

As pointed out in #84397 (comment)

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
DavidHe-2008 pushed a commit to DavidHe-2008/ClickHouse that referenced this pull request Jun 1, 2026
…net_postgresql

Revert "Support C# client in postgres protocol"
DavidHe-2008 pushed a commit to DavidHe-2008/ClickHouse that referenced this pull request Jun 1, 2026
PR ClickHouse#80785 added a second app under /pg_testapp to the
`clickhouse/mysql_dotnet_client` image, making /pg_testapp the
last WORKDIR. `dotnet run` (no project arg) then launched the
Npgsql client against the MySQL port, producing
"Received unknown response X for SSLRequest (expecting S or N)".

The PR was reverted (ClickHouse#105615) but the cached `:latest` image on
integration runners still has /pg_testapp as the last WORKDIR.
Anchor the command to /testapp so the test passes regardless of
the image's working directory, matching what test_dotnet_client
in test_postgresql_protocol/test.py already does.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
DavidHe-2008 pushed a commit to DavidHe-2008/ClickHouse that referenced this pull request Jun 1, 2026
PR ClickHouse#80785 added a second app under /pg_testapp to the
`clickhouse/mysql_dotnet_client` image, making /pg_testapp the
last WORKDIR. `dotnet run` (no project arg) then launched the
Npgsql client against the MySQL port, producing
"Received unknown response X for SSLRequest (expecting S or N)".

The PR was reverted (ClickHouse#105615) but the cached `:latest` image on
integration runners still has /pg_testapp as the last WORKDIR.
Anchor the command to /testapp so the test passes regardless of
the image's working directory, matching what test_dotnet_client
in test_postgresql_protocol/test.py already does.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants