Open jonasfj opened 7 months ago
Normally this should have been caught by this block: https://github.com/dart-lang/pub-dev/blob/master/app/lib/search/backend.dart#L104-L110
The only thing so far that may be suspicious is the concurrent processing inside it: if some exception would not have been caught while using Pool
+ Future.wait
...
The other potential cause could be the scheduled microtask in lock.withClaim
:
https://github.com/dart-lang/pub-dev/blob/master/app/lib/task/global_lock.dart#L45
@isoos if we're using
RetryClient
frompackage:http
am I correct in that it won't retry if partial response is received. Like in the case ofClientException
?I'm guessing this error isn't the end of the world, but we probably shouldn't crash due to this. I'm also guessing that this isn't the only place where we have this issue.
Also related I think: