Skip to content
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

Local update failures are silently ignored #270

Closed
mtoohey31 opened this issue Sep 3, 2024 · 5 comments
Closed

Local update failures are silently ignored #270

mtoohey31 opened this issue Sep 3, 2024 · 5 comments

Comments

@mtoohey31
Copy link
Contributor

I happened to notice a bunch of warnings in my gickup service logs, and upon further investigation I realized nothing had been mirroring properly for a while. To avoid this happening in the future, I was going to set up a Prometheus alert, but then I realized that there was no indication of an issue in the Prometheus metrics. I've taken a look at the source code and it looks like local.Locally will return true even when the final retry fails? To be specific, it seems to me like this line should be return false instead of break. Does that sound right, or am I missing something?

@cooperspencer
Copy link
Owner

You are correct. If we change that line, it should work the way we expect it to.

@cooperspencer
Copy link
Owner

Can you test that?
#271

you can download the artifact from here:
https://github.com/cooperspencer/gickup/actions/runs/10697068567

@mtoohey31
Copy link
Contributor Author

Thanks for taking a look. I've tested it and that fixes things!

@cooperspencer
Copy link
Owner

thanks for testing. I'll merge it and push a new release.

@mtoohey31
Copy link
Contributor Author

No problem, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants