`_remote_debugging`: Degrade gracefully reads instead of failing the whole read completely
まだ誰も着手していません。
- 主要言語
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
_remote_debugging の実装から始め、discuss.python.org と issue #151022 および #151036 のコンテキストを確認します。リンクされている PR #154195 を調べ、すでに進行中の作業を理解し、影響を受ける制限とテストを特定します。回復可能な読み取り制限によってサンプル全体が破棄されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100