Files
Anthias/tests/test_github.py
Viktor Petersson da565e503a fix(server): pick latest CalVer release, not GitHub /releases/latest (#3130)
* fix(server): pick latest CalVer release, not GitHub /releases/latest

Publishing a non-app release (WebView-v2026.07.0, the frozen Qt 5
toolchain) made it GitHub's "latest" release, so the update check
tripped its unparseable-tag backoff on every device and degraded to
the fallback verdict fleet-wide (Sentry ANTHIAS-3P).

- Fetch the /releases list and pick the highest CalVer-parseable
  tag, skipping drafts, prereleases, and non-app tags
- Highest-by-version, not first-in-list: a non-app release created
  after the newest app release must not mask it

Fixes #3124

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* docs(server): align is_up_to_date docstring with /releases list fetch

Copilot review: the docstring still described the old
/releases/latest behaviour.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 20:53:28 +01:00

16 KiB