Skip to content

Add background update downloads and prepare v0.1.15 - #43

Merged
daniellee-ux merged 2 commits into
masterfrom
codex/auto-update
Sep 27, 2026
Merged

daniellee-ux merged 2 commits into
masterfrom
codex/auto-update

Conversation

@daniellee-ux

Copy link
Copy Markdown
Owner

Seminarly currently requires users to start update downloads manually. This adds opt-in background checks and downloads while keeping installation and restart under user control, and prepares v0.1.15 (build 16).

  • Check signed, architecture-specific Sparkle feeds daily, including with all windows closed; cache compatible full or delta downloads without arming install-on-quit.
  • Show download/ready status in the app and Settings, and reuse matching cached archives through a loopback-only transport for Sparkle signature verification and installation.
  • Preserve recording/save restart guards, cancel background work when disabled, and recover from invalid caches and skipped releases.

Validation: the full 507-test local suite and signing identity, runtime packaging, architecture, and update-feed helper tests pass for build 16. Signed installers and public-download verification will be completed before publication.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T17:32:19.170122Z b1f4386 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b1f4386378

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +47 to +51
cached.sourceBuild == sourceBuild,
UUID(uuidString: cached.filename) != nil,
cached.fileURL == directory.appendingPathComponent(cached.filename),
cached.hasExpectedSize
else { return nil }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Delete cached archives rejected after an app update

When a cached update successfully installs, the next app build rejects its metadata because cached.sourceBuild != sourceBuild, but this path only returns nil and leaves both the archive and download.json on disk. Since cleanup otherwise happens only after another update is downloaded, users who remain on the newly installed version can retain an obsolete archive—up to the allowed 2 GB—indefinitely; remove rejected cache files when loading detects a build mismatch or invalid metadata.

Useful? React with 👍 / 👎.

@daniellee-ux
daniellee-ux merged commit 543a62b into master Sep 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant