[skara] RFR: 912: PR title correction logic can get stuck
Magnus Ihse Bursie
ihse at openjdk.java.net
Thu Mar 11 11:53:50 UTC 2021
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.
- 912: PR title correction logic can get stuck
Stats: 22 lines in 3 files changed: 17 ins; 0 del; 5 mod
Fetch: git fetch https://git.openjdk.java.net/skara pull/1050/head:pull/1050
More information about the skara-dev