Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS-597 Remove 'sonar-runtime' from codebase #5163

Merged
merged 20 commits into from
Mar 5, 2025
Merged

JS-597 Remove 'sonar-runtime' from codebase #5163

merged 20 commits into from
Mar 5, 2025

Conversation

zglicz
Copy link
Contributor

@zglicz zglicz commented Mar 4, 2025

JS-597

Part of

@zglicz zglicz marked this pull request as ready for review March 4, 2025 13:51
@zglicz zglicz requested review from vdiez and a team March 4, 2025 13:51
Base automatically changed from remove-sonar-contex to master March 4, 2025 13:51
const config = extendRuleConfig(
[{ enum: SONAR_RUNTIME, title: SONAR_CONTEXT }],
// @ts-ignore
{ sonarKey: 'some-rule', meta: {}, schema: [{ title: SONAR_CONTEXT }] },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this existing schema was and is not valid. I'll remove it soon, but for now just ignore it. During runtime it seems to be fine.

@@ -119,6 +118,9 @@ void test() {
)
)
).isEmpty();
assertThat(
buildResult.getLogsLines(l -> l.matches(".*INFO: Work dir received: .*[/|\\\\].scannerwork$"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

thats specific to windows? Is this test also ran on a sane platform?

Copy link
Contributor

Choose a reason for hiding this comment

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

its are also run on windows, yes. when checking logs for paths or validating paths in general, windows may fail if u always use forward slashes

@zglicz zglicz merged commit e35786b into master Mar 5, 2025
18 of 19 checks passed
@zglicz zglicz deleted the sonar-runtime branch March 5, 2025 16:24
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.

2 participants