• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase / 42667484518
87%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 05:50PM UTC
Jobs 1
Files 194
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 05:43PM UTC coverage: 87.162% (-0.04%) from 87.198%
42667484518

push

github

web-flow
fix(studio): apply Studio error policy on the TanStack server (#53174)

Part of FE-4772. Follow-up to #53059.

## Problem

#53059 made `beforeSend` drop `UserSqlError` and redact
`StudioSqlError`, and added that hook to `sentry.server.config.ts`. Only
the Next build loads that file. Production runs the TanStack Start
build, which initializes server Sentry in `instrument.server.mjs` with
no `beforeSend`.

## Solution

- **`buildSentryServerOptions`** (`lib/sentry-server-options.ts`) holds
the shared server options: DSN, environment, trace sample rate,
`ignoreErrors`, and `beforeSend` calling `applyStudioErrorPolicy`. It
mirrors `buildSentryClientOptions` on the client.
- **All three server inits use it:** `sentry.server.config.ts` (Next,
Node), `sentry.edge.config.ts` (Next, edge), and `instrument.server.mjs`
(TanStack, Nitro). The TanStack init passes the commit SHA as `release`.
Next leaves it unset so the release from `withSentryConfig` still
applies.
- **The edge runtime now gets `beforeSend`** and the full `ignoreErrors`
list, which it didn't have before.
- `instrument.server.mjs` imports the builder by relative path. Studio's
tsconfig doesn't include `.mjs` files, so the `@/` alias may not resolve
there.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

2103 of 2478 branches covered (84.87%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

2887 of 3247 relevant lines covered (88.91%)

200.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
87.5
-12.5% apps/studio/lib/telemetry/use-track-funnel-error.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 studio-tests 42667484518.1 09 Nov 2026 05:50PM UTC 776
38.72
GitHub Action Run
Source Files on build 42667484518
  • Tree
  • List 194
  • Changed 160
  • Source Changed 0
  • Coverage Changed 160
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42667484518
  • 5b098066 on github
  • Prev Build on master (#42655425768)
  • Next Build on master (#42687769335)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc