Skip to content

style(oxfmt): Collapse object literals that fit on one line - #131758

Merged
TkDodo merged 11 commits into
masterfrom
tkdodo/tighten-oxfmt-formatting
Nov 20, 2026
Merged

TkDodo merged 11 commits into
masterfrom
tkdodo/tighten-oxfmt-formatting

Conversation

@TkDodo

@TkDodo TkDodo commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Set oxfmt's objectWrap to collapse to get uniform formatting

@github-actions github-actions Bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-l9ehvrp9w.sentry.dev

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

✅ no issues found

@nsdeschenes nsdeschenes 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.

LGTM 🚀

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

decision-model-linter

audit

static/app/views/settings/account/accountEmails.tsx

  • warn changesAccountIdentityWithoutRecord = TRUE (0.76): Email changes, identity unlinks, and account merges should be logged with capture_security_activity so the user is notified. This file makes one of these changes, but no such call was found in it. Ignore this if a function the file calls already logs the change.

static/app/views/settings/project/projectKeys/list/index.tsx

  • warn issuesOrRevokesTokenWithoutRecord = TRUE (0.73): Token changes should be logged with create_audit_entry for org tokens or capture_security_activity for personal tokens. This file creates, revokes, or rescopes a token, but neither call was found in it. Ignore this if a function the file calls already logs the change.

frontend

static/app/components/discover/transactionsList.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/events/interfaces/performance/agentRun/eventAgentRun.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.88): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/events/interfaces/performance/tracePreview.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.75): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/events/metrics/metricsSection.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/events/ourlogs/ourlogsSection.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/feedback/feedbackSearch.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.89): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/issues/groupList.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/onboarding/platformOptionDropdown.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/onboarding/platformOptionsControl.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.91): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/profiling/profileEventsTable.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.85): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/resultGrid.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.81): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/components/updatedEmptyState.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.92): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/utils/discover/fieldRenderers.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.85): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/utils/performance/contexts/metricsEnhancedSetting.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.92): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/utils/replays/hooks/useReplayOnboarding.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.89): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/dashboards/detail.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.88): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/dashboards/utils.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.73): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/dashboards/widgetLegendSelectionState.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/discover/homepage.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.79): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/discover/landing.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/discover/queryList.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/discover/table/quickContext/actionDropdown.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/components/attributeBreakdowns/floatingTrigger.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.82): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/conversations/onboarding.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/logs/logsOnboarding.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/metrics/metricsOnboarding.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.95): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/profiling/content.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.95): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/profiling/continuousProfileProvider.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.83): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/profiling/landing/functionTrendsWidget.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/profiling/landing/landingWidgetSelector.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/profiling/landing/slowestFunctionsWidget.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/releases/detail/commitsAndFiles/repositorySwitcher.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.95): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/releases/detail/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.75): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/releases/detail/overview/releaseComparisonChart/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/releases/list/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/releases/utils/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.80): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/replays/detail/ai/chapterList.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.84): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/replays/detail/header/replayDetailsEntityHeader.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.78): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/explore/savedQueries/savedQueriesTable.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/inbox/inboxItemList.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.80): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/insights/browser/webVitals/components/performanceScoreRingWithTooltips.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.73): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/insights/pages/domainViewHeader.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.76): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/issueDetails/activitySection/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.76): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/issueDetails/hooks/useIssueActivityDrawer.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/issueDetails/hooks/useMergedIssuesDrawer.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.88): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/issueDetails/hooks/useSimilarIssuesDrawer.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/issueList/overview.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.97): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/organizationStats/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.73): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/organizationStats/teamInsights/controls.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.86): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/eap/segmentSpansTable.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.95): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/landing/utils.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.91): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/landing/widgets/transforms/transformDiscoverToList.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.75): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/traceDetails/traceDrawer/details/styles.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/traceDetails/traceWaterfall.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.82): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/transactionSummary/transactionEvents/eapSampledEventsTab.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/transactionSummary/transactionEvents/eventsTable.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/transactionSummary/transactionEvents/operationSort.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.73): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/performance/transactionSummary/transactionOverview/content.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.93): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/projectDetail/projectCharts.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.96): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/projectDetail/projectDetail.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.94): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/projectDetail/projectLatestReleases.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.83): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/settings/account/notifications/notificationSettingsByEntity.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.85): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/settings/account/notifications/weeklyReportProjectExclusions.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.81): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

static/app/views/settings/projectDebugFiles/sources/customRepositories/index.tsx

  • warn usesUrlQueryParamWithoutNuqs = TRUE (0.95): URL query params should be read and updated through nuqs, with useQueryState or useQueryStates in React or createLoader elsewhere, and a parser (for repeated-key lists, parseAsStringArray). Page filters should come from usePageFilters. This file reads or updates a query param through location.query or another API.

voice

static/app/components/acl/featureDisabled.tsx

  • warn miscapitalizesProductName = TRUE (0.67): Use the canonical spelling for this named Sentry product or feature. Leave generic descriptions lowercase and preserve package names and identifiers.

decision-model-linter: 25723 calls on 4360 files, 57,548,867 input tokens, $2.4, model typesafe/jev-1.13-20260917

azulus added a commit that referenced this pull request Nov 19, 2026
…131821)

Decision model lint makes several model calls per changed file (one per
suite), so mass rewrites cost a lot. #131758 (oxfmt
sweep, 4,795 files) is the likely reason the OpenRouter key hit its
spend limit today; @lcian spotted it.

