The Gitea issue poll (#953) fails for one Prüfobjekt on prod at every poll, every 30 minutes since at least 0.4.14 and still on 0.4.15:
issue poll failed: Issue tracker error: Failed to parse Gitea issue timeline: invalid type: null, expected a sequence at line 1 column 4
GiteaTracker::list_all reads each page as a JSON array. Gitea answers an issue's timeline with null instead of [] (past its end, or when there is nothing to list), so the parse fails and the whole poll of that Prüfobjekt fails with it: no close or reopen made by a person reaches Prüfwerk for it.
Fix: a null page ends the list like an empty one. A timeline without the close/reopen entry is already handled as "nothing a person decided" (skipped), so this changes nothing else.
Acceptance: a test with a fake Gitea that answers null; after deploy the poll reports failed: 0 for that target.
The Gitea issue poll (#953) fails for one Prüfobjekt on prod at every poll, every 30 minutes since at least 0.4.14 and still on 0.4.15:
```
issue poll failed: Issue tracker error: Failed to parse Gitea issue timeline: invalid type: null, expected a sequence at line 1 column 4
```
`GiteaTracker::list_all` reads each page as a JSON array. Gitea answers an issue's timeline with `null` instead of `[]` (past its end, or when there is nothing to list), so the parse fails and the whole poll of that Prüfobjekt fails with it: no close or reopen made by a person reaches Prüfwerk for it.
**Fix:** a `null` page ends the list like an empty one. A timeline without the close/reopen entry is already handled as "nothing a person decided" (skipped), so this changes nothing else.
**Acceptance:** a test with a fake Gitea that answers `null`; after deploy the poll reports `failed: 0` for that target.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The Gitea issue poll (#953) fails for one Prüfobjekt on prod at every poll, every 30 minutes since at least 0.4.14 and still on 0.4.15:
GiteaTracker::list_allreads each page as a JSON array. Gitea answers an issue's timeline withnullinstead of[](past its end, or when there is nothing to list), so the parse fails and the whole poll of that Prüfobjekt fails with it: no close or reopen made by a person reaches Prüfwerk for it.Fix: a
nullpage ends the list like an empty one. A timeline without the close/reopen entry is already handled as "nothing a person decided" (skipped), so this changes nothing else.Acceptance: a test with a fake Gitea that answers
null; after deploy the poll reportsfailed: 0for that target.