coder / coder/coder-desktop-macos
Serve preview builds from a unique URL
- Vorherrschende Sprache
- Swift
- Sterne
- 29
- Forks
- 8
- Ø Merge
- 18 Std. 14 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Right now, we use the same download URL for all preview builds:
`https://github.com/coder/coder-desktop-macos/releases/download/preview/Coder-Desktop.pkg`
This means if an update popup advertises a preview build other than the latest (separately, why is this happening?) installing that build will fail, as the signature of the latest build does not match what Sparkle expected to download. This produces an update error:

This can be worked around by **simply checking for updates again**, and installing the advertised version, which will be the actual latest preview build.
This **does not effect `Stable` release builds**, as they are served from a unique URL:
`https://github.com/coder/coder-desktop-macos/releases/download/v0.7.0/Coder-Desktop.pkg`
We could solve this by serving the last N preview builds from a GCP bucket.
Beitragsleitfaden
Rechercherichtung
Beginne damit nachzuverfolgen, wie Preview-Builds veröffentlicht werden und wie der Updater die URL für den Preview-Download auflöst, wobei die stabile versionierte URL als Vergleichspunkt dient. Prüfe den vorgeschlagenen GCP-Bucket-Ansatz anhand des Release- und Update-Flows; abgeschlossen ist die Aufgabe, wenn ältere angekündigte Preview-Builds erfolgreich heruntergeladen werden und ihre Signaturen übereinstimmen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- swift
- Bereich
- desktop, release
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100