Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/sentry/features/temporary.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,6 @@ def register_temporary_features(manager: FeatureManager) -> None:
manager.add("organizations:trace-spans-format", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
# Enable feature to use trace admin ui.
manager.add("organizations:trace-view-admin-ui", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
# Enable displaying span links in the attribute tree
manager.add("organizations:trace-view-span-links", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
# Enable feature to use trace tabs layout ui
manager.add("organizations:trace-tabs-ui", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
Comment on lines 442 to 443
Copy link
Contributor

Choose a reason for hiding this comment

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

Potential bug: Removal of a backend feature flag breaks a frontend feature that depends on it.
  • Description: The removal of the organizations:trace-view-span-links feature flag from the backend registration will cause a functional regression. The frontend code still checks for this flag to render the TraceSpanLinks component. As the flag will be removed, the condition will always be false, preventing the component from rendering and thus disabling the span links feature for all users.

  • Suggested fix: Either re-add the feature flag to the backend or remove the conditional check in the frontend code to make the feature permanently available.
    severity: 0.9, confidence: 1.0

Did we get this right? 👍 / 👎 to inform future reviews.

# Enable feature to load new traces onboarding guide.
Expand Down
Loading