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

Hotfix: Rename ATB keys so that the app thinks it's a new install #375

Merged
merged 2 commits into from
Dec 16, 2021

Conversation

samsymons
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/1199230911884351/1201495686896081/f
Tech Design URL:
CC: @tomasstrba

Description:

This PR renames the ATB keys to trick the browser into thinking that it's a new install, so that users on existing versions don't muddy our retention data.

Important: @tomasstrba I branched off of main for this with the intention of us putting out a release purely with this change, and nothing else on develop.

Steps to test this PR:

  1. Run a clean install of the debug version of the browser, and check that the ATB install statistic requests are made
  2. Check this branch out and run it
  3. Verify that the ATB requests are made again – subsequent calls should obviously not continue to call it

Testing checklist:

  • Test with Release configuration

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM


// These are the original ATB keys that have been replaced in order to resolve retention data issues.
// These keys should be removed from the database in the future.
private struct DeprecatedKeys {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not removing these for now just so we can make the simplest possible change and resolve the issue, cleanup can happen later.

Copy link
Contributor

@tomasstrba tomasstrba left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@tomasstrba tomasstrba merged commit b59f858 into main Dec 16, 2021
@tomasstrba tomasstrba deleted the hotfix/sam/reset-atb-values branch December 16, 2021 12:15
samsymons added a commit that referenced this pull request Dec 16, 2021
* develop:
  drop legacy atb (#376)
  Version 0.18.0
  Hotfix: Rename ATB keys so that the app thinks it's a new install (#375)
samsymons added a commit that referenced this pull request Dec 17, 2021
# By Alexey Martemyanov (4) and others
# Via GitHub (1) and Tomas Strba (1)
* develop:
  mvp onboarding (#377)
  Update dark mode shield icon asset (#374)
  Mac Waitlist Lock Screen (#372)
  drop legacy atb (#376)
  Version 0.18.0
  Hotfix: Rename ATB keys so that the app thinks it's a new install (#375)
  Version 0.17.8
  Point to updated BSK version (#371)
  Fixing macOS desktop app retention metrics (#370)
  fix bookmark editing and colors (#364)
  ATB -> PixelDataStore (#356)
  Fix deallocation (#369)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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