Repository navigation
Fix #233: Add backend validation for environment variable names - #548
Merged
pdettori merged 5 commits intoFeb 10, 2026
Merged
Conversation
Member
|
@RyanJenkins99 thanks for your PR - before we can review it, could you please amend your commit to pass the DCO check ? Instructions are in the link to the DCO check |
RyanJenkins99
force-pushed
the
fix/233-env-var-validation
branch
from
January 27, 2026 09:47
11e8d21 to
452ecef
Compare
Contributor
Author
|
@pdettori thanks for letting me know! That change has been made. |
Member
|
@RyanJenkins99 thanks, could you please fix the linting error ? |
Member
|
Check this doc to run the lint as pre-commit hook. |
RyanJenkins99
force-pushed
the
fix/233-env-var-validation
branch
from
January 30, 2026 10:14
efb59c1 to
18df834
Compare
Member
|
@RyanJenkins99 could you please check CI linting issues and rebase? |
RyanJenkins99
added a commit
to RyanJenkins99/kagenti
that referenced
this pull request
Feb 5, 2026
…#549 PR rossoctl#549 should only contain description field changes for agents/tools deployed from images vs built from source. The environment variable validation logic from PR rossoctl#548 was incorrectly included and has been removed. Changes removed: - Backend validation in agents.py and tools.py - Frontend validation in ImportAgentPage.tsx and ImportToolPage.tsx - Test file test_env_var_validation.py The description field changes from PR rossoctl#549 are preserved. Signed-off-by: Ryan Jenkins <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
…g whitespace Signed-off-by: Super User <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
RyanJenkins99
force-pushed
the
fix/233-env-var-validation
branch
from
February 9, 2026 16:48
18df834 to
ee1c694
Compare
Signed-off-by: Ryan Jenkins <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
pdettori
pushed a commit
to pdettori/rossoctl
that referenced
this pull request
Feb 10, 2026
…#549 PR rossoctl#549 should only contain description field changes for agents/tools deployed from images vs built from source. The environment variable validation logic from PR rossoctl#548 was incorrectly included and has been removed. Changes removed: - Backend validation in agents.py and tools.py - Frontend validation in ImportAgentPage.tsx and ImportToolPage.tsx - Test file test_env_var_validation.py The description field changes from PR rossoctl#549 are preserved. Signed-off-by: Ryan Jenkins <[email protected]>
pdettori
approved these changes
Feb 10, 2026
pdettori
left a comment
Member
There was a problem hiding this comment.
/lgtm - thank you @RyanJenkins99 !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Closes #233
Users could enter invalid environment variable names like
MCP_TRANSPORT=httpwhich would be accepted by the backend but fail silently in Kubernetes, causing "Deployment not found" errors.Solution
Added backend validation to reject invalid env var names before deployment:
Testing
MCP_TRANSPORT=http,MY-VAR,123VAR) - rejectedAPI_KEY,_PRIVATE) - acceptedChanges
agents.py,tools.py- added validationtest_env_var_validation.py- test coverage