Skip to content

App-side update state model: stop masking 404s as up-to-date #467

Closed

Description

@khaira777

Parent epic: #463.

main/index.ts (~122-138) treats updater errors containing "404"/"Cannot find latest"/"ENOENT" as "up-to-date" - hiding real packaging/release faults from users AND support.

  • Introduce distinct states: not-checked-yet, up-to-date, available/downloading/ready (existing), check-failed/offline, store-managed, linux-managed, dev-mode (keep the state machine minimal per the handoff).
  • "not checked yet" must no longer render as "up-to-date"; Store builds should surface store-managed from startup (currently they show up-to-date until a manual check).
  • Settings UI reflects each state honestly; header badge unchanged except honest error surfacing.
  • Keep main.log detail sufficient to distinguish: offline / manifest-missing / download-failed / signature-failed / unsupported-package (fix: Dine-in order flow + ID type mismatch + status mismatch #30).
  • Acceptance: unit tests per error class -> asserted UI state; browser/LAN renders no dead controls (existing guard pattern).

Activity

  1. added
    area:frontend
    on Aug 22, 2026
  2. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    App-side updater implementation is in #483. The original 13 checks are green, but follow-up review fixes are still being applied for packaged missing-manifest classification; the PR remains open until the refreshed head, review thread, and CI are green.

  3. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Follow-up: the active updater review has reached UPD-013 on #483. The worker is authorized to add an explicit supported artifact marker for electron-builder --dir versus installed packages, with behavioral coverage; the PR remains open until the current head and review are green.

  4. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Completed and merged via #483. The updater now preserves explicit state distinctions, keeps packaged missing-manifest failures visible, and adds behavioral coverage for unpacked electron-builder output versus installed packages. Fixes #467; Refs #463.

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

    @khaira777
    ContributorAuthor

    Resolved in PR #483 (#483) and CI gates in PR #517 (#517). Main process tracks honest update states (never masking 404s/transport errors as up-to-date) and exposes real statuses to the renderer.

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

Metadata

Metadata

Assignees

Labels

area:frontend

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions