Simpl-Resultat/.claude
le king fu 99f1902122
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 2m12s
docs(release): name whose updater does the work in an update cycle (#463)
Refs #463

An update cycle starts from the previous installed version, and that
version's updater downloads the package, checks its signature against
its own public key and installs it (useUpdater.ts: checkForUpdate ->
check(), downloadAndInstall consumes the Update of the same process,
installAndRestart -> relaunch(); dpkg -i / rpm -U are run by the old
process, the old process starts NSIS then exits). Of the new version,
only the final check() runs, on a click: it reads latest.json through
the new TLS stack at the new endpoint, nothing more.

Step 10 of /release, docs/qa-update-cycle.md and the update-cycle rule
of REVIEW.md now tell the two cases apart:

- a change to how the packages are built or published (release.yml,
  createUpdaterArtifacts) or to latest.json: cycle N-1 -> N;
- a change to the updater's code, features or dependencies
  (tauri-plugin-updater, reqwest, rustls, rustls-webpki) or to its
  plugins.updater configuration, which only N's own updater reads:
  cycle N-1 -> N, then N -> N+1 at the next release, due even if that
  release does not touch the updater.

docs/qa-update-cycle.md also cites the guard that keeps an archive
from being served to Windows (build-latest-json.sh read_asset, l. 66
and 92; check-latest-json.jq l. 34) next to the "Non prouvé" line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 00:04:00 -04:00
..
rules docs: ADR 0021, guide and changelog for the profile catch-up (#390) 2026-10-06 20:35:00 -04:00
skills docs(release): name whose updater does the work in an update cycle (#463) 2026-10-25 00:04:00 -04:00