getsentry / getsentry/sentry-javascript
Node stack filenames should be relative to app root
- 主要語言
- TypeScript
- 星號
- 8.7k
- 分支
- 1.8k
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 541
描述
### 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.
貢獻指南
研究方向
首先定位 Node SDK 對堆疊追蹤檔名的處理,並將其與 Electron SDK 現有的 application-root 正規化進行比較。完成的標準是:Node 堆疊追蹤中的檔名是穩定的相對路徑,並且已處理 breaking change 及其對錯誤分組的影響。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- nodejs, typescript
- 領域
- backend
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100