mirror of
https://github.com/block/buzz.git
synced 2026-11-25 18:52:52 +00:00
`just test-unit` (and the pre-push rust lane that runs it) only uses nextest when `cargo-nextest` is on PATH; otherwise it falls back to `scripts/run-tests.sh unit`, ~57 sequential `cargo test` invocations. Nothing installed nextest locally, so every push took the slow path. Pin 0.9.143, the closest Hermit build to CI's 0.9.136 that satisfies `.config/nextest.toml`'s `nextest-version`. The nextest path runs two things the fallback did not, which surfaced two test isolation bugs: - buzz-agent's databricks_oauth integration tests spawn the agent with the caller's env, so a `DATABRICKS_MODEL_FILTER` from a developer or agent shell hid the fake server's models. Remove it in the harness. - buzz-acp's keepalive_resets_idle_past_deadline gave only 50ms of slack between 50ms keepalives and a 100ms idle deadline, which `sleep` spawn latency exceeds under nextest's parallel load. Widen the deadline to 300ms; the test still fails if keepalives stop resetting idle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Honey <8e307ae0076a4dab6b94b036ea3edc7e08f823a625269c1e6919e881a048b4d2@buzz.block.builderlab.xyz>