Aller au contenu
EN English versionDemander une démo

Upgrades

What you will be able to do: move an instance to a new version without losing work in flight.

  1. Read the release notes of every version between yours and the target, on the GitHub releases, and the “Upgrading to …” sections of the deployment reference. A breaking change says what to rename or set before you upgrade.
  2. Back up the platform database and Temporal’s, to the same instant (Backups). The migrations change the schema; restoring a backup is the only way back.
  3. Upgrade one minor version at a time when the notes say so.

The same command as the install, with the new version (and the release name and namespace you installed with: they are your deployment’s, and an upgrade never changes them):

Fenêtre de terminal
helm upgrade --install tranibor oci://ghcr.io/graalsystems/charts/tranibor \
--version 0.30.1 --namespace tranibor -f my-values.yaml
  • The database migrations run as a Helm hook before the new API starts (python -m tranibor_api.migrate, in a Job that waits for the database up to 300 seconds). With an embedded database the hook runs after the install instead: keep tranibor-api.migrations.hook as the chart sets it.
  • Work items in flight finish on the workflow version they started on; Temporal keeps their position across the restart of the workers.
  • The images follow the chart’s version.
Fenêtre de terminal
kubectl -n tranibor get pods
kubectl -n tranibor get jobs -l app.kubernetes.io/instance=tranibor
curl -s https://tranibor.example.com/api/v1/edition

What you should see: every pod Running on the new images, the job tranibor-migrations-<revision> completed, and the edition answer’s version naming the new version.

Symptom What to do
the migration Job fails read its logs; the API did not start on the new version, the old pods still serve. Fix the cause, then run the upgrade again
the API refuses to start after the upgrade its log names the setting; most often a value the release notes asked to change
you must go back helm rollback restores the previous pods, not the previous schema: restore the database backup taken before the upgrade, then roll back

Upgrading Temporal itself has its own runbook.

0.30 gives the platform’s remaining names their tranibor form: the chart and its objects, the commands, the wire names, and what the chart, the code and provisioning share (the runners’ service account and warm pool, the egress proxy, the pods’ labels, the variables, the mount paths, the admission policies, the metrics). Each former name keeps working until 0.32, and the deployment reference lists them with what to do. In short, within 0.30.x and 0.31.x:

  1. Provision every project again (any change of its policy or connectors does it): its namespace gets the new runners’ account, the new proxy name and the new binding.
  2. Apply the admission policies of infra/policies, then delete the former ones if you applied them by hand (an Argo CD application that prunes does it itself).
  3. Move your dashboards, recording rules and alerts to the tranibor_* series: the former ones are served until 0.32 with the same samples.
  4. Make your own selectors admit either value of the pods’ names, then set global.labelValues: tranibor.

0.26 brings assistants: a plugin may ship one, an organisation installs it for an audience, and people converse with it in the console, from an MCP client or in an embedded frame. Nothing changes for an organisation that installs none. The migrations run with the chart’s job as usual. The full table is in the deployment reference; what you do is:

  1. Bound the token exchange. Set TRANIBOR_TOKEN_EXCHANGE_AUDIENCES to a JSON list of your sources’ audiences (in global.extraEnv) before binding a need that uses the person’s identity (user_exchange). Unset, a connector’s editor chooses any audience the identity provider allows. See the review of the person’s identity.
  2. Prepare the identity provider. user_exchange needs token exchange (RFC 8693) enabled for the API’s client and limited to those audiences. A standing delegation needs offline_access with bounded, revocable offline sessions. See Identity.
  3. Give conversation suites a model. An assistant’s conversation suites gate the promotion of its agent version, and a judge model scores their rubrics (conversation_judge_model, else the strong model profile). With no gateway key, a version whose assistant ships suites is refused promotion with the reason. conversation_suites_require_model=false opts out, and no check then runs.
  4. Pick a quiet hour. The migration that makes /responses sessions durable closes the ones open at upgrade time. Matters only if you use hosted prompt agents.
  5. List the host origins of an embedded assistant in the installation’s config.embed_origins; nothing else to deploy. Accounts connected before 0.26 are connected again once.