Skip to content

Conversation

ChrisW-priv
Copy link
Contributor

Hi, this is my first true feature that I add here and want to pick your brain here.

Entire PR is related to this issue.

So I developed some code to allow the feature, added example and tests.
But the tests are not passing because I assumed the 'env' part of the server registry is set. Meanwhile it is None and I dunno how to set it. I thought that it is initialized at the same moment as Core but clearly not. How would you test the intended behaviour? I run the example and agent correctly starts the servers with provided envs.

For now I just marked the tests that do not work as I expected them to to 'xfail' because I wanted to both leave them and have passing test suite - application is not broken, only the tests cannot show expected behaviour.

@ChrisW-priv
Copy link
Contributor Author

I actually now think that it should not be an expected fail... the "modifiers" implies there is a default that we overwrite. But here, we actually SET env vars dict.

I will come back to this later today. I'll likely not be able to continue the topic today.

@ChrisW-priv ChrisW-priv mentioned this pull request Oct 2, 2025
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.

1 participant