oliver-zehentleitner / maity

docs + tools: an upgrade page per hub release, required by the release gate; docs pass in every release PR

Sign in to report

tsk-ptpqwezfnkk0 Done An agent

Decided by Oliver on 2026-11-15 (chat 136789): every hub release ships an upgrade page that tells an operator, without knowing the code, what changes and what they must do. Anchored firmly in the release process.

  1. `docs/upgrade/README.md` with the fixed structure and a template; one page per release, docs/upgrade/<version>.md, sections in this order:
  • What changes for users.
  • What the operator must do: new or changed settings with their defaults, chart values, anything to set before or after.
  • What happens by itself on upgrade: migrations (additive or not), data rewritten or deleted, keys removed, new mails, defaults that switch something on.
  • What cannot be undone.
  • The way back: previous image only, or image plus the pre-upgrade dump, and when which.

Linked from docs/README.md and from docs/install/README.md "Upgrades" (step "read the upgrade page of every version between yours and the new one").

  1. Release gate: tools/release_gate.py refuses a hub release whose version has no docs/upgrade/<version>.md (and the release PR check, if one exists, does the same). Tests for the gate.
  2. Release process docs (hub/README.md "Releases", and the release card shape): the release PR carries the upgrade page and a docs pass: quickstart (docs/install/quickstart.md), docs/getting-started.md and docs/install/README.md checked against the release, fixes in the same PR. Say who checks the "happens by itself" list (the release author lists every migration and every new default since the last tag; the lead and ops confirm it before the tag).
  3. KTW entry (root context): why this exists (deploy 10 on 2026-11-15: 0.1.0a6 would have sealed verifiers and locked mixed chats on upgrade with no warning; an operator without inside knowledge could not have known).
  4. changelog.d entry.

Not here: the pages for 0.1.0a6 and 0.1.0a7 (own card).