Skip to content
Closed
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
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,7 @@ jobs:
REACT_APP_E2E_TEST_DSN: 'https://username@domain/123'
E2E_TEST_SENTRY_ORG_SLUG: 'sentry-javascript-sdks'
E2E_TEST_SENTRY_PROJECT: 'sentry-javascript-e2e-tests'
SENTRY_CLI_NO_TELEMETRY: '1'
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.job_build.outputs.e2e-matrix) }}
Expand Down Expand Up @@ -1173,6 +1174,7 @@ jobs:
REACT_APP_E2E_TEST_DSN: ${{ secrets.E2E_TEST_DSN }}
E2E_TEST_SENTRY_ORG_SLUG: 'sentry-javascript-sdks'
E2E_TEST_SENTRY_PROJECT: 'sentry-javascript-e2e-tests'
SENTRY_CLI_NO_TELEMETRY: '1'
E2E_OPENROUTER_API_KEY: ${{ secrets.E2E_OPENROUTER_API_KEY }}
# Used by test apps that deploy a real Cloudflare Worker, e.g. cloudflare-workers-send-to-sentry
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions dev-packages/e2e-tests/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ async function run(): Promise<void> {
const env = {
...process.env,
...envVarsToInject,
SENTRY_CLI_NO_TELEMETRY: '1',
// Volta applies a project's node pin only to commands it manages, and it
// manages pnpm only when this is set. Without it, the `volta run pnpm`
// calls below build each app on whatever node is already on PATH rather
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = withSentryConfig(nextConfig, {
project: 'test-project',
release: {
name: 'test-release',
setCommits: false,
},
sourcemaps: {
deleteSourcemapsAfterUpload: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineNuxtConfig({
authToken: 'fake-auth-token',
org: 'test-org',
project: 'test-project',
release: { name: 'test-release' },
release: { name: 'test-release', setCommits: false },
// Dropping `filesToDeleteAfterUpload` is the whole point of the "kept" variant: Sentry should
// upload the maps and leave the emitted files alone.
sourcemaps: keepClientSourceMaps ? {} : { filesToDeleteAfterUpload: ['.output/public/**/*.map'] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const sentryConfig: SentryReactRouterBuildOptions = {
sentryUrl: 'http://localhost:3032',
release: {
name: 'test-release',
setCommits: false,
},
sourcemaps: {
// The maps have to survive until `sentryOnBuildEnd` uploads them, so this asserts the option is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default defineConfig({
sentryUrl: 'http://localhost:3033',
release: {
name: 'test-release',
setCommits: false,
},
debug: true,
}),
Expand Down
Loading