Skip to content

[v10] Make FeatureFlagsIntegration hub-basedΒ #3837

Closed

Description

@buenaflor

Context

Part of the Major v10 Task Collection.

Problem

addFeatureFlag logic lives on FeatureFlagsIntegration itself; Sentry.addFeatureFlag() reaches into options.integrations to find the integration and mutate scope contexts. This should be hub/scope based instead of functions on the integration.

Expected outcome

  • Feature-flag logic moves onto Hub/Scope.
  • The integration becomes a thin bootstrap.
  • Sentry.addFeatureFlag() is preserved as a stable public facade.

Pointers

  • packages/dart/lib/src/feature_flags_integration.dart:10-45
  • packages/dart/lib/src/sentry.dart:518-536

Breaking change: No, if the public facade is preserved (internal refactor).

Activity

  1. linear-code commented on Jul 1, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions