Wikibase Suite (WBS)

Updating Wikibase Suite (WBS) Query Service

Back to the release guide

Use this guide when the release refreshes Query Service.

Automated update

The recommended workflow is:

wbs-dev update wdqs

The command:

  1. Discovers the latest newer query-service-parent-* tag.
  2. Confirms that the matching distribution and checksum exist in the Wikimedia package registry.
  3. Presents the current-to-proposed tag comparison and asks whether to include the update.
  4. Updates WDQS.version in docker-bake.hcl, drafts the changelog, asks the operator to confirm the image version, and leaves every change unstaged for review with git diff.

Prefer a version already exercised in Wikidata production. Ask the upstream maintainers when storage or RWStore.properties compatibility is unclear.

Manual update

The same update can be prepared manually:

  1. Read the current WDQS.version from docker-bake.hcl and inspect newer query-service-parent-* tags.
  2. Select a release and compare its tag with query-service-parent-<WDQS_VERSION>.
  3. Confirm that service-<version>-dist.tar.gz and its .md5 checksum are available from the Wikimedia package registry path used by the Dockerfile.
  4. Set WDQS.version to the selected version and review the resulting diff.

Review

Check for incompatible API, configuration, Java, Blazegraph, storage, or data reload requirements.

Choosing a version

The upstream Query Service version does not reliably indicate whether an update is breaking for this image, and major image releases have rarely been necessary. Review the upstream diff and keep the current image major unless there is a clear incompatibility in APIs, required configuration or environment variables, stored data, or operator actions. Apply the shared versioning policy to compatible changes.

Dependencies not updated automatically

wbs-dev update does not select the Java or Debian images in docker-bake.hcl. When reviewing them:

Continue with release preparation