che icon indicating copy to clipboard operation
che copied to clipboard

Tag the UDI with the release version and stop shipping moving UDI references

Open oskutka opened this issue 2 weeks ago • 1 comments

Is your task related to a problem? Please describe

che-operator 7.123.0 and 7.124.0 pin quay.io/devfile/universal-developer-image@sha256:41b2af7b… (CSV) and that digest no longer resolves. The editor definitions reference UDI as :latest, and the release pins whatever :latest is that day. UDI was rebuilt on 2026-10-22 at the same commit, which moved latest, ubi9-latest and ubi9-026c2d7 off that digest and left it with no tags. The UDI digests pinned by 7.118–7.122 still resolve, and each still has a ubi9-<commit> tag. With the image puller enabled, the pinned digest is pre-pulled and its DaemonSet container stays in ImagePullBackOff.

Separately, CHE_DEFAULT_SPEC_DEVENVIRONMENTS_DEFAULTCOMPONENTS, the default container for projects without a devfile, ships as universal-developer-image:ubi9-latest. A release therefore runs whatever UDI build is current, not the one it was released with.

Describe the solution you'd like

In build/scripts/release/editors-definitions.sh, extend tagEditorDefinitionImages to tag UDI with the release version, as it already does for che-incubator :next/:latest images. The release then references, and keeps tagged, universal-developer-image:<version>.

On release, set CHE_DEFAULT_SPEC_DEVENVIRONMENTS_DEFAULTCOMPONENTS in the stable CSV to the same versioned UDI tag.

Acceptance criteria

The released CSV references UDI only by a release-specific tag (or a digest of it). It contains no :latest or :ubi9-latest.

The pinned UDI digest stays tagged after later UDI rebuilds.

The release automation makes the change, with no manual steps.

Describe alternatives you've considered

No response

Additional context

No response

oskutka avatar Nov 20 '26 09:11 oskutka

Hi @oskutka, I’d like to work on this. Before opening a PR, could you clarify two quick details on the release pipeline boundary?

  1. Quay push permissions: Does the release bot running build/scripts/release/editors-definitions.sh already have push credentials to quay.io/devfile/universal-developer-image (similar to che-incubator), or will registry credentials/permissions need to be updated separately?
  2. CSV update location: Should updating CHE_DEFAULT_SPEC_DEVENVIRONMENTS_DEFAULTCOMPONENTS to universal-developer-image:<version> happen in the release scripts within this repo (eclipse-che/che) or in eclipse-che/che-operator's release workflow when generating the stable CSV?

Once confirmed, I can get a PR up for review.

Abhishekpandey123-git avatar Nov 21 '26 16:11 Abhishekpandey123-git