`_remote_debugging`: Degrade gracefully reads instead of failing the whole read completely
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
The implicit problem found in https://discuss.python.org/t/tachyon-97-error-rate/107619 and, subsequently, in #151022 and #151036 is that we're raising exceptions and discarding the whole sample, when we could degrade gracefully and keep most of the information.
There are are many limits from which we can recover gracefully, by truncating the data. In particular: funcnames, filenames, locations, but also some temporary reads from the target and other walking limits.
Raising exceptions causes very high error rates, when it doesn't really need to be the case. Also, we really don't know what might be the limits found in the real apps.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
- gh-154195
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 _remote_debugging 的實作開始,並檢視 discuss.python.org 以及 issue #151022 和 #151036 中的內容。檢查連結的 PR #154195,以了解已在進行的工作,並找出受影響的限制與測試;完成的標準是可恢復的讀取限制不再丟棄整個樣本。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100