The account watch on the GitHub credentials has been failing every poll since its first real notification: 82 consecutive malformed forge response: error decoding response body failures, last_ok_at stuck at 22:32Z.
Cause: GitHub's notifications feed sends id as a JSON string ("27210544329"), while every other row this adapter decodes sends a number. WireNotification.id is Option<i64>, so one real row — a mention on vhaudiquet/orcaslicer-snap#10 — made notification_event's page decode fail, and it has failed on every poll since: the same row is still unread, still in the feed.
The fix reads that one id leniently (lenient_id: number or string, either decodes; a non-numeric string is still a loud Parse error rather than a silently dropped row). Every other id in the adapter is untouched — issues, comments and reviews do send numbers.
Tests: the regression case is the row captured from the live feed, plus a numeric id still decoding, plus a junk id staying loud.
Locally bin/gate.sh is green (fmt, clippy -D warnings, check — all targets). This box cannot run test binaries, so the unit tests themselves first execute in CI.
After merge the deployed daemon restarts on the new chart and the watch should clear its failure streak on the next 60s tick; the pending orcaslicer-snap mention is then triaged as a mention (per the gate now on main) instead of being invisible.
The account watch on the GitHub credentials has been failing every poll since its first real notification: 82 consecutive `malformed forge response: error decoding response body` failures, `last_ok_at` stuck at 22:32Z.
Cause: GitHub's notifications feed sends `id` as a **JSON string** (`"27210544329"`), while every other row this adapter decodes sends a number. `WireNotification.id` is `Option<i64>`, so one real row — a `mention` on `vhaudiquet/orcaslicer-snap#10` — made `notification_event`'s page decode fail, and it has failed on every poll since: the same row is still unread, still in the feed.
The fix reads that one id leniently (`lenient_id`: number or string, either decodes; a non-numeric string is still a loud `Parse` error rather than a silently dropped row). Every other id in the adapter is untouched — issues, comments and reviews do send numbers.
Tests: the regression case is the row captured from the live feed, plus a numeric id still decoding, plus a junk id staying loud.
Locally `bin/gate.sh` is green (fmt, clippy `-D warnings`, check — all targets). This box cannot *run* test binaries, so the unit tests themselves first execute in CI.
After merge the deployed daemon restarts on the new chart and the watch should clear its failure streak on the next 60s tick; the pending orcaslicer-snap mention is then triaged as a mention (per the gate now on `main`) instead of being invisible.
The notifications feed sends `id` as a JSON string (`"27210544329"`),
unlike every other row this adapter decodes, so `WireNotification`'s
`Option<i64>` refused one real row and failed the whole page. The account
watch has been stuck on 'error decoding response body' since the first
notification arrived (82 consecutive failures at the time of writing).
`lenient_id` accepts either shape; a non-numeric string is still a loud
parse error rather than a dropped row. The regression test is the row
captured live.
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 account watch on the GitHub credentials has been failing every poll since its first real notification: 82 consecutive
malformed forge response: error decoding response bodyfailures,last_ok_atstuck at 22:32Z.Cause: GitHub's notifications feed sends
idas a JSON string ("27210544329"), while every other row this adapter decodes sends a number.WireNotification.idisOption<i64>, so one real row — amentiononvhaudiquet/orcaslicer-snap#10— madenotification_event's page decode fail, and it has failed on every poll since: the same row is still unread, still in the feed.The fix reads that one id leniently (
lenient_id: number or string, either decodes; a non-numeric string is still a loudParseerror rather than a silently dropped row). Every other id in the adapter is untouched — issues, comments and reviews do send numbers.Tests: the regression case is the row captured from the live feed, plus a numeric id still decoding, plus a junk id staying loud.
Locally
bin/gate.shis green (fmt, clippy-D warnings, check — all targets). This box cannot run test binaries, so the unit tests themselves first execute in CI.After merge the deployed daemon restarts on the new chart and the watch should clear its failure streak on the next 60s tick; the pending orcaslicer-snap mention is then triaged as a mention (per the gate now on
main) instead of being invisible.