Repository navigation
Six bug fixes, all from first-time contributors. Demo output is unchanged in every chapter.
Fixes
- Ch 05, URL shortener:
shorten()no longer loops forever once every random code of a length is taken; it raisesLookupError(#11, fixes #8). Thanks @techkayacodes. - Ch 06, message queue:
delete("")no longer removes a message nobody received (#12, fixes #7). Thanks @techkayacodes. - Ch 07, circuit breaker: a cancelled half-open trial call no longer leaves the breaker stuck half-open forever (#17, fixes #13). Thanks @cloudgpuapp.
- Ch 09, distributed lock:
renew()rejects a zero or negative ttl, likeacquire()(#14, fixes #10). Thanks @ywxy12138. - Ch 14, event sourcing:
Account.loadgives the right state when the snapshot is newer than the requested version (#15, fixes #6). Thanks @jamesyshd19-cmyk. - Ch 24, distributed tracing:
critical_path()no longer hangs on a span that takes 0 ms (#16, fixes #9). Thanks @cloudgpuapp.
Every fix comes with a regression test: 272 tests now, up from 264.
Want to contribute?
There are open issues labelled good first issue, each with a hint and the checks to run.