refactor: switch admin ops from protobuf to binary encoding

Merged
VI
8mo ago
+17-1658

Summary

  • Remove protobuf runtime dependency and all generated proto files (fila/v1/, proto/)
  • Remove grpcio, grpcio-tools, mypy-protobuf from dev dependencies
  • Update test conftest create_queue to use binary wire format instead of protobuf serialization
  • Remove encode_admin helper from fibp.py

Test plan

  • python -c "import fila" succeeds (verified locally)
  • Integration tests pass against a FIBP server with binary admin encoding (PR #153)
  • No protobuf imports remain in the codebase

Summary by cubic

Switch admin operations from protobuf payloads to a custom binary encoding to simplify the client and remove gRPC/protobuf dependencies. This reduces install size and removes all generated proto files.

  • Refactors

    • Admin frames now use binary bodies; removed encode_admin and use _encode_frame directly.
    • Deleted generated modules under fila/v1/ and all proto/ sources.
    • Updated test create_queue to build the admin body in binary: queue_len:u16 + queue:utf8 + on_enqueue_len:u16 + on_failure_len:u16 + visibility_timeout_ms:u32.
  • Dependencies

    • Dropped protobuf (runtime) and dev deps grpcio, grpcio-tools, mypy-protobuf.
    • Cleaned pyproject.toml and removed mypy/ruff config tied to deleted modules.