You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mas-mcp: reqwest is back on 0.13, so endpoint tests panic in a workspace build again (#717 regressed) #773
# 0.12 to match the rest of the workspace. On 0.13 this crate shared a# dependency with tauri-plugin-updater, and feature unification left the# test client asking for a rustls crypto provider that nothing installs —# invisible unless you built the whole workspace at once (#717).reqwest = { version = "0.13", default-features = false, features = ["json"] }
The comment says 0.12, but the line says 0.13. The Dependabot cargo group bump (#756) moved it back, and the failure #717 fixed is back with it. Built together with the app crate, every HTTP test in crates/mas-mcp/tests/endpoint.rs panics:
$ cd src-tauri && cargo test -p mas-core -p mas-mcp -p sqlpilot --test endpoint
thread 'a_harness_can_list_the_tools' panicked at .../reqwest-0.13.4/src/async_impl/client.rs:2484:5:
No rustls crypto provider is configured. When using the `rustls-no-provider` feature you must install a crypto provider before building a Client.
test result: FAILED. 1 passed; 8 failed
cargo tree -e features -i [email protected] shows the cause: tauri-plugin-updater's rustls-tls feature turns on reqwest/rustls-no-provider, which this crate's test client then shares. cargo test -p mas-mcp on its own passes, which is how CI runs it, so CI stays green.
Fix
Put reqwest back on 0.12 in crates/mas-mcp/Cargo.toml, matching the root's reqwest = { version = "0.12", … }.
Keep Dependabot from undoing it again. Either add an ignore entry for reqwest 0.13 in the cargo block of .github/dependabot.yml, or install a crypto provider once at the top of the endpoint tests (rustls::crypto::ring::default_provider().install_default()). The second option holds whatever reqwest version Dependabot picks.
Add a CI step that builds the workspace's tests together, e.g. cargo test --workspace --no-run, so the next feature-unification break shows up in CI.
Found while testing #770. It doesn't affect the shipped app, only the test build.
Activity
chore: move agent setup from .opencode to Claude (#775)