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

Make sure to apply only relevant (last requested) rules on attribution #1059

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

bwaresiak
Copy link
Collaborator

@bwaresiak bwaresiak commented Nov 4, 2024

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1201037661562251/1206957650592842/f
iOS PR: duckduckgo/iOS#3548
macOS PR: duckduckgo/macos-browser#3514
What kind of version bump will this require?: Patch

Description:

Fix the possible state issue, when it was updated more than once in some cases.

Steps to test this PR:

  1. Put a break when firing adAttributionLogicUnexpectedStateOnRulesCompiled
  2. Search for something, then cmd+click to open multiple background tabs with that AD.
  3. Expected: no error is fired.

Smoke test regular attribution flows.

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

Copy link
Contributor

@jaceklyp jaceklyp left a comment

Choose a reason for hiding this comment

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

LGTM

@bwaresiak bwaresiak merged commit 6319be3 into main Nov 7, 2024
7 checks passed
@bwaresiak bwaresiak deleted the bartek/attribution-fixes branch November 7, 2024 18:09
bwaresiak added a commit to duckduckgo/iOS that referenced this pull request Nov 7, 2024
<!--
Note: This checklist is a reminder of our shared engineering
expectations. Feel free to change it, although assigning a GitHub
reviewer and the items in bold are required.

⚠️ If you're an external contributor, please file an issue first before
working on a PR, as we can't guarantee that we will accept your changes
if they haven't been discussed ahead of time. Thanks!
-->

Task/Issue URL:
https://app.asana.com/0/1201037661562251/1206957650592842/f
Tech Design URL:
CC:

**Description**:

Update the logic to reduce number of debug signals related to valid use
cases.

<!--
If at any point it isn't actively being worked on/ready for
review/otherwise moving forward strongly consider closing it (or not
opening it in the first place). If you decide not to close it, use Draft
PR while work is still in progress or use `DO NOT MERGE` label to
clarify the PRs state and comment with more information.
-->

**Steps to test this PR**:

See [BSK
PR](duckduckgo/BrowserServicesKit#1059).

<!--
Before submitting a PR, please ensure you have tested the combinations
you expect the reviewer to test, then delete configurations you *know*
do not need explicit testing.

Using a simulator where a physical device is unavailable is acceptable.
-->

**Definition of Done (Internal Only)**:

* [ ] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
samsymons added a commit that referenced this pull request Nov 8, 2024
* main:
  Make sure to apply only relevant (last requested) rules on attribution (#1059)
  Update TLD list  (#1018)
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