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

Process message task improvements #2326

Merged

Conversation

lbarcziova
Copy link
Member

@lbarcziova lbarcziova commented Jan 31, 2024

Fixes #2323
Related to #2290


RELEASE NOTES BEGIN
We have added additional retries and improvements for task processing.
RELEASE NOTES END

Copy link
Contributor

Copy link
Member

@nforro nforro left a comment

Choose a reason for hiding this comment

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

Just a little nitpick, I'd maybe factor out the HandlerTaskWithRetry rename to a separate commit for more clarity.

This task should be exetuced much faster, it doesn't execute any
user defined actions etc., therefore set the time limit lower
than the global one (900s).
Related to packit#2290
Raneme HandlerTaskWithRetry to TaskWithRetry and make
process_message task use it as base as well
so that the process_message tasks are retried as well.
Fixes packit#2323
@lbarcziova
Copy link
Member Author

Just a little nitpick, I'd maybe factor out the HandlerTaskWithRetry rename to a separate commit for more clarity.

I have adjusted the commit message to mention the renaming, but to me it makes sense to have it in one commit as it explains why was the renaming done.

@lbarcziova lbarcziova added the mergeit When set, zuul wil gate and merge the PR. label Feb 2, 2024
Copy link
Contributor

Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/fdaf242d13f143b4a211a822b7cedd6a

✔️ pre-commit SUCCESS in 1m 59s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 1930010 into packit:main Feb 2, 2024
3 checks passed
@lbarcziova lbarcziova deleted the time-limit-process branch February 2, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement retries for process_message task
3 participants