mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Two fabro-telemetry sender tests assert that upload/upload_blocking return an error with "SEGMENT_WRITE_KEY not set" -- a claim that only holds when SEGMENT_WRITE_KEY is absent at compile time. The release workflow sets the secret at build time, so these tests now fail under `cargo nextest run --workspace` in release CI (newly exercised after switching the release workflow from `cargo test` to nextest). Guard each assertion with an early return when SEGMENT_WRITE_KEY is compiled in so the test passes in release CI while still verifying the no-key path for every other build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||