Skip to content

Comments

refactor(services): impl Debug for all service builders#6756

Merged
Xuanwo merged 1 commit intomainfrom
impl-debug-for-all-service-builder
Nov 5, 2025
Merged

refactor(services): impl Debug for all service builders#6756
Xuanwo merged 1 commit intomainfrom
impl-debug-for-all-service-builder

Conversation

@koushiro
Copy link
Member

@koushiro koushiro commented Nov 5, 2025

Which issue does this PR close?

Part of #6755

Rationale for this change

  • Unify these coding details to improve service code consistency and maintainability
  • Most service builders include corresponding service config fields. Special attention should be paid to whether sensitive information might be printed in the debug implementation.

What changes are included in this PR?

  • all service builders only implement the Debug and Default traits
  • audit sensitive data fields in the service config to prevent them from being exposed when using Debug trait

Are there any user-facing changes?

 * all service builders only implement the Debug and Default traits
 * audit sensitive data fields in the service config to prevent them from being exposed when using Debug trait
@koushiro koushiro requested a review from Xuanwo as a code owner November 5, 2025 05:10
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" labels Nov 5, 2025
Copy link
Contributor

@kingsword09 kingsword09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Xuanwo
Copy link
Member

Xuanwo commented Nov 5, 2025

Thank you @koushiro for working on this and thank you @kingsword09 for reviewing!

@Xuanwo Xuanwo merged commit 81e2653 into main Nov 5, 2025
389 checks passed
@Xuanwo Xuanwo deleted the impl-debug-for-all-service-builder branch November 5, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants