Skip to content

chore: fixed failing config related tests#2508

Merged
aryamohanan merged 5 commits intofix-config-precedencefrom
test-config-collector
Apr 22, 2026
Merged

chore: fixed failing config related tests#2508
aryamohanan merged 5 commits intofix-config-precedencefrom
test-config-collector

Conversation

@aryamohanan
Copy link
Copy Markdown
Contributor

No description provided.

@aryamohanan aryamohanan changed the title test: fixed failing config related tests test(collector): fixed failing config related tests Apr 21, 2026
@aryamohanan aryamohanan added the v6 label Apr 21, 2026
@aryamohanan aryamohanan changed the title test(collector): fixed failing config related tests chore: fixed failing config related tests Apr 21, 2026
}

if (rawValue !== undefined) {
logger?.warn(`[config] Validation failed for ${sourceKey}: ${JSON.stringify(rawValue)}`);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This log is not required and logging in general will be fixed in another PR

@aryamohanan aryamohanan marked this pull request as ready for review April 22, 2026 11:11
@aryamohanan aryamohanan requested a review from a team as a code owner April 22, 2026 11:11
if (currentMeta && currentMeta.source < source) {
logger.debug(`[config] Skipping ${key}: current source ${currentMeta.source} > incoming ${source}`);
return currentConfig;
logger.debug(`[config] Skipping ${path}: current source ${currentMeta.source} > incoming ${source}`);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this log?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really. We can examine and cleanup logs in a separate PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@sonarqubecloud
Copy link
Copy Markdown

@aryamohanan aryamohanan merged commit e28bcbc into fix-config-precedence Apr 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants