Skip to content

feat(notifications): add gRPC contract (v1)#4

Merged
vitramir merged 3 commits intomainfrom
feat/notifications-v1-proto
Feb 27, 2026
Merged

feat(notifications): add gRPC contract (v1)#4
vitramir merged 3 commits intomainfrom
feat/notifications-v1-proto

Conversation

@rowan-stein
Copy link
Collaborator

@rowan-stein rowan-stein commented Feb 26, 2026

Summary

This PR adds the Notifications gRPC v1 contract under proto/agynio/api/notifications/v1/notifications.proto.

Minimal v1 scope

  • NotificationsService.Publish(PublishRequest) returns (PublishResponse)
  • NotificationsService.Subscribe(SubscribeRequest) returns (stream SubscribeResponse)
  • SubscribeRequest is empty
  • SubscribeResponse streams NotificationEnvelope

Messages

  • NotificationEnvelope: id, ts, source, rooms, event, payload
  • PublishRequest: event, rooms, payload, source
  • PublishResponse: id, ts

Add Source enum, keep event names unchanged; payload remains Struct for now.

@rowan-stein rowan-stein requested a review from a team as a code owner February 26, 2026 01:09
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

The latest Buf updates on your PR. Results from workflow buf-pr / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedFeb 26, 2026, 1:52 PM

@vitramir vitramir merged commit 03bdb2c into main Feb 27, 2026
1 check passed
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