Skip to content

Conversation

@josunect
Copy link
Contributor

@josunect josunect commented Jan 26, 2026

Update mcpchecker workflow to use labels to filter different tasks.

Requires: mcpchecker/mcpchecker#111

Fixes #642

@josunect josunect changed the title Issue642 feat(ci): Update gevals to use labels Jan 26, 2026
@manusa manusa changed the title feat(ci): Update gevals to use labels feat(evals): update mcpchecker to use labels Jan 28, 2026
@manusa manusa added this to the 0.1.0 milestone Jan 28, 2026
@josunect
Copy link
Contributor Author

Waiting for the new release of mcpchecker with labels support

@Cali0707
Copy link
Collaborator

@josunect here is the release: https://github.com/mcpchecker/mcpchecker/releases/tag/v0.0.4

@josunect josunect force-pushed the issue642 branch 2 times, most recently from 968e100 to 8eec95b Compare January 29, 2026 17:01
@josunect josunect marked this pull request as ready for review January 29, 2026 17:07
@josunect
Copy link
Contributor Author

josunect commented Feb 3, 2026

@Cali0707 @manusa this should be ready for 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.

LGTM, thx.
At some point we should improve the pipeline to support kubevirt too.

@manusa manusa requested a review from Cali0707 February 3, 2026 16:13
Copy link
Collaborator

@Cali0707 Cali0707 left a 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?

Comment on lines 122 to 150
# 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
;;
Copy link
Collaborator

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

Copy link
Contributor Author

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
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

Copy link
Collaborator

@Cali0707 Cali0707 left a 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>
Signed-off-by: josunect <jcordoba@redhat.com>
Signed-off-by: josunect <jcordoba@redhat.com>
@josunect
Copy link
Contributor Author

josunect commented Feb 9, 2026

@Cali0707 conflicts solved!

@nader-ziada
Copy link
Collaborator

@Cali0707 can this be merged?

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.

[EVALS] Kiali tasks run during standard evaluations despite filtering infrastructure

4 participants