-
Notifications
You must be signed in to change notification settings - Fork 254
feat(evals): update mcpchecker to use labels #696
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
base: main
Are you sure you want to change the base?
Conversation
|
Waiting for the new release of mcpchecker with labels support |
|
@josunect here is the release: https://github.com/mcpchecker/mcpchecker/releases/tag/v0.0.4 |
968e100 to
8eec95b
Compare
manusa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx.
At some point we should improve the pipeline to support kubevirt too.
Cali0707
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this change looks great, just two thoughts on my end!
@josunect could you fix the merge conflict here so that we can merge?
.github/workflows/mcpchecker.yaml
Outdated
| # Backward compatible behavior: | ||
| # - If suite is explicitly provided, it wins. | ||
| # - Otherwise, if task-filter mentions "kiali", treat this as a kiali run. | ||
| # - Otherwise default to kubernetes-only. | ||
| SUITE="kubernetes" | ||
| if [[ -n "$SUITE_INPUT" ]]; then | ||
| SUITE="$SUITE_INPUT" | ||
| elif [[ "$TASK_FILTER" =~ kiali ]]; then | ||
| SUITE="kiali" | ||
| fi | ||
|
|
||
| # Select label-selector and infrastructure based on suite | ||
| # All suites use the same eval.yaml file; suite controls label-selector + infra. | ||
| case "$SUITE" in | ||
| kiali) | ||
| echo "label-selector=suite=kiali" >> $GITHUB_OUTPUT | ||
| echo "kiali-run=true" >> $GITHUB_OUTPUT | ||
| ;; | ||
| all) | ||
| echo "label-selector=" >> $GITHUB_OUTPUT # No filter: run all taskSets | ||
| echo "kiali-run=true" >> $GITHUB_OUTPUT | ||
| ;; | ||
| *) | ||
| echo "label-selector=suite=kubernetes" >> $GITHUB_OUTPUT | ||
| echo "kiali-run=false" >> $GITHUB_OUTPUT | ||
| ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO we don't need to keep the backwards compatible behaviour, especially since it is complicating this already complex github action. Since this is only triggerable by maintainers, I think it is reasonable to expect that it is called correctly with the new command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, so I will remove it as well
| metadata: | ||
| labels: | ||
| suite: kiali | ||
| requires: istio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are we using these requires labels for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment they are not used, it was an example of classification. But, I will remove it.
Cali0707
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@josunect when you have a minute can you address the merge conflicts so we can get this in?
Thanks for driving this feature!
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
|
@Cali0707 conflicts solved! |
|
@Cali0707 can this be merged? |
Update mcpchecker workflow to use labels to filter different tasks.
Requires: mcpchecker/mcpchecker#111
Fixes #642