docs(sync): document google revocation and reconnect behavior#1524
Merged
tyler-dane merged 1 commit intomainfrom Mar 7, 2026
Merged
docs(sync): document google revocation and reconnect behavior#1524tyler-dane merged 1 commit intomainfrom
tyler-dane merged 1 commit intomainfrom
Conversation
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates sync/runtime/API docs to reflect current Google revocation handling, reconnect lifecycle, metadata shape (
google.hasRefreshToken), and notification/import response semantics. Also documentsres.promise204 status-only responses used by event write endpoints.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
UserMetadatashape (includinggoogle.hasRefreshTokenenrichment), expected outcomes/status codes for Google notification handling and/api/sync/import-gcal, and the backend convention of returning{ statusCode: 204 }viares.promise(...)for true204 No Contentresponses on event write endpoints.Written by Cursor Bugbot for commit eec58ea. This will update automatically on new commits. Configure here.