getappmap / getappmap/appmap-python
django integration bypassed when config is missing
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- Python
- 星标
- 104
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
描述
When APPMAP=true, but the config file is missing, the django middleware forwards all requests to the app. This means that requests for /_appmap/record will fail, without giving a clear indication of the problem.
It would be better if the requests for /_appmap/record failed with an error (e.g. 500), to help the user understand the problem
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
定位处理 APPMAP 和 /_appmap/record 请求的 Django 中间件,然后在 APPMAP=true 且没有配置文件的情况下复现该行为。完成标准是,对 /_appmap/record 的请求返回明确的错误,而不是被转发到应用程序。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- django, python
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100