Skip to content

feat: add stable release updater - #17

Merged
wendaining merged 5 commits into
wendaining:masterfrom
Kisechan:master
Sep 11, 2026
Merged

wendaining merged 5 commits into
wendaining:masterfrom
Kisechan:master

Conversation

@Kisechan

Copy link
Copy Markdown
Collaborator

Summary

  • Add recall update and recall update --check for stable GitHub Releases.
  • Download the current-platform release asset with terminal progress, SHA-256 verification, and archive extraction.
  • Replace binaries atomically on macOS/Linux and after process exit on Windows.
  • Check for stable updates from the history TUI at most once per 24 hours.
  • Document the update workflow in English and Simplified Chinese.

Testing

  • cargo fmt --check
  • cargo build --release
  • target/release/recall update --check
  • cargo test
  • cargo clippy --all-targets -- -D warnings

@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: 5e7fac08b7

ℹ️ 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 thread src/commands/mod.rs Outdated
Comment thread src/commands/update.rs Outdated
@Kisechan

Copy link
Copy Markdown
Collaborator Author

Addressed in 6bc448d.

The TUI now starts from cached update state and refreshes stale checks in the background. Failed checks are cached for 24 hours while preserving a known available version.

Windows updates now report a staged state and retry replacement after the recall process and proxy release recall.exe.

@wendaining
wendaining merged commit b248cab into wendaining:master Sep 11, 2026
5 checks passed

@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: 6bc448d92f

ℹ️ 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 thread src/commands/update.rs
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.

2 participants