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

Analysis on windows reports less incidents than on Linux #576

Open
abrugaro opened this issue Jan 23, 2025 · 1 comment
Open

Analysis on windows reports less incidents than on Linux #576

abrugaro opened this issue Jan 23, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@abrugaro
Copy link
Contributor

abrugaro commented Jan 23, 2025

There are differences in the number of incidents reported by kai between Windows and Linux.
After checking the logs, I see lot of errors on Windows containing the message "error parsing regexp: invalid escape sequence: \\c".

kai-analyzer-server.log

Env:

  • Windows 11 Pro
  • Extension v0.0.5
  • Application tested: coolstore on partial-migration branch
@abrugaro abrugaro added the bug Something isn't working label Jan 23, 2025
@shawn-hurley
Copy link
Contributor

The issue is that the data passed to the analyzer-rpc for exluded paths is: {"time":"2025-01-23T17:35:50.7277939+01:00","level":"INFO","msg":"added scopes to condition context","scopes":{},"conditionContext":{"Tags":{},"Template":{"konveyor.io/path-scope":{"Filepaths":null,"Extras":null,"ExcludedPaths":["d:\\redhat\\coolstore\\.vscode"]}},"RuleID":""}}

We need to convert these to paths and pass the actual path: D:\redhat\coolstore\.vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants