Implements the foundational gRPC client class with: - Lazy ClientChannel initialization with proper credentials - DeliveryServiceClient lazy initialization - Authentication via Bearer token in gRPC metadata - CallOptions builder with token injection - gRPC error to ApiError mapping (status codes -> HTTP equivalents) - Token refresh on UNAUTHENTICATED errors (single retry) - Proper channel shutdown/terminate methods The core _executeWithAuth and _executeCommandWithAuth methods provide the foundation for query and command methods in subsequent subtasks. Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
468 B
Plaintext
25 lines
468 B
Plaintext
{
|
|
"active": true,
|
|
"spec": "002-migrate-api-routes-from-http-to-grpc",
|
|
"state": "building",
|
|
"subtasks": {
|
|
"completed": 4,
|
|
"total": 13,
|
|
"in_progress": 1,
|
|
"failed": 0
|
|
},
|
|
"phase": {
|
|
"current": "gRPC Client Implementation",
|
|
"id": null,
|
|
"total": 4
|
|
},
|
|
"workers": {
|
|
"active": 0,
|
|
"max": 1
|
|
},
|
|
"session": {
|
|
"number": 5,
|
|
"started_at": "2026-01-20T12:45:59.858836"
|
|
},
|
|
"last_update": "2026-01-20T12:58:25.218168"
|
|
} |