Merged
Conversation
8dd8822 to
9c8734c
Compare
duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/RealDuckChat.kt
Show resolved
Hide resolved
duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/ui/DuckChatWebViewFragment.kt
Outdated
Show resolved
Hide resolved
duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/ui/DuckChatWebViewFragment.kt
Outdated
Show resolved
Hide resolved
duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/RealDuckChat.kt
Outdated
Show resolved
Hide resolved
joshliebe
reviewed
Feb 13, 2026
| val url = appendParameters(parameters, duckChatLink) | ||
| appCoroutineScope.launch(dispatchers.io()) { | ||
| isStandaloneMigrationCompleted() | ||
| } |
Contributor
There was a problem hiding this comment.
What does this do? It doesn’t use the returned value
Collaborator
There was a problem hiding this comment.
I think this should be removed
Contributor
Author
There was a problem hiding this comment.
yes, cleaning that up
joshliebe
approved these changes
Feb 13, 2026
Contributor
joshliebe
left a comment
There was a problem hiding this comment.
LGTM, just unsure what this is supposed to do: #7732 (comment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Task/Issue URL: https://app.asana.com/1/137249556945/task/1213119751827683
Description
This PR adds a killswitch for the Contextual mode, and ensures that Contextual can take third party cookies
Note
Medium Risk
Changes cookie/third-party-cookie behavior and contextual-mode gating, which can affect privacy expectations and session behavior if misconfigured or if cookie detection is incorrect.
Overview
Adds Duck.ai migration support by detecting a specific DuckDuckGo cookie (
migration_status_dev_01=...) and exposing it viaDuckChat.isStandaloneMigrationCompleted().Contextual mode enablement is updated to be gated by a new remote
contextualModeKillSwitchand can now be enabled either via the existingcontextualModetoggle or by successful standalone migration; both DuckChat WebViews now explicitly enable first- and third-party cookies.Third-party cookie handling is broadened to always allow cookies for
duck.aiandduckduckgo.com, and the auth-cookie exception-list DB delete API is fixed to take aList<String>(with updated tests).Written by Cursor Bugbot for commit 6b2a2bb. This will update automatically on new commits. Configure here.