fix(config): ensured env vars take precedence over in-code config#2409
Open
aryamohanan wants to merge 8 commits intofix-config-precedencefrom
Open
fix(config): ensured env vars take precedence over in-code config#2409aryamohanan wants to merge 8 commits intofix-config-precedencefrom
aryamohanan wants to merge 8 commits intofix-config-precedencefrom
Conversation
2fc5f73 to
15e7bc5
Compare
|
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.



This is the first PR addressing configuration precedence.
The goal of this change is to ensure the correct order between environment variables and in-code configuration:
env > in-code
Currently, the precedence between these two sources is mixed. This PR corrects that behavior.
Added missing logging in the configuration file when a config is set.
Scope of This PR
This PR only fixes the precedence between:
Agent configuration precedence will be addressed in separate follow-up PRs.
Future Work
Additional PRs will follow to correct the agent configuration order.
Migration Plan
This change will be released in the next major version (v6), planned for Q2 2026.
ref https://jsw.ibm.com/browse/INSTA-80965
Epic : https://jsw.ibm.com/browse/INSTA-817