Commit Graph
4 Commits
Author SHA1 Message Date
Adam Shiervani 57ec20b041 refactor: drop forceUpdate query parameter from /releases
The flag is no longer sent by any client. Routine update checks now
always go through the rollout-aware default-and-latest path, which is
what forceUpdate effectively short-circuited to. Removes one query
parameter, one branch in the handler, and the corresponding axis from
the compare-releases sweep.
2026-04-27 18:45:31 +02:00
Adam Shiervani 3ab1ad6408 fix: restrict legacy OTA artifacts and make sync create-only
Pre-SKU artifacts (no skus/ folder) are jetkvm-v2 only. Marking them
compatible with jetkvm-v2-sdmmc would brick devices that received
firmware predating their hardware. Future SKUs must opt in via an
explicit skus/<sku>/ upload.

sync-releases now skips releases already in the DB instead of upserting
them. This prevents routine sync runs from rewriting Release.url/hash
or appending duplicate ReleaseArtifact rows if R2_CDN_URL ever changes.
Backfills and repairs are left to one-off scripts.
2026-04-27 18:38:46 +02:00
Adam Shiervani c9e9f92840 feat: add SKU-aware OTA release artifacts
Persist OTA artifact URL/hash data separately from rollout state so stable release responses can choose artifacts by compatible SKU while release rollout remains version/type based.
2026-04-27 16:21:55 +02:00
Adam Shiervani 46d56cb978 Improve DX (#50)
* feat: add seed script for development with test users, devices, and release data

* feat: add development Docker Compose configuration and update README for local setup
2026-01-30 14:07:36 +01:00