getsentry / getsentry/sentry-javascript

Node stack filenames should be relative to app root

Ouverte
#9,072 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Improvement Meta: Breaking
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
515

Description

### Problem Statement

Currently, the Node SDK captures absolute paths for stack trace filenames.

This has a number of disadvantages:
- Change of hosting config or provider might change the paths
- Paths differ by OS/username

These differences can impact error grouping.

### Solution Brainstorm

For the Electron SDK the OS/username in paths was a major issue so we already cater for this by normalising paths to the application root.

We should do something similar for the Node SDK but this will be a breaking change since it would affect customer error grouping.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.