Gitea answers an issue's timeline with null instead of []. list_all read every page as an array, so the parse failed and the whole issue poll of that Prüfobjekt failed at every run (prod, every 30 minutes, on 0.4.14 and 0.4.15).
list_all reads a page as Option<Vec<T>>: null ends the list like an empty page. Pages before it still count.
A timeline without the close/reopen entry was already skipped as "nothing a person decided", so the poll behaves as before for that case.
Tests: a fake Gitea answering null after one page, and null on the first page.
cargo test -p compliance-agent --lib trackers::gitea (11 passed), clippy with the CI flags, fmt.
Closes #995.
Gitea answers an issue's timeline with `null` instead of `[]`. `list_all` read every page as an array, so the parse failed and the whole issue poll of that Prüfobjekt failed at every run (prod, every 30 minutes, on 0.4.14 and 0.4.15).
- `list_all` reads a page as `Option<Vec<T>>`: `null` ends the list like an empty page. Pages before it still count.
- A timeline without the close/reopen entry was already skipped as "nothing a person decided", so the poll behaves as before for that case.
- Tests: a fake Gitea answering `null` after one page, and `null` on the first page.
`cargo test -p compliance-agent --lib trackers::gitea` (11 passed), clippy with the CI flags, fmt.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Gitea answers an issue's timeline with `null` instead of `[]`, which
failed the whole issue poll of that Prüfobjekt at every run. A `null`
page now ends a list like an empty one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
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.
Closes #995.
Gitea answers an issue's timeline with
nullinstead of[].list_allread every page as an array, so the parse failed and the whole issue poll of that Prüfobjekt failed at every run (prod, every 30 minutes, on 0.4.14 and 0.4.15).list_allreads a page asOption<Vec<T>>:nullends the list like an empty page. Pages before it still count.nullafter one page, andnullon the first page.cargo test -p compliance-agent --lib trackers::gitea(11 passed), clippy with the CI flags, fmt.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9