read_serverstats returns UPSTREAM_REJECTED (HTTP 500) when called without from/to; with a valid RFC3339 range it succeeds. The schema does not mark these fields required, so a bare call produces an upstream 500 instead of a client-side validation error or sensible default window.
Environment
Binary: deployed darwin-amd64 build from develop @ d047d76
## Summary
`read_server` `stats` returns `UPSTREAM_REJECTED (HTTP 500)` when called without `from`/`to`; with a valid RFC3339 range it succeeds. The schema does not mark these fields required, so a bare call produces an upstream 500 instead of a client-side validation error or sensible default window.
## Environment
- Binary: deployed darwin-amd64 build from `develop` @ `d047d76`
- Ombi: 4.53.10 (https://ombi.i3omb.com), JWT auth
## Reproduction
```json
read_server {"action":"stats"} // 500
read_server {"action":"stats","from":"2026-08-01T00:00:00Z","to":"2026-09-19T00:00:00Z"} // OK
```
## Expected
Either `INVALID_ARGUMENT` explaining from/to are required, or a default range applied.
## Actual
`upstream error (HTTP 500)` — upstream rejects the unbounded query and the 500 leaks through.
## Correlation IDs
`6584244b94f7b64727930dd3` (bare), `76959d6baff5352ddfbdb602` (with range)
gronod
added this to the M7 — Admin/server wire contracts milestone 2026-09-19 08:58:05 +01:00
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.
Summary
read_serverstatsreturnsUPSTREAM_REJECTED (HTTP 500)when called withoutfrom/to; with a valid RFC3339 range it succeeds. The schema does not mark these fields required, so a bare call produces an upstream 500 instead of a client-side validation error or sensible default window.Environment
develop@d047d76Reproduction
Expected
Either
INVALID_ARGUMENTexplaining from/to are required, or a default range applied.Actual
upstream error (HTTP 500)— upstream rejects the unbounded query and the 500 leaks through.Correlation IDs
6584244b94f7b64727930dd3(bare),76959d6baff5352ddfbdb602(with range)