Skip to content

Bug 2040784 - Introduce AIFeatureState to handle the "Unknown" states… - #274

Closed
MatthewTighe wants to merge 1 commit into
mozilla-firefox:autolandfrom
MatthewTighe:matt-steals-seguns-patch
Closed

Bug 2040784 - Introduce AIFeatureState to handle the "Unknown" states…#274
MatthewTighe wants to merge 1 commit into
mozilla-firefox:autolandfrom
MatthewTighe:matt-steals-seguns-patch

Conversation

@MatthewTighe

Copy link
Copy Markdown
Contributor

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing inMemory factories.

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not.
This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.
@github-actions

Copy link
Copy Markdown
Contributor

Warning

The base branch is currently set to main. Please Edit this PR and set the base to autoland.

@github-actions

Copy link
Copy Markdown
Contributor

View this pull request in Lando to land it once approved.

@boek boek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me. Is it easy to check this fix in the s2s case to verify the CFR isn't shown?

@MatthewTighe
MatthewTighe changed the base branch from main to autoland May 29, 2026 21:19
lando-worker Bot pushed a commit that referenced this pull request May 30, 2026
…… r=boek

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing `inMemory` factories.

Pull request: #274
@lando-worker

lando-worker Bot commented May 30, 2026

Copy link
Copy Markdown

Pull request closed by commit 26c1fbc

@lando-worker lando-worker Bot closed this May 30, 2026
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jun 1, 2026
…… r=boek

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing `inMemory` factories.

Pull request: mozilla-firefox/firefox#274

UltraBlame original commit: 2f6f9d8fa5263e68eb27d229e5ace31c90a0166f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jun 1, 2026
…… r=boek

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing `inMemory` factories.

Pull request: mozilla-firefox/firefox#274

UltraBlame original commit: 2f6f9d8fa5263e68eb27d229e5ace31c90a0166f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jun 1, 2026
…… r=boek

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing `inMemory` factories.

Pull request: mozilla-firefox/firefox#274

UltraBlame original commit: 2f6f9d8fa5263e68eb27d229e5ace31c90a0166f
akliuxingyuan pushed a commit to akliuxingyuan/android-components that referenced this pull request Jul 25, 2026
…… r=boek

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing `inMemory` factories.

Pull request: mozilla-firefox/firefox#274
akliuxingyuan pushed a commit to fork-maintainers/iceraven-browser that referenced this pull request Jul 25, 2026
…… r=boek

… of AI controls

This fixes the issue in bug 2040784 by ensuring that we have an unknown state where we don't know yet if the feature is enabled or not. This becomes important when we need to know if the user turned a feature on explicitly, or it was on by default, or they just never never interacted with the feature.

I commandeered this from Segun. Only downstream changes from me were to swap to the IO dispatcher while collecting the storage flow in the registry and a cosmetic change to remove the text fixtures he introduced in favor of the existing `inMemory` factories.

Pull request: mozilla-firefox/firefox#274
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.

3 participants