mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
The fabro-http crate's proxy policy mechanism was not being used in tests. http_api.rs used #[cfg(test)] to call .no_proxy(), but cfg(test) only applies within the crate being tested — downstream crates like fabro-workflow and fabro-cli hit the production path with system proxy discovery, adding ~900ms per reqwest client per process. - Set FABRO_HTTP_PROXY_POLICY=disabled in .cargo/config.toml so all test HTTP clients skip proxy discovery automatically - Remove dead #[cfg(test)] branch in http_api.rs; it now relies on the env var like every other fabro-http consumer - Remove kind(test) from nextest overrides so timeout budgets apply to unit tests too, not just integration tests - Remove unused SessionCookie import in web_auth.rs Eliminates all 11 flaky nextest timeouts under parallel load. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||