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

Fix agent startup #2107

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Fix agent startup #2107

merged 1 commit into from
Jan 23, 2024

Conversation

Bunn
Copy link
Collaborator

@Bunn Bunn commented Jan 23, 2024

Task/Issue URL: https://app.asana.com/0/1203581873609357/1206412688037751/f
Tech Design URL:
CC:

Description:

  • Prevents the background agent from starting on waitlist users that did not start the DBP process
  • Disable the agent if the user doesn't have profile data

Steps to test this PR:

  • As non waitlist user -
    1 - Open app, check if DBP agent is started, it shouldn't

  • As waitlist user, To make it easier, return true in these 3 methods to simulate a waitlist user
    1 - Open app, check if DBP agent is started, it shouldn't
    2 - Fill the profile for a scan, start the scan
    3 - Force close the browser, check if the agent is restarted, it should
    4 - Close the app, delete the database, open it again, check if the agent is restarted, it shouldn't


Internal references:

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

@Bunn Bunn merged commit 3d96adc into release/1.72.0 Jan 23, 2024
15 checks passed
@Bunn Bunn deleted the bunn/dbp/agent-fix branch January 23, 2024 17:12
samsymons added a commit that referenced this pull request Jan 25, 2024
# By Alexey Martemyanov (11) and others
# Via Dominik Kapusta (3) and others
* main: (56 commits)
  Adds info about whether the login items are actually running (#2122)
  Remove connection status awaiter. (#2121)
  Launch VPN Location screen from status view  (#2077)
  Display different copy in alerts when a flag is enabled in a newer version (#2114)
  Remove delayed webView attaching to main window (#2116)
  Always start onboarding from the beginning when shown (#2117)
  Update spacing between UI components in settings (#2109)
  Show history menu on cmd+y shortcut (#2112)
  Bump version to 1.72.0 (112)
  Update embedded files
  fix WebView value validation popover crash when WebView not in hierarchy (#2108)
  Fix agent startup (#2107)
  Support brand UA (#2085)
  fix Safari favicons import (#2106)
  Add page attributes to print settings (#2104)
  Bump version to 1.72.0 (111)
  Alex/disable onboarding existing users (#2105)
  Bump version to 1.71.2 (110)
  Fixes a multithreading issue in `NetworkConnectionTester` (BSK) (#2102)
  Avoid sending latency immediately after the monitor starts (#2103)
  ...

# Conflicts:
#	Configuration/BuildNumber.xcconfig
#	DuckDuckGo/VPNFeedbackForm/VPNMetadataCollector.swift
#	UnitTests/VPNFeedbackForm/VPNFeedbackFormViewModelTests.swift
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