Skip to main content

Release, upgrade and rollback

Imported component documentation. Source: melodee-project/melodee-auth-ui at commit 0bf9bd04697609fc3d8b82eb933b1d1d29e84059. Version 2026.11.0-rc.0. License MIT. Status: A0–A10 implemented and verified on a disposable real API 1.0.0 stack; not published, tagged or deployed. This is the component's committed documentation, not proof of a distribution release or production qualification.

Versioning​

The Auth UI uses Calendar Versioning YYYY.M.PATCH (unpadded month, patch from zero), independently of the API's Semantic Versioning. The current truthful candidate is 2026.11.0-rc.0; no release date is assigned until an actual release is authorized. The supported API contract is declared separately in release-metadata.json:

"supportedApiContract": ">=1.0.0 <2.0.0"

Required capabilities are declared in the same file. Do not infer API compatibility from the CalVer value.

Candidate build​

SOURCE_REVISION="$(git rev-parse HEAD)" bash scripts/release-build.sh

The script runs the ordinary gate, builds a local OCI image with version, revision, contract and release-status labels, verifies the labels and prints the emitted /version.json. It does not tag, push, publish or deploy.

Container verification without a release:

bash scripts/verify-container.sh

Upgrade​

  1. Read the new image's /version.json and OCI labels.
  2. Confirm its supportedApiContract includes the API in service.
  3. Back up PostgreSQL and the API's protected-object volume.
  4. If the API contract changed, deploy API and UI together.
  5. Replace the UI container with the new image digest; the UI is stateless.
  6. Verify /version.json, headers, sign-in, one account mutation and logout.

Rollback​

Keep the previous image digest and configuration. Roll back by starting the previous image; no UI database migration exists. Do not roll back only one side of an incompatible API/UI contract change. Sessions and cookies are owned by the API; a UI rollback does not revoke them.

Release evidence​

A release requires the ordinary gate, the disposable live suite, container verification, owner authorization and independent security review. A passing mock or static build is not production qualification.