Skip to content

feat(calendar): gate Google Calendar sync behind Memry auth state - #258

Merged
h4yfans merged 1 commit into
mainfrom
worktree-gate-google-calendar-auth
Apr 17, 2026
Merged

feat(calendar): gate Google Calendar sync behind Memry auth state#258
h4yfans merged 1 commit into
mainfrom
worktree-gate-google-calendar-auth

Conversation

@h4yfans

@h4yfans h4yfans commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

Add isMemryUserSignedIn helper and hasGoogleCalendarConnection check; short-circuit sync-service and calendar-handlers when either is false. Start/stop the Google Calendar runner on login, connect, disconnect, and session teardown so the background loop matches current auth state.

What

Why

How

Type

  • feat — new feature
  • fix — bug fix
  • refactor — restructure without behavior change
  • style — visual/UI only
  • perf — performance improvement
  • test — adding or updating tests
  • chore — tooling, deps, config
  • docs — documentation only
  • ci — CI/CD changes

Test plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing (describe below)

Screenshots

Checklist

  • Self-reviewed the diff
  • No hardcoded secrets or credentials
  • Files stay under ~500 LOC
  • Follows immutable data patterns

Add isMemryUserSignedIn helper and hasGoogleCalendarConnection check;
short-circuit sync-service and calendar-handlers when either is false.
Start/stop the Google Calendar runner on login, connect, disconnect,
and session teardown so the background loop matches current auth state.
@h4yfans
h4yfans merged commit 1301269 into main Apr 17, 2026
1 check failed
@h4yfans
h4yfans deleted the worktree-gate-google-calendar-auth branch April 17, 2026 11:38
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.

1 participant