Skip to content

feat(grpc): implement chunk gRPC service (issue #18)#20

Merged
traktion merged 2 commits intomasterfrom
feature/issue-18-chunk-grpc
Jan 18, 2026
Merged

feat(grpc): implement chunk gRPC service (issue #18)#20
traktion merged 2 commits intomasterfrom
feature/issue-18-chunk-grpc

Conversation

@traktion
Copy link
Owner

Resolves #18.

This PR implements the gRPC service handler for chunk operations.

Changes:

  • Added proto/chunk.proto with CreateChunk, CreateChunkBinary, GetChunk, and GetChunkBinary RPCs.
  • Implemented src/grpc/chunk_handler.rs based on chunk_controller.rs and pointer_handler.rs.
  • Updated build.rs to compile the new proto file.
  • Integrated ChunkService into the Tonic gRPC server in src/lib.rs.
  • Added unit tests for From traits in src/grpc/chunk_handler.rs.
  • Added Clone derive to service::chunk_service::Chunk to support testing and internal operations.

@traktion traktion merged commit b74e6fb into master Jan 18, 2026
1 check passed
@traktion traktion deleted the feature/issue-18-chunk-grpc branch January 18, 2026 16:53
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.

Create gRPC service handler for chunk operations

1 participant