docs(auth): clarify google connect conflict behavior and triage#1577
Merged
tyler-dane merged 1 commit intomainfrom Mar 28, 2026
Merged
docs(auth): clarify google connect conflict behavior and triage#1577tyler-dane merged 1 commit intomainfrom
tyler-dane merged 1 commit intomainfrom
Conversation
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
tyler-dane
approved these changes
Mar 28, 2026
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.
Summary
POST /api/auth/google/connectrequest/response contract409 CONFLICT) when a Google account is already attached to another Compass userDocs updated
docs/backend/api-documentation.mddocs/features/password-auth-flow.mddocs/features/google-sync-and-websocket-flow.mddocs/manual-testing/auth-testing.mdCodepaths covered
packages/backend/src/auth/auth.routes.config.tspackages/backend/src/auth/controllers/auth.controller.tspackages/backend/src/auth/services/google/google.auth.service.tspackages/backend/src/common/errors/auth/auth.errors.tspackages/backend/src/common/errors/handlers/error.express.handler.tspackages/web/src/auth/hooks/oauth/useConnectGoogle.tspackages/web/src/common/apis/auth.api.tsKnowledge gaps addressed
Note
Low Risk
Low risk because this PR only updates documentation and manual test runbooks; no runtime code paths are modified. Risk is limited to potential doc drift/miscommunication about the
POST /api/auth/google/connectconflict behavior.Overview
Docs-only update that formalizes the
POST /api/auth/google/connectcontract by adding a concrete request example and explicitly documenting the409 CONFLICTresponse payload for Google-account ownership conflicts.Adds operator/triage guidance explaining that conflicts should have no side effects (no credential persistence, no sync metadata restart, no import websocket lifecycle), and extends the auth manual-testing runbook with a new connect-conflict scenario plus an updated regression checklist to cover this case.
Written by Cursor Bugbot for commit 6e7f4fe. This will update automatically on new commits. Configure here.