The `lint` job now runs only when the PR changes at most 200 files and
adds at most 10,000 lines. The check comes from the `pull_request` event
payload, so a skipped PR never checks out the repo or installs packages.
Only additions count, because the linter lints added, changed, and
renamed files (`--diff-filter=ACMR`) and never lints deleted ones.

Thresholds come from the 6,388 PRs merged into this repo from 2026-08-20
to 2026-11-19:

| | p99 | p99.9 | max |
|---|---|---|---|
| changed files | 51 | 240 | 3,256 |
| added lines | 1,662 | 4,664 | 40,991 |

Together the two limits skip 8 of those PRs (0.13%): 7 over 200 files
(codemods and repo-wide sweeps) and 1 with 3 files and about 16.7k added
lines.

A skipped job counts as passing for required checks, so these PRs are
not blocked. An earlier lint comment on the PR stays unchanged if the PR
later grows past a limit.

Open decision: the limits are hardcoded in this workflow.
getsentry/sentry-php and getsentry/seer run the same linter, so a
long-term home could be a file or call limit in
getsentry/decision-model-linter itself.

<!-- junior-request-attribution:start -->
via @azulus.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0BPBEYUC59%3A1795098182.885889 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0BPBEYUC59%3A1795098182.885889)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0BPBEYUC59%3A1795098182.885889/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Stanley <[email protected]>
TkDodo added a commit that referenced this pull request Nov 19, 2026
Decision model lint checks every changed file. It passes the PR comment
body to `gh` through a temporary file. This avoids the operating system
argument limit that caused the failure on #131758.

For reports over 60,000 bytes, the PR comment shows an excerpt and links
to the workflow run. The job summary shows the full report up to
GitHub's 1 MiB limit. Above that limit, the excerpt remains available in
the PR comment, and GitHub adds an annotation without changing the job
result.

<!-- junior-request-attribution:start -->
via @TkDodo.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3ACTJL7358X%3A1791466713.888049 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3ACTJL7358X%3A1791466713.888049)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3ACTJL7358X%3A1791466713.888049/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <[email protected]>
Co-authored-by: TkDodo <[email protected]>
@TkDodo
TkDodo marked this pull request as ready for review November 20, 2026 06:04
@TkDodo
TkDodo requested review from a team as code owners November 20, 2026 06:04
@TkDodo
TkDodo requested review from a team as code owners November 20, 2026 06:04
@TkDodo
TkDodo merged commit 7a8c7b6 into master Nov 20, 2026
116 of 117 checks passed
@TkDodo
TkDodo deleted the tkdodo/tighten-oxfmt-formatting branch November 20, 2026 06:04
@cursor

cursor Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

This PR is too large for Bugbot to review. It changes 35,097 lines and 3,399,911 characters. Split the change into smaller pull requests to get a review.

vaind added a commit that referenced this pull request Nov 20, 2026
On every frontend pull request, the `pre-commit lint` workflow runs
`pnpm run lint:suppressions --prune` and the bot commits the result as
"apply pre-commit fixes". Since #131758 set oxfmt's `objectWrap` to
`collapse`, that commit expands every `{"count": N}` in the three
`oxlint-suppressions.json` files onto three lines, with identical JSON
content. The next run's `format` hook collapses them again and fails,
and restoring the files only triggers the bot again (seen on #131502).

The prune serialized budgets with `JSON.stringify(_, null, 2)`. We now
pipe each written asset through the oxfmt CLI with `--stdin-filepath`,
so it picks up the same `.oxfmtrc.json` and ignore patterns as the
`format` hook. Pruning master now leaves the files byte-identical.
Excluding the files from oxfmt would also stop the loop, but the next
prune would re-expand them and they would become the only unformatted
JSON in the repo.

Budget comparisons and the temporary root asset still use the plain
`JSON.stringify` output, because only committed files need the hook's
format.
gggritso added a commit that referenced this pull request Nov 23, 2026
…132232)

Reformats
`static/app/utils/timeSeries/timeSeriesItemConfidence.spec.tsx` to match
the oxfmt rule from #131758, which collapses object
literals that fit on one line.

#131987 was branched before that rule landed and merged
with the old formatting, so master's format hook flags this file.
Formatting only, no behavior change.

<!-- junior-request-attribution:start -->
via **George Gritsouk**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC1B4LB39D%3A1795463754.949099 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC1B4LB39D%3A1795463754.949099)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC1B4LB39D%3A1795463754.949099/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: George Gritsouk <[email protected]>
msonnb added a commit that referenced this pull request Nov 27, 2026
Pages enforcing Trusted Types (`require-trusted-types-for 'script'`)
block the Loader from setting the `src` of the SDK script. The Loader
now creates a `sentry-loader` policy that only ever returns the bundle
URL rendered by the backend.

It's separate from the SDK's `sentry-sdk` policy
(getsentry/sentry-javascript#26764) because it has to exist before the
SDK loads, and sharing a name would require `'allow-duplicates'`. Pages
with a `trusted-types` directive need to add `sentry-loader`. If it
isn't allowed, the Loader falls back to the plain URL, as before.

The object literal changes in `js-sdk-loader.js.tmpl` come from
regenerating the template after #131758.

Refs getsentry/sentry-javascript#24744

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — 7740dc7f Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants