-
Notifications
You must be signed in to change notification settings - Fork 432
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
Validate correct environment #2546
Conversation
Core/PixelEvent.swift
Outdated
@@ -1004,6 +1005,8 @@ extension Pixel.Event { | |||
case .syncDeleteAccountError: return "m_d_sync_delete_account_error" | |||
case .syncLoginExistingAccountError: return "m_d_sync_login_existing_account_error" | |||
|
|||
case .syncWrongEnvironment: return "m_d_sync_wrong_environment" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fatal error: Unique pixel: must end with _u
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is confusing - DailyPixel appends _d and _c automatically but Unique does not, Going to update pixel name now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected, but catches an assertion because of the reason I posted in the comment. Other than that it's good to go :) pending privacy triage 😇
* main: Point to BSK hotfix (#2558) Prevent redeeming invite codes after the VPN test ends (#2559) Updates Kingfisher to 7.11.0 (#2545) Makes network path metadata description anonymous (#2544) Adds pixels to track main VPN funnels (#2543) Cleanup after rolling out autoconsent enabled by default (#2537) Add #URL macro (#2540) Handle expired entitlement in NetP (#2525) Remove isSubscriptionEnabled check when attempting to delete NetP token (#2548) Validate correct environment (#2546) Remove CGNAT range (#2524) Add preliminary support for subscription keychain sharing (#2538) fix opening tabs with transitional (#2542) Integrate confirm entitlements endpoint (#2541) Makes dbSaveBloomFilterError daily and count (#2526) 16. Subscription: Display "Activation in progress" message (#2535) Autofill support for deleting all passwords (#2497) Bump BrowserServicesKit (#2532) Release 7.111.0-0 (#2534) if dax dialogs are showing then dismiss (#2506)
…-lottie-animation * sam/vpn-ui-improvements: Point to BSK hotfix (#2558) Prevent redeeming invite codes after the VPN test ends (#2559) Updates Kingfisher to 7.11.0 (#2545) Makes network path metadata description anonymous (#2544) Adds pixels to track main VPN funnels (#2543) Cleanup after rolling out autoconsent enabled by default (#2537) Add #URL macro (#2540) Handle expired entitlement in NetP (#2525) Remove isSubscriptionEnabled check when attempting to delete NetP token (#2548) Validate correct environment (#2546) Remove CGNAT range (#2524) Add preliminary support for subscription keychain sharing (#2538) fix opening tabs with transitional (#2542) Integrate confirm entitlements endpoint (#2541) Makes dbSaveBloomFilterError daily and count (#2526) 16. Subscription: Display "Activation in progress" message (#2535) Autofill support for deleting all passwords (#2497) Bump BrowserServicesKit (#2532) Release 7.111.0-0 (#2534) if dax dialogs are showing then dismiss (#2506)
…n-ui-improvements-3-combine-notification-settings * sam/vpn-ui-improvements-2-lottie-animation: (22 commits) Point to BSK hotfix (#2558) Prevent redeeming invite codes after the VPN test ends (#2559) Updates Kingfisher to 7.11.0 (#2545) Makes network path metadata description anonymous (#2544) Adds pixels to track main VPN funnels (#2543) Cleanup after rolling out autoconsent enabled by default (#2537) Add #URL macro (#2540) Handle expired entitlement in NetP (#2525) Remove isSubscriptionEnabled check when attempting to delete NetP token (#2548) Add dark mode animation. Allow the animation intro to be skipped Validate correct environment (#2546) Remove CGNAT range (#2524) Add preliminary support for subscription keychain sharing (#2538) fix opening tabs with transitional (#2542) Integrate confirm entitlements endpoint (#2541) Makes dbSaveBloomFilterError daily and count (#2526) 16. Subscription: Display "Activation in progress" message (#2535) Autofill support for deleting all passwords (#2497) Bump BrowserServicesKit (#2532) ...
…' into sam/vpn-ui-improvements-4-location-setting-change # By Sam Symons (4) and others # Via Sam Symons (3) and others * sam/vpn-ui-improvements-3-combine-notification-settings: (22 commits) Point to BSK hotfix (#2558) Prevent redeeming invite codes after the VPN test ends (#2559) Updates Kingfisher to 7.11.0 (#2545) Makes network path metadata description anonymous (#2544) Adds pixels to track main VPN funnels (#2543) Cleanup after rolling out autoconsent enabled by default (#2537) Add #URL macro (#2540) Handle expired entitlement in NetP (#2525) Remove isSubscriptionEnabled check when attempting to delete NetP token (#2548) Add dark mode animation. Allow the animation intro to be skipped Validate correct environment (#2546) Remove CGNAT range (#2524) Add preliminary support for subscription keychain sharing (#2538) fix opening tabs with transitional (#2542) Integrate confirm entitlements endpoint (#2541) Makes dbSaveBloomFilterError daily and count (#2526) 16. Subscription: Display "Activation in progress" message (#2535) Autofill support for deleting all passwords (#2497) Bump BrowserServicesKit (#2532) ... # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
* main: (28 commits) Fix VPN view model memory leak (#2570) Bump submodules/privacy-reference-tests from `40ce868` to `a603ff9` (#2500) 18. Subscription Entitlements caching (#2556) Release 7.111.0-2 (#2563) Revert "Report Apple Ad attribution using pixel (#2510)" (#2562) Vanilla browser integration (#2550) Fix blank space after URL bar hides (#2549) Release 7.111.0-1 (#2561) Point to BSK hotfix (#2558) Prevent redeeming invite codes after the VPN test ends (#2559) Updates Kingfisher to 7.11.0 (#2545) Makes network path metadata description anonymous (#2544) Adds pixels to track main VPN funnels (#2543) Cleanup after rolling out autoconsent enabled by default (#2537) Add #URL macro (#2540) Handle expired entitlement in NetP (#2525) Remove isSubscriptionEnabled check when attempting to delete NetP token (#2548) Validate correct environment (#2546) Remove CGNAT range (#2524) Add preliminary support for subscription keychain sharing (#2538) ...
Task/Issue URL: https://app.asana.com/0/0/1206645876801807/f
Tech Design URL:
CC:
Description:
Fire Unique pixel in case we are on dev environment but we most likely should not be.
Steps to test this PR:
Smoke tests.
Internal references:
Software Engineering Expectations
Technical Design Template