refactor: switch admin ops from protobuf to binary encoding
Merged
VI
8mo ago+17+17+01234567890123456789-1658-1658-0123456789012345678901234567890123456789
Summary
- Remove
protobufruntime dependency and all generated proto files (fila/v1/,proto/) - Remove
grpcio,grpcio-tools,mypy-protobuffrom dev dependencies - Update test conftest
create_queueto use binary wire format instead of protobuf serialization - Remove
encode_adminhelper fromfibp.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_adminand use_encode_framedirectly. - Deleted generated modules under
fila/v1/and allproto/sources. - Updated test
create_queueto build the admin body in binary: queue_len:u16 + queue:utf8 + on_enqueue_len:u16 + on_failure_len:u16 + visibility_timeout_ms:u32.
- Admin frames now use binary bodies; removed
-
Dependencies
- Dropped
protobuf(runtime) and dev depsgrpcio,grpcio-tools,mypy-protobuf. - Cleaned
pyproject.tomland removed mypy/ruff config tied to deleted modules.
- Dropped