tftsr-devops_investigation/src-tauri/src/mcp/transport
Shaun Arman 7c2452e3f7
All checks were successful
Test / rust-fmt-check (pull_request) Successful in 1m27s
Test / frontend-tests (pull_request) Successful in 1m31s
Test / frontend-typecheck (pull_request) Successful in 1m34s
Test / rust-clippy (pull_request) Successful in 3m8s
Test / rust-tests (pull_request) Successful in 4m33s
PR Review Automation / review (pull_request) Successful in 4m47s
fix(mcp): fix test_allows_safe_env_vars test failure
The test was trying to spawn a process which requires a Tokio runtime.
Changed the test to only verify validation logic by checking that safe
environment variables don't trigger 'Dangerous environment variable' errors.

Uses /usr/bin/nonexistent as command so spawn will fail (command not found)
but validation will pass for safe env vars like DEBUG, API_KEY, PATH, etc.

All 243 tests now passing.
2026-06-01 12:41:26 -05:00
..
http.rs fix(mcp): parse and merge env vars in discovery layer 2026-06-01 08:25:49 -05:00
mod.rs feat(mcp): add MCP Server Support with TDD implementation 2026-05-23 16:23:48 -05:00
stdio.rs fix(mcp): fix test_allows_safe_env_vars test failure 2026-06-01 12:41:26 -05:00