Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Conversation

@mallexxx
Copy link
Collaborator

@mallexxx mallexxx commented Aug 24, 2023

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1199230911884351/1205322007351871/f
iOS PR: not needed
macOS PR: duckduckgo/macos-browser#1538
What kind of version bump will this require?: Patch

Description:

  • Fixes async onProvisionalNavigation leaking completionBlocks on Navigation Task cancellation
  • Added more debug info to DistributedNavigationDelegate.checkLongDecisionMaking

Steps to test this PR:

  1. Set random Integration Tests execution order in Xcode scheme->Tests->Integration Tests Options
  2. Run the Integration Tests, validate there‘s no checkLongDecisionMaking assertion

/// continues until first non-nil Navigation Responder decision and returned to the `completion` callback
func makeAsyncDecision<T>(boundToLifetimeOf webView: WKWebView,
func makeAsyncDecision<T>(for actionDebugInfo: some CustomDebugStringConvertible,
boundToLifetimeOf webView: WKWebView,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Didn't we agree to disable this kind of warning?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As I remember we agreed to make it less intrusive (to stop debugger and not cause assertion) and provide more info. This won't affect CI runners as there's no debugger but may help detecting some issues

Copy link
Collaborator

@bwaresiak bwaresiak left a comment

Choose a reason for hiding this comment

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

LGTM!

@mallexxx mallexxx merged commit 502e54a into main Aug 29, 2023
@mallexxx mallexxx deleted the alex/improve-async-decision-debug branch August 29, 2023 04:02
samsymons added a commit that referenced this pull request Aug 30, 2023
* main:
  Fix auth token issues (#484)
  Enable nightly CodeQL scans (#481)
  add assertions to AdClickAttributionLogic, improve debug checks (#476)
  Set unencrypted password for deduplicated Credentials object (#480)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants