Add ConfigFileStoreAdapter to bridge ConfigFile to ConfigAggregator#4858
Closed
tarek-y-ismail wants to merge 3 commits into
Closed
Add ConfigFileStoreAdapter to bridge ConfigFile to ConfigAggregator#4858tarek-y-ismail wants to merge 3 commits into
tarek-y-ismail wants to merge 3 commits into
Conversation
019c166 to
7563575
Compare
18f47be to
2801040
Compare
7563575 to
9e50ae8
Compare
2801040 to
5c5a932
Compare
5f707f5 to
0093d49
Compare
Tests cover: - empty span is a no-op - base config is loaded on first call - base config is updated on subsequent calls (uses update_source path) - single override takes precedence over base - later override takes precedence over earlier override - removed override falls back to base value - new override introduced on second call takes effect - retained override with updated stream delivers new value - override for one key does not clobber an unrelated key from base
59ed519 to
6df7c07
Compare
muhammad23012009
pushed a commit
to muhammad23012009/mir
that referenced
this pull request
May 17, 2026
Related canonical#4781, canonical#4858, canonical#4830 ## What's new? - Merges `ConfigAggregator` and `IniFile`, producing a simpler implementation. ## How to test - `<path/to/build>/bin/miral-test/miral-test --gtest_filter=IniFileWithOverridesTest*` ## Checklist - [x] Tests added and pass - [x] Adequate documentation added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #4830
What's new?
ConfigFileStoreAdapter, a class that bridges betweenConfigFileandConfigAggregatorby managing creating/updating/removing sources.How to test
Checklist