style-analyzer
style-analyzer copied to clipboard
Analyzer fails after lookoutd deployment
Looks like style-analyzer keeps an open connection to lookoutd. When we redeploy lookout it obviously gets broken.
gRPC reestablishes connection automatically but only after the second request to the analyzer. So the first Review/Push request after restart fails.
Please don't fix it yet. We might want to fix it in lookout-sdk (in the connection helper).
~related issue: https://github.com/src-d/charts/issues/128~ My bad. It is unrelated.
huh? How is it related?
@smacker Is it an open connection from lookoutd to analyzer (events channel) or from analyzer to lookoutd (data service)?
From analyzer to lookoutd (data service).
Please update grpcio to the recent version in your analyzer to fix the issue. You will need to use sdk v0.3.0+ for that.
ok