alxjrvs / alxjrvs/orrey

Google Calendar event projection via the outbox queue

Đang mở
#19 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
phase:1
Ngôn ngữ chính
HTML
Star
0
Fork
0
Merge trung bình
2 giờ 48 phút
Pull request đã merge (30 ngày)
4

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

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.