Fix err shadowing bug that caused panics for unreachable repos#187
Fix err shadowing bug that caused panics for unreachable repos#187sdboyer merged 1 commit intosdboyer:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #187 +/- ##
==========================================
+ Coverage 78.96% 79.15% +0.18%
==========================================
Files 24 24
Lines 3804 3804
==========================================
+ Hits 3004 3011 +7
+ Misses 600 596 -4
+ Partials 200 197 -3
Continue to review full report at Codecov.
|
|
Was the panic the same as what was seen in golang/dep#250 ? |
|
It looks a little different, I'm afraid - I get it in |
|
Looking a little closer, actually, it looks like it might have the same root cause? |
|
It's likely still the same problem; the problem is a Again, great catch 😄 |
Fix err shadowing bug that caused panics for unreachable repos
This was a little tricky: my company has a private git server hidden behind a VPN. I ran
dep statuswhile not on the VPN, anddeppanicked and crashed when it tried to look up the version of one of those private repos. This seemed weird!It turns out this comes down to an error shadowing bug, deep in the *SourceMgr's futures. The test here panics on master, but passes with this revision.