New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: reduce debug logging if unlink was successful #196
Conversation
VersionBot failed to carry out a status check for the above pull request here: #196. The reason for this is: |
As a way to reduce the amount of debug logging this module produces, we only emit an unlink debug message if the unlink operation was succesful. Also, as a better way to correlate unlink issues with a certain drivelist call, we only report back the result of this module after the unlink operation ended (sucessfully or not). Change-Type: patch See: balena-io/etcher#1600 Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
c77fac3
to
fdaa799
Compare
VersionBot failed to carry out a status check for the above pull request here: #196. The reason for this is: |
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
What does this VB error mean @hedss ? |
@jviotti "we only emit an unlink debug message if the unlink operation was succesful." |
Strangely it appears that VB couldn't access the repo. I've just tried my test repo, and all is well. I suspect this might have been a GH wobble, as there's nothing else in the logs to suggest VB wasn't trying to communicate with it properly. |
So I guess if this happens again, the fix would be to re-kick VersionBot by adding a label or something? |
Yeah, that's what balena-io-modules/balena-procbots#196 is for, as you say. Though I'm not overly happy about it... |
Are the logs kept by VB detailed enough for you to be able to ask GH support why their API keeps having "hiccups" ? |
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
As a way to reduce the amount of debug logging this module produces, we
only emit an unlink debug message if the unlink operation was succesful.
Also, as a better way to correlate unlink issues with a certain
drivelist call, we only report back the result of this module after the
unlink operation ended (sucessfully or not).
See: balena-io/etcher#1600
Signed-off-by: Juan Cruz Viotti jv@jviotti.com