Integrated: 1709: Only fetch comments once in PullRequestWorkItem in pr bot

Erik Joelsson erikj at openjdk.org
Wed Dec 14 14:53:10 UTC 2022


On Tue, 6 Dec 2022 23:57:39 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> This patch provides a minor optimization for `PullRequestWorkItem` subclasses in the pr bot by avoiding re-fetching of pr.comments(). I initially started this patch with a much bigger optimization in mind, but it turned out to not work. I still think it worth applying the remaining patch since I've gone through the trouble of implementing it.

This pull request has now been integrated.

Changeset: 531bf966
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/531bf9661ff9f061761aa6c027b47cf0cf0f06ed
Stats:     25 lines in 5 files changed: 15 ins; 6 del; 4 mod

1709: Only fetch comments once in PullRequestWorkItem in pr bot

Reviewed-by: zsong, ihse

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

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


More information about the skara-dev mailing list