Integrated: 1939: Make work item scheduling more resilient against failures

Erik Joelsson erikj at openjdk.org
Mon Jun 12 12:48:47 UTC 2023


On Fri, 9 Jun 2023 21:49:35 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> When the BotRunner calls getPeriodicItems, any failure will terminate the whole loop. This means that one misconfigured repository, or problem with the forge, can prevent all other repos from being processed. I think it would be a good idea to keep trying each bot instance in the list even if some of them fail.
> 
> This patch moves the catch clauses inside the loop. I'm also moving some logging and metrics gathering into a finally block.

This pull request has now been integrated.

Changeset: 91fe8655
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/91fe86559bf8f640f3176a3c08d355837ce325fd
Stats:     15 lines in 1 file changed: 8 ins; 7 del; 0 mod

1939: Make work item scheduling more resilient against failures

Reviewed-by: zsong, kcr

-------------

PR: https://git.openjdk.org/skara/pull/1529


More information about the skara-dev mailing list