Skip to content

Release check: clean install and update 1.0.0 to 1.0.1 tested in CI - #1447

Merged
vmillet-dev merged 1 commit into
dev/1.0.0from
claude/install-update
Nov 9, 2026
Merged

vmillet-dev merged 1 commit into
dev/1.0.0from
claude/install-update

Conversation

@vmillet-dev

@vmillet-dev vmillet-dev commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #1273.

What changes

  • packages.yml (on pull requests touching packaging, the updater or the release workflow, and by hand), on ubuntu-22.04 and windows-latest:
    1. builds the release binary, then the updater's client as the application uses it (crates/platform/examples/update.rs: platform::updater::system, check → download → verify → install);
    2. generates a minisign key for the run alone;
    3. packages the binary as 1.0.0 then as 1.0.1 with .github/actions/package (the release's own steps, content checks included);
    4. serves two latest.json for 1.0.1 on 127.0.0.1, written by scripts/latest-json.mjs: one whose package is altered by one byte after signing, one whole;
    5. clean install of 1.0.0: NSIS silently per user (the uninstall entry under HKCU says 1.0.0, devnotes.exe and the identity lists in its folder), or the AppImage put in place;
    6. the altered 1.0.1 must be refused (exit 2) and 1.0.0 stay;
    7. the whole 1.0.1 is installed: the AppImage in place becomes 1.0.1's file, byte for byte; NSIS, run passive by the client, leaves the uninstall entry at 1.0.1 (waited for, two minutes at most);
    8. uninstalls (Windows).
  • .github/scripts/installed.sh says which version is installed, for steps 5–7.

Tests

  • This workflow, on the previous head of this pull request (which also carried the release workflow commit, since merged as Release workflow: NSIS, AppImage, deb and rpm packages built and signed #1446): both jobs green. Linux: the deb, rpm and AppImage each hold devnotes alone; 1.0.0 installed; altered 1.0.1 → refused: The signature verification failed, 1.0.0 still in place; whole 1.0.1 → downloaded and verified, installed, the AppImage in place is 1.0.1's file. Windows: the NSIS installer installed per user, the altered one refused, the whole one installed passive and the uninstall entry at 1.0.1, then uninstalled.
  • Locally on Linux, the client against a served manifest with a key from cargo packager signer generate: altered → exit 2, file unchanged; whole → installed; same version → exit 3.
  • cargo clippy -p app -p platform --all-targets --all-features -- -D warnings, cargo fmt --all --check: pass.

Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01U9wKqFskQrYXJ3B9dcPcRQ

packages.yml packages the release binary as 1.0.0 and 1.0.1 with a key made
for the run, installs 1.0.0 (NSIS, AppImage), refuses a 1.0.1 altered by one
byte, then installs the whole one through the application's updater.

Closes #1273

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U9wKqFskQrYXJ3B9dcPcRQ
@vmillet-dev
vmillet-dev force-pushed the claude/install-update branch from a87ae22 to 051db25 Compare November 9, 2026 20:35
@vmillet-dev
vmillet-dev merged commit 436f898 into dev/1.0.0 Nov 9, 2026
14 of 21 checks passed
@vmillet-dev
vmillet-dev deleted the claude/install-update branch November 9, 2026 21:09
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