RFR: 1166: New Gitlab version is causing "Initial paginated response no longer paginated" errors

Erik Joelsson erikj at openjdk.java.net
Mon Sep 13 19:49:47 UTC 2021


This patch changes the exception thrown when a paginated rest query suddenly returns a results without pages. Instead of a RuntimeException I'm throwing an UncheckedRestException, which makes the BotRunner treat it as a warning instead of logging SEVERE. The assumption is that this happens randomly, just like other rest call failures, and that most WorkItems will just have to be rerun at a later time.

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

Commit messages:
 - SKARA-1166

Changes: https://git.openjdk.java.net/skara/pull/1220/files
 Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=1220&range=00
  Issue: https://bugs.openjdk.java.net/browse/SKARA-1166
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/skara/pull/1220.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/1220/head:pull/1220

PR: https://git.openjdk.java.net/skara/pull/1220


More information about the skara-dev mailing list