RFR: 1837: Skara bot continuously keeps updating the PR title

Erik Joelsson erikj at openjdk.org
Mon Mar 13 16:56:29 UTC 2023

On Mon, 13 Mar 2023 16:36:11 GMT, Zhao Song <zsong at openjdk.org> wrote:

> A user reported that he found the bot is continuously updating the [pr](https://github.com/openjdk/jdk/pull/12797) body. After investigating, I found that this bug is a side effect of [SKARA-1807](https://bugs.openjdk.org/browse/SKARA-1807). In SKARA-1807, we escaped the issue title in PR body and the title of JDK-8303474 includes ‘>’. So the csr issue title in the pr body is `(fc) FileChannel::transferFrom should support position > size()`. In some logic, the csr bot is looking for the title of the csr issue(not escaped), so the bot is looking for `(fc) FileChannel::transferFrom should support position > size()` and if the bot couldn’t find the csr issue title, the bot would assume this pr body is outdated and will update it. Therefore, the bot is stuck in an infinite loop.

Marked as reviewed by erikj (Lead).


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

More information about the skara-dev mailing list