Try to match both original and compiled path when determining instrumentation eligibility
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- devtools
调研方向
从 src/transform.ts 中 issue 所链接的 source map 处理和路径匹配例外入手,然后查看 #181 中的相关上下文。检查如何将 appmap.yml 中的包路径与原始路径和编译后路径进行比较。当任一路径匹配时(包括 source map 处理存在问题的情况),instrumentation 都符合条件,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Currently, in the presence of source maps, only the original source path (with some exceptions) is matched with the package paths configured in appmap.yml.
This can be too restrictive; if trying to trace third-party code, for example, the user usually doesn't care about the original source directory structure but wants to be able to specify the compiled code path in appmap.yml and have it instrumented (even when there is a problem with handling the sourcemap or the map itself, cf. #181).
My intuition is trying to match BOTH the original and transpiled paths and instrumenting if either does match would be more robust and less surprising.
- 主要语言
- TypeScript
- 星标
- 13
- 派生
- 6
- 平均合并
- 4 天 14 小时
- 30 天内合并 PR
- 5
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getappmap/appmap-node 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
getappmap/appmap-node#183 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
getappmap/appmap-node#181 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
getappmap/appmap-node#180 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
getappmap/appmap-node#179 ·
维护者通常 1 天内回复
-
Support TypeORM未关闭
难度 5/5 一周以上 新手友好度 20/100
getappmap/appmap-node#178 ·
维护者通常 1 天内回复
查看 getappmap/appmap-node 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/rocketmq-dashboard#6872 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
fab-geocommuns/RNB-site#539 ·
维护者通常 2 天内回复
-
Guest multiview tile label leaks raw virtual-source-id "Whip" instead of the guest name / slot label未关闭
难度 2/5 1-3 小时 新手友好度 62/100
Eyevinn/open-live-studio#211 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 半天 新手友好度 72/100
sujithputta02/Esapay#13 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
ehmpathy/rhachet-roles-bhuild#468 ·
维护者通常 1 天内回复