Skip to content

Epic: Reliable in-app auto-update on every distribution channel - audit complete, fixes + prevention plan ready #463

Closed

Description

@khaira777

Goal

Make FloCafe's in-app auto-update actually work and provably keep working on every distribution channel, with CI enforcement so the historical failure modes cannot silently recur. Two read-only research audits (updater code/UI/release-workflow + actual release artifacts/platform docs) are complete. Implementation is fully complete across all sub-issues.

Executive verdict (evidence-based)

Platform / channel Verdict today Evidence
Windows NSIS direct download FIXED in 3.3.0 / 3.3.1-beta.1 (artifact-level & runtime upgrade PASS-verified) Pinned artifactName, SHA-512 verifier, and real NSIS upgrade harness pass (#512)
Windows Microsoft Store STORE-MANAGED, listing live @3.3.0.0 DisplayCatalog 9N1MD6585P4Q
macOS direct (dmg install / zip update) FIXED in 3.3.0 - latest-mac.yml complete for x64+arm64, SHA-512 verified, Developer-ID signed + notarized + stapled latest-mac.yml + codesign/spctl/stapler on published zip
macOS Mac App Store STORE-MANAGED iTunes Lookup com.flo.desktop
Linux AppImage FIXED - shipped latest-linux.yml + latest-linux-arm64.yml, AppImage auto-update verified on Debian 13 GNOME Real hardware Xvfb & Debian 13 evidence (#512)
Linux deb / rpm MANUAL UPDATE (managed state reported) repo/docs search
Linux Snap STORE-MANAGED (flocafe, stable channel, amd64+arm64) Snap Store channel map
Browser/LAN Update UI is Electron-only (window.electronAPI?.) frontend audit

Sub-issues

Prevention rules (binding for every future release - enforced by #465, #512, #517)

  1. No-renaming rule: artifactName patterns pinned per target; produced filenames limited to [a-z0-9.-].
  2. Manifest-completeness rule: a release that lacks latest.yml, latest-mac.yml, or latest-linux.yml fails CI.
  3. Post-upload verification rule: every manifest is verified with HTTP 200 checks and SHA-512 recomputed.
  4. Draft-until-verified rule: the release stays a draft until all platforms pass verification.
  5. No-error-masking rule: distinct UI states for transport/manifest failure.
  6. PIN-guarded restart-to-install: manager/owner PIN authorization before applying updates (feat(updates): add beta channel opt-in and safe restart guard #506).
  7. Beta channel & release gate: release-candidate-gate.yml and upgrade-matrix.yml confidence gates (feat: add beta release channel plumbing #507, ci: add release candidate confidence gates and verification suite #517).

Activity

  1. added
    epic
    on Aug 22, 2026
  2. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Progress update: release-channel work is in #488 for #466; updater hardening continues in #483 for #467. Both remain open pending final review and green current-head CI.

  3. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Release-channel work for #466 is complete and merged via #488. Stable, beta, and nightly channel behavior plus draft-first verification are now landed; updater hardening for #467 continues in #483.

  4. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Updater hardening for #467 is complete and merged via #483. The current head passed all 13 checks with the Greptile review resolved; the epic now has both release-channel (#466) and updater-state (#467) implementation arcs landed.

  5. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Captain scope update (2026-08-23): #466 release channels and #467 updater-state hardening are merged. #464 Linux AppImage manifest/artifact naming, #465 release manifest verification, and #468 runtime upgrade validation remain in scope. Direct-download Windows code signing is deferred; Microsoft Store and Mac App Store publishing remain manual for now.

  6. self-assigned this
    on Aug 23, 2026
  7. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    The #465 release-verification implementation is ready in #492 with no-mistakes checks green. #464 Linux AppImage support is now unblocked; #468 remains behind #464.

  8. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Completed: #465 release verification is now landed via #492. Linux AppImage support (#464) is active next; runtime upgrade validation (#468) remains behind it.

  9. khaira777 commented on Aug 25, 2026

    @khaira777
    ContributorAuthor

    All sub-issues under this epic are now complete (#464, #465, #466, #467, #468, and the beta channel / PIN-gated update UI delivered in #506 and #507). Runtime upgrades are verified on real installed artifacts and gated in CI via upgrade-matrix.yml and release-candidate-gate.yml. Closing epic as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

epic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions