Google Calendar event projection via the outbox queue
- Ngôn ngữ chính
- HTML
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 giờ 34 phút
- Pull request đã merge (30 ngày)
- 23
Mô tả
The second outbound projection, using the service-account pattern proved in phase 0. Writes go only to the Orrey calendar — **never to the user's Social calendar.**
- [ ] Queue message shape for "project session N to Google"; same producer as the Discord event projection.
- [ ] Deterministic base32hex event id per session, stored in `calendar_links.gcal_event_id`.
- [ ] Upsert: `insert`, and on `409` `update`. Fingerprint the content; skip when unchanged; record `synced_at` / `last_error`.
- [ ] Service-account JWT → access token, cached for its lifetime in the Worker (no refresh token exists to expire).
- [ ] Idempotent on redelivery; failures to the DLQ with `last_error` set.
Echo-loop prevention (the Google *return* path) is phase 7; the fingerprint stored here is what makes that possible later.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reading the existing Discord event projection and its shared producer, then trace the outbox queue and Worker boundaries. Use calendar_links.gcal_event_id, synced_at, and last_error as the persistence anchors; done means idempotent Google Calendar writes to the Orrey calendar, cached service-account access, unchanged-content skips, and DLQ handling on failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- cloud, databases, distributed-systems
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100