Manual / Guides

Upgrading

Pipewright 1.0.0 is stable. Every change since is additive and off by default: a use case, manifest and release from an earlier 1.x version behave as before until someone turns a new setting on. Most upgrades need nothing beyond the steps below; the table says when one asks for more.

The steps

  1. Install the new version everywhere at once: your machine, CI (PIPEWRIGHT_PIP_SPEC) and the launcher image (the platform team).
  2. pipewright schemas: refresh the editor schemas.
  3. pipewright validate --env <env> and doctor: new judgement checks may print warnings; they refuse nothing that worked before.
  4. Re-release. A re-release gets a new release ID when the resolved configuration changed (a new default), so runs use the new settings.
  5. Read the version’s notes below and on What’s new, and turn on what you want.

What each version asks

VersionWhat to do
1.4.3Nothing in a use case that turns nothing on. Components you copied from the churn example: bring components/register.py up to date (a first version is registered under a fixed model ID, so two runs in parallel cannot make two models), components/tune.py if you tune on Kubeflow (trials travel as JSON text), and, for A/B layers, the ab_arm(...) call in components/score.py. Without them scoring stays correct and the launcher says when a duplicate model appears. Run pipewright ci init again for the corrected decisions and gate workflows and the new promote input. A/B testing, serving health, capture, online monitoring and registration through the launcher are off until the platform and the team turn them on; the platform updates the launcher image (and, in the starter, sets serving_policy if it wants serving rules)
1.4.2Nothing in a use case. The drain before undeploy is on (model.serving.drain_seconds, 240 seconds; 0 restores the old behaviour). deploy-model --undeploy now also removes the use case’s lookup service (--keep-lookup-service keeps it). Online stores, the lookup gateway, private endpoints and shared pools are off until the platform and the team turn them on; the platform updates the launcher image for them. validate may warn about personal data or export readers
1.4.1Nothing in a use case. Re-release for scoring runs to be pinned to the approved files (the inference pipeline then declares approved_files); KServe services are pinned at their next deploy-model. Turn on the watch, lock renewal, DATA_WRITE logs and audit retention when you want them; doctor lists what is off
1.4.0A default version with no model.approved event is now refused by deploy-model and promote: approve it, or set policies.integrity.mode: warn while you do. model approve refuses when your working copy’s gates or approvers differ from the release that trained the version: approve from the release’s commit. The identity that deploys or promotes needs roles/logging.viewer for the audit cross-check (a note until then). A BigQuery ML version promoted by files with bqml.transform is not served online in the destination
1.3.1Nothing
1.3.0Nothing. New judgement checks may warn. For the review job in pull requests, run pipewright ci init again. Coding agents need the mcp extra
1.2.0Some fixes live in components a use case owns, copied from the churn example when it was created: bring train.py, register.py, torchserve_handler.py, monitor.py, evaluate.py and prepare.py up to date from examples/churn/components/ (and retrain where the fix travels with the model). validate warns where a setting needs one of them
1.1.0Nothing: a 1.0 use case, manifest and release behave exactly as before

The full notes are in the CHANGELOG.

Why some fixes need your components

Your pipeline components are yours: Pipewright copies them from an example when you create a use case and never overwrites them. A fix inside an example component therefore reaches your use case only when you bring the file up to date. Pipewright says when that matters: validate warns when a setting you turned on needs a component fix you do not have yet.

Manifests and the CLI

A manifest written by a newer platform works with an older CLI: keys a version does not know are ignored with a note. A platform that needs a minimum version sets the manifest’s requires (for example ">=1.4.1"), and older CLIs refuse with the reason.