Skip to content

Remove Singleton from stats_config_util.cc#1509

Open
yukawa wants to merge 1 commit into
google:masterfrom
ciceroaware:remove_singleton_from_stats_config_util
Open

Remove Singleton from stats_config_util.cc#1509
yukawa wants to merge 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
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.

1 participant