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

[BUG] Issues are not triggered for python application with custom rule analysis #2181

Open
1 task done
kpunwatk opened this issue Feb 4, 2025 · 1 comment
Open
1 task done
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@kpunwatk
Copy link
Contributor

kpunwatk commented Feb 4, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

latest

Priority

Major

Current Behavior

Analysis details:
Python Application
git: https://github.com/konveyor/analyzer-lsp, Root path: examples/python
custom rule: python_rules.yaml
analysis mode: source

Analysis log :

analysis.log

Image

Expected result: Rule issues to trigger

Image

Rule file: `message: python sample rule 001
ruleID: python-sample-rule-001
description: sample-rule-1 - this should appear as an issue
effort: 1
when:
python.referenced:
pattern: "hello_world"

  • message: python sample rule 002
    ruleID: python-sample-rule-002
    description: sample-rule-2 - this should appear as an issue
    effort: 5
    when:
    python.referenced:
    pattern: "speak"
  • message: python sample rule 003
    ruleID: python-sample-rule-003
    description: sample-rule-3 - this should appear as an insight
    when:
    python.referenced:
    pattern: "create_custom_resource_definition"`

How Reproducible

Always (Default)

@kpunwatk kpunwatk added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 4, 2025
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Feb 4, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant