Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutations Sync: Refactor and filter on current user #2237

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

scolsen
Copy link
Contributor

@scolsen scolsen commented Feb 14, 2024

Two small bits of cleanup in the LocalMutationSyncWorker:

  1. Move fetching of mutations eligible for retry into the mutations repository
  2. Only sync mutations associated with the current authenticated user.

Also adds a new test to validate (2.). Progress toward issue #2235.

@gino-m

Two small bits of cleanup in the LocalMutationSyncWorker:

  1. Move fetching of mutations eligible for retry into the mutations
     repository
  2. Only sync mutations associated with the current authenticated user.

Also adds a new test to validate (2.). Progress toward issue google#2235.
Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! One nit, and some checks are failing, otherwise LGTM!

Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, sorry for the delay!

@gino-m
Copy link
Collaborator

gino-m commented Mar 1, 2024

Looks like there are detekt errors to correct.

@gino-m
Copy link
Collaborator

gino-m commented Mar 16, 2024

@scolsen Gentle ping.. could you please resolve failing checks? @jcqli for visibility.

@scolsen
Copy link
Contributor Author

scolsen commented Mar 18, 2024

@gino-m FYI should be good to go, holding off on merging just to be sure we manage these correctly before cutting a release

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.

None yet

3 participants