Skip to content

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

Merged
Algunenano merged 2 commits into
26.3from
backport/26.3/123060
Oct 1, 2026
Merged

Algunenano merged 2 commits into
26.3from
backport/26.3/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.3.39.6

@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 [47084c2]

Summary: ✅

@groeneai

Copy link
Copy Markdown
Collaborator

05314_s3queue_legacy_prefix_secret_masking (the test of #123060) fails here only on the expected rendering of the avro registry URL. The secret is hidden on 26.3 as well: this branch masks a URL credential as http://user:[HIDDEN]@registry:8080/, while master hides the whole userinfo as http://[HIDDEN]@registry:8080/ since #121425, which is not on 26.3. Every other line of the output matches.

The fix is to change those two lines of the .reference. With this, it is byte-identical to the stdout of the failed run here:

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. The backports to 26.7, 26.8 and 26.9 need the same change.

@Algunenano
Algunenano merged commit 2a928b3 into 26.3 Oct 1, 2026
36 checks passed
@Algunenano
Algunenano deleted the backport/26.3/123060 branch October 1, 2026 18:24
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