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

Prevent queued operations from cancelling manual scans #2719

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

Bunn
Copy link
Collaborator

@Bunn Bunn commented Apr 29, 2024

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

Description:
Prevent multiple scans from running at the same time

Steps to test this PR:

  1. Start from scratch
  2. Run scan operations
  3. Check the debugger to see if only the manual operation starts
  4. Check that after this manual operation finishes, the scheduler starts

Internal references:

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

@Bunn Bunn marked this pull request as ready for review April 29, 2024 18:49
@Bunn Bunn requested a review from THISISDINOSAUR April 29, 2024 18:49
Copy link
Contributor

@THISISDINOSAUR THISISDINOSAUR left a comment

Choose a reason for hiding this comment

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

I don't see how it could be related to this PR, but when testing the UI got stuck on 48 out of 53, despite scans actually completed (and me getting the notification)

@Bunn
Copy link
Collaborator Author

Bunn commented Apr 30, 2024

I don't see how it could be related to this PR, but when testing the UI got stuck on 48 out of 53, despite scans actually completed (and me getting the notification)

I don't see how they can be related since you mentioned the completed callback being correctly called. This is probably something with either the UI updating logic or updating the operation data itself.

@Bunn Bunn changed the base branch from main to release/1.86.0 April 30, 2024 19:42
@Bunn Bunn merged commit 8354f79 into release/1.86.0 Apr 30, 2024
26 checks passed
@Bunn Bunn deleted the bunn/dbp/manual-scan-preference branch April 30, 2024 20:17
samsymons added a commit that referenced this pull request May 1, 2024
# By Fernando Bunn (3) and others
# Via GitHub
* main:
  Revert "Use NotLocalizedString on DBP error screen copy" (#2731)
  Use NotLocalizedString on DBP error screen copy
  Bump version to 1.86.0 (180)
  Bump version to 1.86.0 (179)
  Update embedded files
  Tentative fix for tab crashes (#2727)
  macOS: Set Error Reporter on All SecureVault Initializations  (#2717)
  Bump version to 1.86.0 (178)
  Alessandro/create subtask on pr requested (#2692)
  Prevent queued operations from cancelling manual scans (#2719)
  Fix Tab not closed for redrected download (#2715)
  Egress Server Failure Detection & Recovery (#2657)

# 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