fix: address review findings — MCPG_IMAGE constant, constant-time aut…#151
Conversation
…h, reqwest dev-dep, MCP enabled check
- Add MCPG_IMAGE constant and {{ mcpg_image }} template marker to avoid
hardcoding the Docker image in two places in base.yml
- Fix constant-time auth comparison in mcp.rs to pad slices to equal
length before ct_eq, making the check genuinely length-independent
- Move reqwest blocking feature to [dev-dependencies] since it's only
used in integration tests
- Respect enabled: false on McpConfig::WithOptions in both standalone
and 1ES compilers by reading opts.enabled instead of hardcoding true
- Add enabled field to McpOptions struct in types.rs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Rust PR ReviewSummary: Changes look mostly correct with one notable logic issue in the constant-time comparison and a discrepancy between the commit message and actual diff. Findings🐛 Bugs / Logic Issues
✅ What Looks Good
|
…h, reqwest dev-dep, MCP enabled check