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
912: PR title correction logic can get stuck #1050
Conversation
|
Webrevs
|
Mailing list message from Magnus Ihse Bursie on skara-dev: How come this email got a [skara] prefixed to the subject? But not the Hm... Checking my email history, there seems to be a handful of mails I find this kinds of prefix annoying, but the intermittency is certainly /Magnus On 2021-03-11 12:53, Magnus Ihse Bursie wrote: |
bots/pr/src/test/java/org/openjdk/skara/bots/pr/CheckTests.java
Outdated
Show resolved
Hide resolved
bots/pr/src/main/java/org/openjdk/skara/bots/pr/CheckWorkItem.java
Outdated
Show resolved
Hide resolved
@magicus This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
/integrate |
@magicus Since your change was applied there have been 4 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit e664a65. |
The PR title correct logic introduced with SKARA-572 can end up trying to correct the title forever. An observed case is where the JBS title ends with a trailing space. When trying to update the PR title to include this trailing space, it will be stripped by GitLab and no update will actually be done. This will then get retried again and again.
The fix is to strip the JBS title before doing any comparisons.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/skara pull/1050/head:pull/1050
$ git checkout pull/1050