Skip to content

Conversation

@andresmgot
Copy link
Contributor

@andresmgot andresmgot commented Dec 3, 2025

Based on our existing responses to plugin developers.

I have also divided the questions in two: Errors and warnings, to differentiate between things that needs to be fixed or suggestions for future submissions.

@andresmgot andresmgot marked this pull request as ready for review December 3, 2025 13:06
@andresmgot andresmgot requested review from a team as code owners December 3, 2025 13:06
@grafana-plugins-platform-bot grafana-plugins-platform-bot bot moved this from 📬 Triage to 🔬 In review in Grafana Catalog Team Dec 3, 2025
ExpectedAnswer: false,
},
{
Question: "For panel plugins (check plugin.json type field): Does this plugin include a backend component (Go code in pkg/ directory, .go files in backend/, or any Go backend implementation)? (Panel plugins cannot have backend components in Grafana; only app and datasource plugins can include backend components. If this is a panel plugin with backend code, it must be converted to an app plugin). Provide the specific plugin.json type and backend file locations if found.",
Copy link
Contributor

Choose a reason for hiding this comment

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

feels like this could be a very simple check without needing LLM - e.g. plugin ID = "something-something-panel" and "backend:true"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess so, also it's a so-obvious issue that we may not need to add it here, I'll remove it.

@andresmgot andresmgot self-assigned this Dec 9, 2025
Copy link
Collaborator

@academo academo left a comment

Choose a reason for hiding this comment

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

many of the questions in this PR are very good but they are better as semgrep rules than questions to the LLM.

semgrep rules are deterministic, if semgrep finds something that matches our search criteria, we know for sure it is a problem (error/warning).

the LLM will constantly miss things or make up errors where there is none and it will start generating a lot of noise we will start ignoring.

also, there are some questions that are absolutely good to have here for the LLM but that require more context. we should specially add examples of what we are looking for if possible in the question itself.

also, @andresmgot this LLMreview will run these questions in all the plugin code, consider if maybe some of these questions you want to move them to the codediff validator that only runs the questions in "new code" and not in all the code.

@andresmgot andresmgot requested a review from academo February 6, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔬 In review

Development

Successfully merging this pull request may close these issues.

3 participants