Skip to content

feat(kubevirt): convert kubevirt tasks to mcpchecker/v1alpha2 api#756

Open
ksimon1 wants to merge 3 commits intocontainers:mainfrom
ksimon1:kubevirt-mcpchecker-tasks
Open

feat(kubevirt): convert kubevirt tasks to mcpchecker/v1alpha2 api#756
ksimon1 wants to merge 3 commits intocontainers:mainfrom
ksimon1:kubevirt-mcpchecker-tasks

Conversation

@ksimon1
Copy link
Contributor

@ksimon1 ksimon1 commented Feb 10, 2026

feat: convert kubevirt tasks to mcpchecker/v1alpha2 api
Fixes: #721

@ksimon1
Copy link
Contributor Author

ksimon1 commented Feb 10, 2026

FYI @lyarwood

@ksimon1 ksimon1 force-pushed the kubevirt-mcpchecker-tasks branch from 346e666 to 75906a1 Compare February 10, 2026 11:44
Code was assisted by Cursor AI.

Signed-off-by: Karel Simon <[email protected]>
Code was assisted by Cursor AI.

Signed-off-by: Karel Simon <[email protected]>
@ksimon1 ksimon1 force-pushed the kubevirt-mcpchecker-tasks branch from 75906a1 to 384b29b Compare February 10, 2026 11:51
apiVersion: v1
kind: Namespace
metadata:
name: vm-test
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be great if the kubernetes extension and underlying mcpchecker tool could support generating, tracking, injecting into prompts and eventually cleaning up namespace with generated names for tests.

Copy link
Collaborator

Choose a reason for hiding this comment

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

with @Cali0707 we chatted about ways to improve things - e.g. making better reuse - or just easier use.

@ksimon1 ksimon1 changed the title [WIP] feat: convert kubevirt tasks to mcpchecker/v1alpha2 api feat: convert kubevirt tasks to mcpchecker/v1alpha2 api Feb 17, 2026
Copy link
Contributor

@lyarwood lyarwood left a comment

Choose a reason for hiding this comment

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

/lgtm

@ksimon1
Copy link
Contributor Author

ksimon1 commented Feb 18, 2026

@manusa, @Cali0707 can you please review?

Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

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

Overall looks good, thx!
I added a few comments of things that stood out for me.

setup:
inline: |-
#!/usr/bin/env bash
NS="${EVAL_NAMESPACE:-vm-test}"
Copy link
Member

Choose a reason for hiding this comment

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

In this approach, namespace could be overridden. With the new task definition it can't, is this a limitation of the new syntax in v1alpha2?

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 think yes. Or is there a way how to to do it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Filed an issue on mcpchecker for this - thanks

@manusa manusa requested a review from Cali0707 February 18, 2026 16:22
@manusa manusa added this to the 0.1.0 milestone Feb 18, 2026
@manusa manusa changed the title feat: convert kubevirt tasks to mcpchecker/v1alpha2 api feat(kubevirt): convert kubevirt tasks to mcpchecker/v1alpha2 api Feb 18, 2026
Copy link
Collaborator

@matzew matzew left a comment

Choose a reason for hiding this comment

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

LGTM

@matzew
Copy link
Collaborator

matzew commented Feb 24, 2026

/run-mcpchecker kubevirt

@github-actions
Copy link

mcpchecker MCP Evaluation Results

Commit: aa5853f
Summary: 0/0 tasks passed (0.0%)

Metric Result
Tasks Passed 0/0
Assertions Passed 0/0
Overall ❌ Failed

View full results

@ksimon1
Copy link
Contributor Author

ksimon1 commented Feb 24, 2026

Why it did not run any tasks?

@ksimon1
Copy link
Contributor Author

ksimon1 commented Feb 26, 2026

@matzew what might be wrong that no test run?

@Cali0707
Copy link
Collaborator

@ksimon1 there seems to be some issue with the secrets in the repo as far as I can tell, trying to resolve it soon

@Cali0707
Copy link
Collaborator

Cali0707 commented Feb 26, 2026

#827 should be the fix for the actions - TL;DR secrets aren't loaded into the action when run on a PR from a fork

For your specific evals, it may be a case of the eval file being run being incorrect/your tasks not being ran correctly.

This is the command that is running in the action:

Running: /home/runner/work/_temp/mcpchecker-bin/mcpchecker check evals/openai-agent/eval.yaml --output json --label-selector suite=kubevirt

iirc kubevirt is using it's own eval file in places, rather than updating the core one

@lyarwood
Copy link
Contributor

#827 should be the fix for the actions - TL;DR secrets aren't loaded into the action when run on a PR from a fork

For your specific evals, it may be a case of the eval file being run being incorrect/your tasks not being ran correctly.

This is the command that is running in the action:

Running: /home/runner/work/_temp/mcpchecker-bin/mcpchecker check evals/openai-agent/eval.yaml --output json --label-selector suite=kubevirt

iirc kubevirt is using it's own eval file in places, rather than updating the core one

FWIW some of the tests were missing labels as well, the following PR should fix that:

#835

@manusa
Copy link
Member

manusa commented Feb 27, 2026

Merged, if you rebase we can check again

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.

Transition KubeVirt toolset evals to new mcpchecker Task extensions

5 participants