phase 5: auto-update feed for community desktop builds (generic provider over the community downloads URL) #140
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Matou/coa#140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase-5 candidate: installed community desktop apps get the electron-updater prompt when a new build publishes.
Today COA community builds ship with updates off (coa-builds README, out of scope in phase 3):
no
latest*.ymlfeed files in the release (the workflow uploads exactly five installers), andthe asset URLs are private-GitHub links no installed app could poll anyway.
Design sketch (rides on #139's stable downloads URL — option 1 there):
publish: {provider: "generic", url: "https://coa.matou.nz/c/<slug>/downloads"}percommunity — that makes it emit
latest.yml/latest-mac.yml/latest-linux.yml— andthe workflow uploads the yml files alongside the installers to the same place. The installed
app polls that URL; a new build landing there produces the in-app update prompt. No GitHub
auth, no per-build tag problem.
with
CSC_LINK/CSC_KEY_PASSWORD(Developer ID cert) +APPLE_API_KEY_CONTENT/_ID/APPLE_API_ISSUER/APPLE_TEAM_ID. One Developer ID Application cert signs any bundle idunder the team, so per-community appIds are fine. Move those six secrets to org-level
GitHub secrets shared with coa-builds (or copy them in) and pass the same env in the
desktop job. Notarization adds ~5–10 min per build. Without this, mac auto-update is
impossible — electron-updater hard-refuses unsigned apps on macOS.
stays out of scope.
key per community; today's APKs ride the matou-app keystore recipe. Out of scope here,
worth its own look.
implementation.
Blocked by #139 (the stable, public per-community downloads URL is the feed's foundation).