Skip to content

fix: gate proto tests behind protobuf feature flag - #97

Merged
kacy merged 1 commit into
mainfrom
fix/gate-proto-tests
Feb 12, 2026
Merged

fix: gate proto tests behind protobuf feature flag#97
kacy merged 1 commit into
mainfrom
fix/gate-proto-tests

Conversation

@kacy

@kacy kacy commented Feb 12, 2026

Copy link
Copy Markdown
Owner

summary

proto integration tests were failing because they spawn ember-server with --protobuf, but the binary was compiled without the protobuf feature. the server didn't recognize the flag and exited immediately, causing 44 tests to timeout after 5 seconds each. the resource contention from these timeouts also made basic_operations::exists flaky.

gates the proto test module behind a protobuf feature flag and updates the Makefile + CI to build/test with --features protobuf.

what was tested

  • cargo test --workspace — proto tests skipped, all 301 tests pass
  • cargo test --workspace --features protobuf — all 335 tests pass (including 34 proto tests)
  • make check — fmt, clippy, and tests all pass

the proto integration tests spawn ember-server with --protobuf, but
without the protobuf feature enabled the binary doesn't recognize the
flag and exits immediately. this caused 44 test timeouts (5s each) and
resource contention that made other tests flaky.

- add `protobuf` feature to integration test crate
- gate `mod proto` behind `#[cfg(feature = "protobuf")]`
- update Makefile test/clippy targets to use `--features protobuf`
- update CI build/test/clippy steps to use `--features protobuf`
@kacy
kacy merged commit fd46e12 into main Feb 12, 2026
7 checks passed
@kacy
kacy deleted the fix/gate-proto-tests branch February 12, 2026 15:18
kacy added a commit that referenced this pull request Feb 19, 2026
the proto integration tests spawn ember-server with --protobuf, but
without the protobuf feature enabled the binary doesn't recognize the
flag and exits immediately. this caused 44 test timeouts (5s each) and
resource contention that made other tests flaky.

- add `protobuf` feature to integration test crate
- gate `mod proto` behind `#[cfg(feature = "protobuf")]`
- update Makefile test/clippy targets to use `--features protobuf`
- update CI build/test/clippy steps to use `--features protobuf`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant