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

Sync: Fire accountRemoved KV store reason when no account #1189

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

graeme
Copy link
Contributor

@graeme graeme commented Jan 27, 2025

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1202926619870900/1209014391063056/f
iOS PR: duckduckgo/iOS#3875
macOS PR: duckduckgo/macos-browser#3782
What kind of version bump will this require?: Minor

Description:

As part of ✓ Send pixels for account removal + decoding issues, pixels were added indicating what the reason for the Sync account being removed from the Keychain was.

However, the pixel sync_account_removed_reason_not-set-on-key-value-store is being sent even when there was no account stored in the keychain in the first place. This could be obscuring a problem.

To make this Pixel more useful, we should update it so that it's only sent when there was an account stored in the keychain.

Steps to test this PR:
Hard to test the pixel itself as reporting on a broken state, but just do a quick smoke test of Sync on both platforms.

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@graeme graeme self-assigned this Jan 27, 2025
@graeme graeme marked this pull request as ready for review January 27, 2025 09:48
@graeme graeme requested a review from amddg44 January 27, 2025 09:51
@graeme graeme merged commit 5a37e3a into main Jan 27, 2025
13 checks passed
@graeme graeme deleted the graeme/fix-sync-user-defaults-event branch January 27, 2025 12:23
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