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

improvement: add better error handling when failing to archive test artifacts #6802

Merged
merged 5 commits into from
Jan 24, 2025

Conversation

10ko
Copy link
Member

@10ko 10ko commented Jan 24, 2025

What this PR does / why we need it:

Improve error handling when trying to create the archive of artifacts.
Additionally, increases the timeout for the tar command to 10 minutes.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@10ko 10ko requested review from stefreak and vvagaytsev January 24, 2025 15:05
@vvagaytsev vvagaytsev changed the title Better err handling artifacts errorrs improvement: add better error handling when failing to archive test artifacts Jan 24, 2025
@10ko 10ko enabled auto-merge January 24, 2025 17:04
// Anything above two minutes for this would be unusual
timeoutSec: 120,
// Anything above 10 minutes for this would be unusual
timeoutSec: 600,
Copy link
Member

@stefreak stefreak Jan 24, 2025

Choose a reason for hiding this comment

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

In my opinion, 10 minutes is way too much, two minutes was already a lot for running tar --help.

Imagine how a user would feel seeing "timed out after 10 minutes running tar --help" as an error message

Copy link
Member

@stefreak stefreak left a comment

Choose a reason for hiding this comment

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

Looking great! I wouldn't change the timeout though

@10ko 10ko added this pull request to the merge queue Jan 24, 2025
Merged via the queue into main with commit 589cb39 Jan 24, 2025
40 checks passed
@10ko 10ko deleted the better-err-handling-artifacts-errorrs branch January 24, 2025 17:51
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.

3 participants