Skip to content

Conversation

@dkhalife
Copy link
Owner

No live connection yet, will enable behind a FF in an upcoming PR

Copilot AI review requested due to automatic review settings December 15, 2025 00:34
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 0% with 561 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apiserver/internal/grpc/task.go 0.00% 383 Missing ⚠️
apiserver/internal/grpc/label.go 0.00% 92 Missing ⚠️
apiserver/internal/grpc/user.go 0.00% 86 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements gRPC services on the backend (Go) and a corresponding TypeScript gRPC-web client on the frontend. The implementation includes services for tasks, labels, users, tokens, and authentication, with no live connection enabled yet (to be feature-flagged in a future PR).

Key changes:

  • Added TypeScript gRPC-web client with authentication middleware and token refresh logic
  • Implemented Go gRPC server handlers for Task, Label, User, Token, and Auth services
  • Added type conversion functions between gRPC protobuf types and internal models

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 10 comments.

File Description
frontend/src/grpc/client.ts Implements gRPC-web client factory and exports typed API methods for all services with authentication metadata provider
apiserver/internal/grpc/user.go Implements UserGRPCServer with profile retrieval, notification settings, and password change handlers
apiserver/internal/grpc/task.go Implements TaskGRPCServer with full CRUD operations, task completion/skipping, and history retrieval plus model conversion utilities
apiserver/internal/grpc/label.go Implements LabelGRPCServer with CRUD operations for user labels

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dkhalife dkhalife merged commit 1673207 into main Dec 16, 2025
15 of 16 checks passed
@dkhalife dkhalife deleted the protobuf branch December 16, 2025 02:27
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.

2 participants