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

Zhao Song zsong at openjdk.org
Mon Mar 13 16:47:18 UTC 2023

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.


Commit messages:
 - dummy
 - SKARA-1837

Changes: https://git.openjdk.org/skara/pull/1480/files
 Webrev: https://webrevs.openjdk.org/?repo=skara&pr=1480&range=00
  Issue: https://bugs.openjdk.org/browse/SKARA-1837
  Stats: 7 lines in 2 files changed: 1 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/skara/pull/1480.diff
  Fetch: git fetch https://git.openjdk.org/skara pull/1480/head:pull/1480

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

More information about the skara-dev mailing list