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

Fix shadowing in retry library #13

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

KonradStaniec
Copy link
Collaborator

We have regression in our retry library.

Due to this regression all errors returned by provided functions are shadowed by error from - jitter, err := randDuration(int64(sleep))

This makes vigilante tests fail - https://github.com/babylonlabs-io/vigilante/actions/runs/10281209916/job/28451257642?pr=5

Copy link
Contributor

@gitferry gitferry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add a workflow to check shadowing?

@KonradStaniec
Copy link
Collaborator Author

good point! maybe lets decide what we want to run to do that and add feature request to our pipeline repo ?

@KonradStaniec KonradStaniec merged commit e1a7749 into main Aug 7, 2024
8 checks passed
@KonradStaniec KonradStaniec deleted the hot-fix/retry-library branch August 7, 2024 11:17
SebastianElvis added a commit that referenced this pull request Aug 29, 2024
chore: merge dev to the base branch
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

Successfully merging this pull request may close these issues.

2 participants