Skip to content

Commit eb01c77

Browse files
authored
fix(kokoros): implement face_verify and face_analyze trait stubs (#9499)
The backend.proto was updated to add FaceVerify and FaceAnalyze RPCs (face detection support), but the Rust KokorosService was never updated to match the regenerated tonic trait, breaking compilation with E0046: not all trait items implemented, missing: `face_verify`, `face_analyze` Stubs both methods as unimplemented, matching the pattern used for the other RPCs Kokoros does not support. Assisted-by: Claude:claude-opus-4-7 [Claude Code]
1 parent bb4fda6 commit eb01c77

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

backend/rust/kokoros/src/service.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,20 @@ impl Backend for KokorosService {
372372
Err(Status::unimplemented("Not supported"))
373373
}
374374

375+
async fn face_verify(
376+
&self,
377+
_: Request<backend::FaceVerifyRequest>,
378+
) -> Result<Response<backend::FaceVerifyResponse>, Status> {
379+
Err(Status::unimplemented("Not supported"))
380+
}
381+
382+
async fn face_analyze(
383+
&self,
384+
_: Request<backend::FaceAnalyzeRequest>,
385+
) -> Result<Response<backend::FaceAnalyzeResponse>, Status> {
386+
Err(Status::unimplemented("Not supported"))
387+
}
388+
375389
async fn stores_set(
376390
&self,
377391
_: Request<backend::StoresSetOptions>,

0 commit comments

Comments
 (0)