teleclimber / Dropserver

An application platform for your personal web services. https://dropserver.org
Apache License 2.0
42 stars 1 forks source link

upgrade available property of appspace causes otu of sync issues #102

Open teleclimber opened 1 year ago

teleclimber commented 1 year ago

We currently have an "upgrade available" property on the appspcae data that gets sent from server to frontend. This causes problems because uploading an app version does not cause all appspaces to be reloaded (thankfully). So upgrade status should be separated out from appspace data and either computed locally or obtained separately (and kept updated when app versions change.)

teleclimber commented 11 months ago

Looks like we changed things a bit in app pacakging development, but there is still essentially the problem that appspace upgrade version is attached to appspace data and sent to the frontend. It's OK for this to be determined on the backend, but the data should not be comingled with appspace data.

See appspacestatus.MigrationMinder (which should be moved to appspaceops probably).

May make most sense to fix this when we look at automated upgrades.