Repository navigation
Stable 25.8 Backport of #131963 - Clear --jwt and the other credential options from the command line of clickhouse-client and clickhouse-keeper-client - #2936
Conversation
…ptions-from-command-line Clear `--jwt` and the other credential options from the command line of `clickhouse-client` and `clickhouse-keeper-client` Conflicts committed as-is, conflict markers included: - programs/keeper-client/KeeperClient.cpp (both modified)
Kept the minimal `KeeperClient.cpp` include and call; reduced the test and reference to options that exist in stable-25.8.
|
Port-AL: cherry-pick conflicts resolved by AI Conflicted files:
Commits:
|
CI triage for 5351183Verdict: 3 distinct failures. 1 is caused by the PR, 1 is a flaky stress-test failure, and 1 is a known DCO failure.
Every failing stateless shard has exactly one failure, and it is this test. Nothing else failed. 1.
|
|
@blau-ai fix the fail coused by this PR here |
…d spaced = cases On stable-25.8 the client is built without JWT support (USE_JWT_CPP is never set), so any --jwt makes it exit with SUPPORT_IS_DISABLED before connecting, and the client does not accept the '--option = value' form. Exercise the remaining credential options instead.
|
@zvonand I fixed the failure this PR caused and pushed it to the PR branch as ba2e03d. What failedThe new test In other words, Root cause (only the test is wrong, not the backported code)Two things in the upstream test don't hold on stable-25.8:
Fix (test only, no C++ changes)
Validation (builder, against this PR's CI binaries, no rebuild needed)
Not addressed:
|
CI triage for
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
clickhouse-clientnow clears the values of--jwt,--ssh-key-passphrase,--one-time-passwordand--oauth-client-secretfrom its command line, as it already did for--password, so they are no longer visible inpsand/proc/<pid>/cmdline.clickhouse-keeper-clientnow does the same for--passwordand--identity. Closes ClickHouse#131191. (ClickHouse#131963 by @groeneai)Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: