Skip to content

Conversation

@manusa
Copy link
Member

@manusa manusa commented Oct 23, 2025

Will facilitate #385

@manusa manusa added this to the 0.1.0 milestone Oct 23, 2025
@manusa manusa requested review from Cali0707 and matzew October 23, 2025 12:51
}))
s.InitMcpClient()

s.Run("pods_exec(name=pod-to-exec, command=[ls -l])", func() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit, can we call out that namespace="" here - I liked how explicit the old test was, especially since that is the key for why the tool call fails

Copy link
Member Author

Choose a reason for hiding this comment

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

especially since that is the key for why the tool call fails

Absolutely, I added more clarity to the description too.
In this case, the tool call won't fail and will be executed in the configured namespace.
Given your comment, the test description was not doing a great job.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looking now, I understand what's supposed to happen - thanks!

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

Thanks for cleaning up the tests here @manusa !

@Cali0707 Cali0707 merged commit 9b3deb4 into containers:main Oct 23, 2025
6 checks passed
@manusa manusa deleted the test/pods-exec branch October 23, 2025 14:45
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.

2 participants