Skip to content

Remove Singleton from stats_config_util.cc#1509

Merged
hiroyuki-komatsu merged 1 commit into
google:masterfrom
ciceroaware:remove_singleton_from_stats_config_util
Jun 6, 2026
Merged

Remove Singleton from stats_config_util.cc#1509
hiroyuki-komatsu merged 1 commit into
google:masterfrom
ciceroaware:remove_singleton_from_stats_config_util

Conversation

@yukawa
Copy link
Copy Markdown
Collaborator

@yukawa yukawa commented May 11, 2026

Description

As part of our ongoing efforts to remove the dependency on Singleton, this commit rewrites config/stats_config_util.cc without the Singleton class dependency.

There should be no user observable change, including the fact that OSS builds have been fixed to use NullStatsConfigUtilImpl at build time.

Issue IDs

N/A

Steps to test new behaviors (if any)

  • OS: All
  • Steps:
    1. bazelisk test //config:stats_config_util_test

As part of our ongoing efforts to remove the dependency on Singleton,
this commit rewrites config/stats_config_util.cc without the Singleton
class dependency.

There should be no user observable change, including the fact that OSS
builds have been fixed to use NullStatsConfigUtilImpl at build time.
@yukawa yukawa force-pushed the remove_singleton_from_stats_config_util branch from 295c5cd to 1607af5 Compare May 11, 2026 04:38
@yukawa yukawa changed the title Remove Singleton from config::StatsConfigUtil Remove Singleton from stats_config_util.cc May 11, 2026
@hiroyuki-komatsu hiroyuki-komatsu merged commit ffcf2c4 into google:master Jun 6, 2026
1 check passed
@yukawa yukawa deleted the remove_singleton_from_stats_config_util branch June 6, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants