Documentation/Administer
Administer · v0.0.1

Upgrade & rollback

Stage a signed compatible release, protect data, preserve agent compatibility, and restore instead of forcing unsafe schema rollback.

AudienceRelease engineers, SRE, platform administratorsReading time18 minCommands in context3 guided stepsReviewed sourcefcc5871 · 30 July 2026
RC

Exact release scope. This page documents the reviewed v0.0.1 source at fcc5871. Check release status before enabling a gated capability.

Pre-upgrade gates

  • Target bundle, metadata, compatibility manifest, image signatures, SBOM, and provenance are verified.
  • Current environment is healthy and no conflicting high-risk OperationRun is active.
  • A current backup passed verification and a recent restore rehearsal meets the recovery objective.
  • Database migration status, storage capacity, hosting diagnostics, clock, and dependencies are healthy.
  • Target control plane accepts the active N/N-1 agent fleet and the agent rollout order is documented.
  • Feature-gate changes and known release limitations have explicit owners and rollback decisions.

Upgrade sequence

  1. 01

    Verify and mirror target artifacts

    Use exact digests and preserve signed metadata in the customer registry/artifact store.

  2. 02

    Run target preflight and dry-run

    Resolve configuration, migration, compatibility, registry, storage, or governance conflicts.

  3. 03

    Prepare compatible agents

    Roll agents that advertise the next contract before the control plane emits new-version work.

  4. 04

    Apply the control-plane release

    Use the chart or release-owned installer; observe migration and leader behavior.

  5. 05

    Verify

    Check health, readiness, clock, build identity, workers, agents, run reads, artifacts, audit, and one bounded operation.

  6. 06

    Advance staged gates

    Enable only approved capabilities after the base platform is stable.

Database migration boundary

Database migrations are forward-oriented. A previous application image may not understand the upgraded schema. Do not run an older control plane against a migrated production database unless the compatibility contract explicitly permits it.

Rollback decision

ConditionAction
Application rollout failed before migrationRoll back deployment to the verified previous digest and verify.
Migration completed and backward compatibility is documentedUse only the approved rollback plan and verify schema state.
Migration completed and compatibility is unknown/falseRestore the complete pre-upgrade backup set.
Agent contract mismatchStop issuing the new run contract, complete safe work, restore compatible agent/control-plane order.
Feature-gate regressionDisable the specific gate if the runbook and active operations permit it; retain evidence.

Post-upgrade acceptance

  • All replicas converge on the intended digest and report Ready.
  • Only one leader owns singleton work where required.
  • Agents are accepted, time is healthy, and queued work has no compatibility mismatch.
  • Existing users, roles, sessions, secrets, runs, logs, artifacts, and audit records remain readable.
  • Backup verification and a new recovery point complete on the upgraded release.
  • Change evidence records release identity, migration, tests, open limits, and approver.