feat: pcp-messages protobuf#1266
Conversation
|
No concrete merge-blocking issues found in the PR diff. I checked the workspace wiring, proto paths, |
6f3731d to
53d253f
Compare
|
No concrete correctness, security, or regression issues found in the PR diff. I could not fully verify locally: |
|
No concrete merge-blocking issues found in the PR diff. I could not run |
|
I found no concrete merge-blocking issues in the PR diff. I could not run full verification in this environment: |
|
No concrete merge-blocking issues found in the PR diff. I couldn’t execute the new crate tests here because the read-only environment prevented rustup from creating temp files under |
|
I found no concrete merge-blocking issues in the changes introduced by this PR. Note: I couldn’t run the Rust checks locally because this sandbox is read-only/offline for the required toolchain/dependencies, so this is a static review of the diff. |
d5ef659 to
b61206e
Compare
|
No concrete merge-blocking issues found in the PR diff. I reviewed the new proto definitions, Rust |
|
No concrete issues found in the PR changes. I attempted |
|
No concrete issues found in the PR-introduced changes. The new proto definitions, Rust wrapper crate, workspace registration, and Buf CI wiring look consistent with the existing workspace setup. I did not run the Rust tests because the workspace is read-only in this environment. |
25aeca9 to
1939d21
Compare
|
No concrete merge-blocking issues found in the PR diff. I could not run |
1939d21 to
8f849c2
Compare
There was a problem hiding this comment.
Pull request overview
Adds PCP (Personal Custody Package) protobuf message definitions to the repo, along with a Rust crate (orb-pcp-defs) that compiles and exposes the generated types for use by other workspace crates (and the pcp-package).
Changes:
- Introduces new
pcp.v1protobuf message schemas for DI iris embeddings and embedding shares. - Adds a new Rust workspace member (
pcp-defs/rust) that builds the protos viaprost-buildand includes round-trip tests. - Adds Buf configuration + a dedicated GitHub Actions workflow to lint/format the protobuf module, and includes
bufin the Nix dev shell.
Reviewed changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pcp-defs/rust/tests/round_trip.rs | Adds prost encode/decode round-trip tests for the new messages. |
| pcp-defs/rust/src/lib.rs | Exposes generated protobuf types under a v1 module and re-exports prost. |
| pcp-defs/rust/Cargo.toml | Defines the new orb-pcp-defs crate and prost/prost-build deps. |
| pcp-defs/rust/build.rs | Builds Rust code from the proto definitions during compilation. |
| pcp-defs/README.md | Documents the purpose of the new pcp-defs component. |
| pcp-defs/proto/pcp/v1/di_iris_embeddings.proto | Defines DiIrisEmbeddings / DiIrisEmbeddingV1 schemas. |
| pcp-defs/proto/pcp/v1/di_iris_embedding_shares.proto | Defines DiIrisEmbeddingShares / DiIrisEmbeddingShareV1 schemas. |
| pcp-defs/buf.yaml | Configures Buf module + lint/breaking rules for protobufs. |
| nix/shells/development.nix | Adds buf to the dev environment for proto workflows. |
| Cargo.toml | Adds pcp-defs/rust to the Rust workspace members list. |
| Cargo.lock | Records the new crate and prost/prost-build dependencies. |
| .github/workflows/proto-ci.yaml | Adds CI to run buf lint and buf format --diff for pcp-defs/**. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| let proto_root = "./proto"; | ||
| let proto_files = [ | ||
| "./proto/pcp/v1/di_iris_embeddings.proto", | ||
| "./proto/pcp/v1/di_iris_embedding_shares.proto", | ||
| ]; |
|
No concrete merge-blocking issues found in the PR diff. Static review covered the new proto schema, Rust prost crate wiring, workspace registration, tests, and the new buf CI workflow. I could not run |
8f849c2 to
358ac3d
Compare
|
Found one concrete issue:
I did not find other merge-blocking issues in the PR diff. |
358ac3d to
d5a1485
Compare
|
No concrete blocking issues found in the PR diff. The new protobuf definitions, Rust wrapper crate, tests, workspace entry, and proto lint/format CI look consistent with the existing repo patterns. |
Introduces protobuf definitions for pcp messages to be included in the pcp-package.