Skip to content

Commit ba0d1c4

Browse files
authored
Merge branch 'v8' into sig/fix-types-backport
2 parents 45cdbd8 + 9527563 commit ba0d1c4

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13+
Work in this release was contributed by @conor-ob. Thank you for your contribution!
14+
1315
## 8.45.1
1416

1517
- fix(feedback): Return when the `sendFeedback` promise resolves ([#14683](https://github.com/getsentry/sentry-javascript/pull/14683))

packages/node/src/integrations/anr/worker.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,13 @@ function applyDebugMeta(event: Event): void {
104104

105105
if (filenameToDebugId.size > 0) {
106106
const images: DebugImage[] = [];
107-
for (const [filename, debugId] of filenameToDebugId.entries()) {
107+
for (const [filename, debug_id] of filenameToDebugId.entries()) {
108+
const code_file = options.appRootPath ? normalizeUrlToBase(filename, options.appRootPath) : filename;
109+
108110
images.push({
109111
type: 'sourcemap',
110-
code_file: filename,
111-
debug_id: debugId,
112+
code_file,
113+
debug_id,
112114
});
113115
}
114116
event.debug_meta = { images };

packages/node/src/sdk/api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ export function getSentryRelease(fallback?: string): string | undefined {
6868
process.env['HEROKU_TEST_RUN_COMMIT_VERSION'] ||
6969
// Heroku #2 https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases
7070
process.env['HEROKU_SLUG_COMMIT'] ||
71+
// Railway - https://docs.railway.app/reference/variables#git-variables
72+
process.env['RAILWAY_GIT_COMMIT_SHA'] ||
7173
// Render - https://render.com/docs/environment-variables
7274
process.env['RENDER_GIT_COMMIT'] ||
7375
// Semaphore CI - https://docs.semaphoreci.com/ci-cd-environment/environment-variables

packages/vercel-edge/src/sdk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ export function getSentryRelease(fallback?: string): string | undefined {
268268
process.env['HEROKU_TEST_RUN_COMMIT_VERSION'] ||
269269
// Heroku #2 https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases
270270
process.env['HEROKU_SLUG_COMMIT'] ||
271+
// Railway - https://docs.railway.app/reference/variables#git-variables
272+
process.env['RAILWAY_GIT_COMMIT_SHA'] ||
271273
// Render - https://render.com/docs/environment-variables
272274
process.env['RENDER_GIT_COMMIT'] ||
273275
// Semaphore CI - https://docs.semaphoreci.com/ci-cd-environment/environment-variables

0 commit comments

Comments
 (0)