Repository navigation
ref(explore): Break data browsing dependency cycles - #127245
Merged
Merged
Conversation
Move shared definitions into dedicated modules and import them directly. Remove the 22 reported Explore and data browsing circular dependency groups. Fixes CODING-CONVENTIONS-8Z5 Fixes CODING-CONVENTIONS-8Z6 Fixes CODING-CONVENTIONS-905 Fixes CODING-CONVENTIONS-90Q Fixes CODING-CONVENTIONS-90R Fixes CODING-CONVENTIONS-91B Fixes CODING-CONVENTIONS-91H Fixes CODING-CONVENTIONS-91J Fixes CODING-CONVENTIONS-922 Fixes CODING-CONVENTIONS-92G Fixes CODING-CONVENTIONS-92Q Fixes CODING-CONVENTIONS-97H Fixes CODING-CONVENTIONS-9BT Fixes CODING-CONVENTIONS-9G2 Fixes CODING-CONVENTIONS-9GH Fixes CODING-CONVENTIONS-9GM Fixes CODING-CONVENTIONS-9GS Fixes CODING-CONVENTIONS-9GW Fixes CODING-CONVENTIONS-9MD Fixes CODING-CONVENTIONS-9ME Fixes CODING-CONVENTIONS-9MG Fixes CODING-CONVENTIONS-9MH
Contributor
📊 Type Coverage Diff
🔍 7 new type safety issues introduced
Non-null assertions (
Type assertions (
This is informational only and does not block the PR. |
TkDodo
marked this pull request as ready for review
October 14, 2026 10:53
Member
Mine did that too when I last did this kind of thing! So annoying!! |
JoshuaKGoldberg
approved these changes
Oct 14, 2026
Collaborator
Author
@JoshuaKGoldberg should we forbid re-exports with a lint rule and then maybe have exceptions for our barrels (until we get rid of barrels altogether), e.g. by disallowing re-exports in files that are not only re-exports ? |
# Conflicts: # static/app/utils/discover/arrayValue.tsx # static/app/utils/discover/eventView.tsx # static/app/utils/discover/fieldRenderers.tsx # static/app/views/explore/tables/fieldRenderer.tsx
Member
|
💯 yes! |
# Conflicts: # static/app/views/discover/results.tsx
This branch was successfully deployed
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.
Break the circular imports reported by 22 no-circular-dependencies issues across Explore, Discover, trace details, and performance transaction summaries.
This touches more files and codeowners than I wanted to, but my agent tried to work around this with re-exports to keep the import paths the way they are, but that’s worse.
Sentry Issues
Fixes CODING-CONVENTIONS-8Z5
Fixes CODING-CONVENTIONS-8Z6
Fixes CODING-CONVENTIONS-905
Fixes CODING-CONVENTIONS-90Q
Fixes CODING-CONVENTIONS-90R
Fixes CODING-CONVENTIONS-91B
Fixes CODING-CONVENTIONS-91H
Fixes CODING-CONVENTIONS-91J
Fixes CODING-CONVENTIONS-922
Fixes CODING-CONVENTIONS-92G
Fixes CODING-CONVENTIONS-92Q
Fixes CODING-CONVENTIONS-97H
Fixes CODING-CONVENTIONS-9BT
Fixes CODING-CONVENTIONS-9G2
Fixes CODING-CONVENTIONS-9GH
Fixes CODING-CONVENTIONS-9GM
Fixes CODING-CONVENTIONS-9GS
Fixes CODING-CONVENTIONS-9GW
Fixes CODING-CONVENTIONS-9MD
Fixes CODING-CONVENTIONS-9ME
Fixes CODING-CONVENTIONS-9MG
Fixes CODING-CONVENTIONS-9MH