`_remote_debugging`: Degrade gracefully reads instead of failing the whole read completely
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con l’implementazione di _remote_debugging e analizza il contesto in discuss.python.org e nelle issue #151022 e #151036. Esamina la PR collegata #154195 per comprendere il lavoro già in corso e identificare i limiti e i test interessati; il lavoro è completato quando i limiti di lettura recuperabili non scartano più l’intero campione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100