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

Update Attribution logic and debug logs #3514

Merged
merged 8 commits into from
Nov 7, 2024
Merged

Conversation

bwaresiak
Copy link
Collaborator

@bwaresiak bwaresiak commented Nov 5, 2024

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

Description:

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

Steps to test this PR:

See the BSK PR for details.

Definition of Done:


Internal references:

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

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 added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Nov 7, 2024
#1059)

<!--
Note: This checklist is a reminder of our shared engineering
expectations.
-->

Please review the release process for BrowserServicesKit
[here](https://app.asana.com/0/1200194497630846/1200837094583426).

**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.

<!--
Tagging instructions
If this PR isn't ready to be merged for whatever reason it should be
marked with the `DO NOT MERGE` label (particularly if it's a draft)
If it's pending Product Review/PFR, please add the `Pending Product
Review` label.

If at any point it isn't actively being worked on/ready for
review/otherwise moving forward (besides the above PR/PFR exception)
strongly consider closing it (or not opening it in the first place). If
you decide not to close it, make sure it's labelled to make it clear the
PRs state and comment with more information.
-->

**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.

<!--
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.
-->

**OS Testing**:

* [ ] iOS 14
* [ ] iOS 15
* [ ] iOS 16
* [ ] macOS 10.15
* [ ] macOS 11
* [ ] macOS 12

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
@bwaresiak bwaresiak merged commit 207c8ba into main Nov 7, 2024
19 checks passed
@bwaresiak bwaresiak deleted the bartek/attribution-fixes branch November 7, 2024 19:02
samsymons added a commit that referenced this pull request Nov 8, 2024
# By Fernando Bunn (2) and others
# Via GitHub
* main:
  Update Attribution logic and debug logs (#3514)
  Update send feedback icon (#3524)
  PIR E2E tests  (#3512)
  Respect new tab order preference (#3525)
  Fix passwords empty screen lock icon in dark mode (#3436)
  Bump version to 1.113.0 (301)
  Translations for AI Chat copy changes  (#3522)
  Restore calling run-publish-dmg-release on tag_release.yml failure (#3520)

# 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