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

Remove the reconnect/disconnect logic from the connection tester #1970

Merged
merged 4 commits into from
Dec 15, 2023

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Dec 14, 2023

Task/Issue URL: https://app.asana.com/0/0/1206173513538618/f

iOS PR: duckduckgo/iOS#2272
BSK PR: duckduckgo/BrowserServicesKit#601

Description

Removes the disconnect / reconnect logic from the connection tester.

Testing

  1. Download this and save it to your desktop: ruleset.txt
    2.Launch the app, and connect NetP, make sure the connection works.
  2. Run this command from terminal: sudo pfctl -ef ~/Desktop/ruleset.txt
  3. Make sure the connection doesn't work, but also make sure NetP stays connected.

Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@diegoreymendez diegoreymendez self-assigned this Dec 14, 2023
@diegoreymendez diegoreymendez changed the title Diego/remove tester disconnects Remove the reconnect/disconnect logic from the connection tester Dec 14, 2023
@@ -87,7 +87,7 @@ final class NetworkProtectionNavBarButtonModel: NSObject, ObservableObject {
statusObserver: ipcClient.connectionStatusObserver,
serverInfoObserver: ipcClient.serverInfoObserver,
connectionErrorObserver: ipcClient.connectionErrorObserver,
connectivityIssuesObserver: ConnectivityIssueObserverThroughDistributedNotifications(),
connectivityIssuesObserver: DisabledConnectivityIssueObserver(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was removed due to this comment.

@diegoreymendez diegoreymendez marked this pull request as ready for review December 14, 2023 16:32
@quanganhdo
Copy link
Member

The behaviour was as described 👍

diegoreymendez added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Dec 15, 2023
Task/Issue URL: https://app.asana.com/0/0/1206173513538620/f

iOS PR: duckduckgo/iOS#2272
macOS PR: duckduckgo/macos-browser#1970
What kind of version bump will this require?: Patch

## Description

Removes the logic that would reconnect / disconnect NetP in case of trouble.
@diegoreymendez diegoreymendez merged commit db4a58d into main Dec 15, 2023
14 checks passed
@diegoreymendez diegoreymendez deleted the diego/remove-tester-disconnects branch December 15, 2023 13:35
diegoreymendez added a commit to duckduckgo/iOS that referenced this pull request Dec 15, 2023
Task/Issue URL: https://app.asana.com/0/0/1206173513538619/f

macOS PR: duckduckgo/macos-browser#1970
BSK PR: duckduckgo/BrowserServicesKit#601

## Description

Removes the logic that would reconnect / disconnect NetP in case of trouble.
samsymons added a commit that referenced this pull request Dec 15, 2023
* main:
  Updates to Autofill Logins copy (#1924)
  Bump version to 1.69.0 (95)
  Remove the reconnect/disconnect logic from the connection tester (#1970)
  Set marketing version to 1.69.0
  Update embedded files
  DBP: Send internal user param for dbp waitlist pixels (#1972)
  Move release task to proper section in Code Freeze workflow (#1977)
  drop Main.storyboard (#1944)
  Add GHA workflow to cut release branch (#1976)
  Move DBP tests into main target (#1974)
  Use static date for PixelKit tests (#1973)
samsymons added a commit that referenced this pull request Dec 15, 2023
* main: (48 commits)
  Add additional VPN startup pixels (#1975)
  Updates to Autofill Logins copy (#1924)
  Bump version to 1.69.0 (95)
  Remove the reconnect/disconnect logic from the connection tester (#1970)
  Set marketing version to 1.69.0
  Update embedded files
  DBP: Send internal user param for dbp waitlist pixels (#1972)
  Move release task to proper section in Code Freeze workflow (#1977)
  drop Main.storyboard (#1944)
  Add GHA workflow to cut release branch (#1976)
  Move DBP tests into main target (#1974)
  Use static date for PixelKit tests (#1973)
  Remove DBP test target (#1961)
  Fix date generator for time machine (#1969)
  Improve sync set up error handling (#1966)
  remove QR code from save recovery PDF view (#1968)
  change order of items in autofill add new item (#1967)
  Fix PR Checks workflow (#1962)
  Bump version to 1.68.0 (93)
  Update embedded files
  ...
samsymons added a commit that referenced this pull request Dec 19, 2023
* main:
  DBP: Fix unreliable date tests (#1981)
  Add search retention pixel for NetP (#1964)
  Sabrina/sync e2e tests (#1959)
  swiftlint build plugin (#1318)
  VPN Geoswitching - initial draft (#1978)
  Add additional VPN startup pixels (#1975)
  Updates to Autofill Logins copy (#1924)
  Bump version to 1.69.0 (95)
  Remove the reconnect/disconnect logic from the connection tester (#1970)
  Set marketing version to 1.69.0
  Update embedded files
  DBP: Send internal user param for dbp waitlist pixels (#1972)
  Move release task to proper section in Code Freeze workflow (#1977)
  drop Main.storyboard (#1944)
  Add GHA workflow to cut release branch (#1976)
  Move DBP tests into main target (#1974)
  Use static date for PixelKit tests (#1973)
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