mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-28 03:05:41 +00:00
* feat(desktop): pace stable updates with a canary, a check interval, and a cooldown Stable releases now ship once or twice a day from main. The old client checked every 30 minutes, used one fixed rollout bucket per install, and ramped linearly over 36 hours. With daily releases that prompted the same installs first every time, never reached the installs with a high bucket before the next release replaced it, and put a bad release on a large share of installs overnight. Automatic stable updates are now paced on the client, with no server state: - An automatic check runs at most once every 6 hours. The time of the last check is stored, so a restart does not reset it. - The rollout bucket is salted with the release version, so each release draws a different first group. - A release holds at 5% of installs for a canary period, then ramps to 100%. The default rollout is 18 hours. - After the app moves to a newer version, automatic updates wait 72 hours before the next paced release. - A downloaded build keeps its place when the next paced release appears, so a session that outlives a release still installs something at quit. Every pacing decision fails open, because an install that cannot update itself can only be repaired by a manual download. Missing, damaged, or unwritable state, a clock that moved, a failed check, and any unexpected error all answer "check now" and "admit". A manual check skips every gate. A release with rollout_hours=0 skips the curve, the cooldown, and the hold of a downloaded build. Beta is not paced. docs/release.md gains the runbook to halt a release and to ship a fix. * docs(desktop): state that a minor release ends the staged-update hold Version numbers cannot show whether a fix shipped between a staged patch and the next minor release, so the hold treats a minor or major release as a missed release. The runbook now says so and a test pins it.