Skip to content

Small fixes#273

Open
nuclearcat wants to merge 2 commits intokernelci:mainfrom
nuclearcat:small-fixes
Open

Small fixes#273
nuclearcat wants to merge 2 commits intokernelci:mainfrom
nuclearcat:small-fixes

Conversation

@nuclearcat
Copy link
Copy Markdown
Member

Just noticed small issues that are worth to fix:
1)One of them potentially might flood servers if will work in automated mode in script
2)Second will help to detect/propagate error properly

Comment thread kcidev/libs/dashboard.py
)
# Delay before retrying, to prevent hammering the server with exponential backoff
time.sleep(2 ** retries)
time.sleep(2**retries)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why adding a commit and fixing it in a second commit?
just fix this on your first commit

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
While possibility of this exception low, we need to detect this
situation as error by kci-dev returning proper exit code.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
@nuclearcat
Copy link
Copy Markdown
Member Author

Fixed. Pre-commit checks will really help on that.
Do you mind if i will make separate PR with this feature?

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