Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 6 additions & 7 deletions apps/cli-docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,13 @@ export default defineConfig({
project: "cli-website",
org: "sentry",
environment: process.env.PUBLIC_SENTRY_ENVIRONMENT ?? "development",
// Note: @sentry/astro v10 does not support the `release` build-time
// option (todo(v11) in the source). Release is set in Sentry.init()
// via PUBLIC_SENTRY_RELEASE / SENTRY_RELEASE env vars instead.
// Release is set in Sentry.init() via PUBLIC_SENTRY_RELEASE /
// SENTRY_RELEASE env vars.
//
// Disable the plugin's sourcemap upload — it pulls in @sentry/cli
// (20+ MB binary download). We use our own CLI post-build instead
// (see CI workflow: `sentry sourcemap inject` + `sentry sourcemap upload`).
sourceMapsUploadOptions: { enabled: false },
// Disable the plugin's sourcemap upload. We use our own CLI post-build
// instead (see CI workflow: `sentry sourcemap inject` +
// `sentry sourcemap upload`).
sourcemaps: { disable: true },
}),
starlight({
title: "Sentry CLI",
Expand Down
2 changes: 1 addition & 1 deletion apps/cli-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@astrojs/mdx": "^7.0.8",
"@astrojs/starlight": "^0.41.5",
"@sentry/astro": "^10.38.0",
"@sentry/astro": "^11.12.0",
"@sentry/starlight-theme": "^0.8.0",
"@vercel/analytics": "^2.0.1",
"@vercel/speed-insights": "^2.0.0",
Expand Down
1 change: 0 additions & 1 deletion apps/cli-docs/sentry.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Sentry.init({
dsn: "https://2aca5fe97c71868bc3aa7fb48620dc39@o1.ingest.us.sentry.io/4510798755856384",
environment: import.meta.env.PUBLIC_SENTRY_ENVIRONMENT ?? "development",
release: import.meta.env.PUBLIC_SENTRY_RELEASE || undefined,
sendDefaultPii: true,
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
Expand Down
1 change: 0 additions & 1 deletion apps/cli-docs/sentry.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Sentry.init({
dsn: "https://2aca5fe97c71868bc3aa7fb48620dc39@o1.ingest.us.sentry.io/4510798755856384",
environment: process.env.PUBLIC_SENTRY_ENVIRONMENT ?? "development",
release: process.env.SENTRY_RELEASE || undefined,
sendDefaultPii: true,
enableLogs: true,
tracesSampleRate: 1.0,
// Enable in all environments (including development)
Expand Down
2 changes: 1 addition & 1 deletion apps/docs-mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@mastra/core": "^1.63.2",
"@modelcontextprotocol/sdk": "^1.31.0",
"@openrouter/ai-sdk-provider": "^1.5.4",
"@sentry/cloudflare": "^10.62.0",
"@sentry/cloudflare": "catalog:",
"@sentry/toolkit-core": "workspace:*",
"ai": "^5.0.0",
"hono": "^4.13.11",
Expand Down
1 change: 0 additions & 1 deletion apps/docs-mcp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ app.post("/internal/docs", async (c) => {
export default Sentry.withSentry(
(_env: Env) => ({
dsn: "https://05c618aef6e0489b8c9d07e0d65664ce@o1.ingest.us.sentry.io/4511189954199552",
sendDefaultPii: true,
tracesSampleRate: 1.0,
}),
app,
Expand Down
Loading
Loading