Skip to content

[split 8/22] lightweight config: ConfigLoader type-tolerant parsing, EnvironmentVariables.getLabel() - #1363

Open
minguyen9988 wants to merge 1 commit into
2.10.0from
omniwatcher/split-08-lw-config
Open

[split 8/22] lightweight config: ConfigLoader type-tolerant parsing, EnvironmentVariables.getLabel()#1363
minguyen9988 wants to merge 1 commit into
2.10.0from
omniwatcher/split-08-lw-config

Conversation

@minguyen9988

Copy link
Copy Markdown
Collaborator
  • ConfigLoader parsed every YAML value with a blind (String) cast: an unquoted numeric or boolean value (e.g. snapshot.new.tables: true) threw ClassCastException at startup. Values are now stringified explicitly; config_mixed_types.yml + ConfigLoaderTest pin it.
  • AppConfiguration: dead code removed.
  • EnvironmentVariables.getLabel() accessor; PropertiesHelper comparison fix.

Part of the split of #1353 into independently mergeable sub-PRs (each <= 10 files), so the 2.10.0 branch can absorb the fixes incrementally.

Split out of #1353, which this series replaces. Each sub-PR is <= 10 files; the union of all 22 reproduces the #1353 tree exactly (verified by tree SHA).

…riables.getLabel()

- ConfigLoader parsed every YAML value with a blind (String) cast: an unquoted numeric or boolean value (e.g. snapshot.new.tables: true) threw ClassCastException at startup. Values are now stringified explicitly; config_mixed_types.yml + ConfigLoaderTest pin it.
- AppConfiguration: dead code removed.
- EnvironmentVariables.getLabel() accessor; PropertiesHelper comparison fix.

Part of the split of #1353 into independently mergeable sub-PRs (each <= 10 files), so the 2.10.0 branch can absorb the fixes incrementally.
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