Skip to content

docs(sync): document google revocation and reconnect behavior#1524

Merged
tyler-dane merged 1 commit intomainfrom
cursor/documentation-automation-system-4899
Mar 7, 2026
Merged

docs(sync): document google revocation and reconnect behavior#1524
tyler-dane merged 1 commit intomainfrom
cursor/documentation-automation-system-4899

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented Mar 7, 2026

Updates sync/runtime/API docs to reflect current Google revocation handling, reconnect lifecycle, metadata shape (google.hasRefreshToken), and notification/import response semantics. Also documents res.promise 204 status-only responses used by event write endpoints.

Open in Web View Automation 


Note

Low Risk
Docs-only changes; no runtime behavior or contracts are modified, but inaccuracies could mislead implementers if not reviewed for correctness.

Overview
Documentation updates clarify Google revocation/reconnect behavior end-to-end across API, websocket, and frontend runtime, including how clients should react to GOOGLE_REVOKED (keep session, fall back to local storage, prompt reconnect) and how reconnect restarts sync.

Docs now spell out the UserMetadata shape (including google.hasRefreshToken enrichment), expected outcomes/status codes for Google notification handling and /api/sync/import-gcal, and the backend convention of returning { statusCode: 204 } via res.promise(...) for true 204 No Content responses on event write endpoints.

Written by Cursor Bugbot for commit eec58ea. This will update automatically on new commits. Configure here.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane tyler-dane marked this pull request as ready for review March 7, 2026 05:21
@tyler-dane tyler-dane merged commit afd5eca into main Mar 7, 2026
5 checks passed
@tyler-dane tyler-dane deleted the cursor/documentation-automation-system-4899 branch March 7, 2026 05:21
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