Skip to content

Backport #123060 to 26.7: Hide queue engine secrets written with the legacy s3queue_ prefix - #123118

Merged
clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/123060
Oct 1, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/123060

Conversation

@robot-clickhouse-ci-2

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #123060

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.7.20.7

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [b53064f]

Summary: ✅

@groeneai

Copy link
Copy Markdown
Collaborator

05314_s3queue_legacy_prefix_secret_masking (the test of #123060) will fail here as it does on the 26.3, 26.8 and 26.9 backports, only on the expected rendering of the avro registry URL. The stateless job has not reported yet, but 26.7 has the same URL masking code as 26.3, whose run renders a URL credential as http://user:[HIDDEN]@registry:8080/. Master hides the whole userinfo as http://[HIDDEN]@registry:8080/ since #121425, which is not on 26.7. The secret itself is hidden.

The fix is to change those two lines of the .reference:

sed -i 's|http://\[HIDDEN\]@registry|http://user:[HIDDEN]@registry|g' tests/queries/0_stateless/05314_s3queue_legacy_prefix_secret_masking.reference

I have no push access to this branch.

@clickhouse-gh
clickhouse-gh Bot merged commit a00a11e into 26.7 Oct 1, 2026
41 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.7/123060 branch October 1, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants