ci: improve release builds and update maintenance - #116
Closed
LeenHawk wants to merge 3 commits into
Closed
Conversation
LeenHawk
enabled auto-merge (squash)
July 20, 2026 11:49
There was a problem hiding this comment.
Pull request overview
This PR enhances the project’s release/maintenance automation and updates the self-update swap behavior to avoid leaving persistent rollback artifacts behind after successful installs.
Changes:
- Updated native self-update swap logic to use temporary companion backups during installation and remove legacy
.prevfiles after success. - Expanded release CI to run UPX compression + smoke checks for additional targets (including RISC-V) with checksum verification.
- Added repository automation via CodeQL scanning and Dependabot update configuration, and aligned docs/UI copy with the new update behavior.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/selfupdate/swap.rs |
Reworks companion backup/restore flow to use temporary backups and cleans up legacy .prev artifacts on success. |
docs/src/content/docs/zh-cn/introduction/architecture.md |
Adjusts §19 description wording to reflect “update artifacts” terminology. |
docs/src/content/docs/introduction/architecture.md |
Same terminology update in the English architecture index. |
console/src/locales/zh-TW/update.json |
Updates update-confirmation copy to remove .prev rollback mention. |
console/src/locales/zh-CN/update.json |
Updates update-confirmation copy to remove .prev rollback mention. |
console/src/locales/en/update.json |
Updates update-confirmation copy to remove .prev rollback mention. |
.github/workflows/release.yml |
Adds verified UPX installation/building and additional smoke checks (incl. QEMU for RISC-V) across more targets. |
.github/workflows/codeql.yml |
Adds CodeQL workflow for JS/TS and Rust. |
.github/dependabot.yml |
Adds Dependabot update automation for Cargo and multiple npm directories. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification