Add an source index to RESP3ParsingError
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by locating RESP3ParsingError and the RESP3 parser code that creates it, then trace how parsing advances through the received ByteBuffer. Add an index that records where parsing failed and check the relevant parser tests. Done means parsing errors expose the failure position so it can be correlated with the buffer.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We should add an index to the RESP3ParsingError, so that we can track where in the buffer parsing failed. This can be immensely helpful when trying to debug RESP3 values with a more complex structure.
Original Issue
Could we add an index here? That way we can correlate the error back to a specific location in the received ByteBuffer. Definitely helps debugging should this ever trigger
Originally posted by @Joannis in https://github.com/swift-server/RediStack/pull/71#discussion_r1253053557
- Lingua principale
- Swift
- Stelle
- 182
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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.
Altre issue di swift-server/RediStack
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
swift-server/RediStack#135 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
swift-server/RediStack#133 · 5 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
swift-server/RediStack#131 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
swift-server/RediStack#129 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
swift-server/RediStack#127 ·
Tutte le issue di swift-server/RediStack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
whysosuresh/capsjump#86 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
bug mobile
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
lognorman20/monaco#6282 ·
-
bug ready for review
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni