Skip to content

Trim "v" prefix for all instance versions in inventory cache#63790

Merged
rudream merged 1 commit intomasterfrom
yassine/normalize-instance-version-prefix
Feb 13, 2026
Merged

Trim "v" prefix for all instance versions in inventory cache#63790
rudream merged 1 commit intomasterfrom
yassine/normalize-instance-version-prefix

Conversation

@rudream
Copy link
Copy Markdown
Contributor

@rudream rudream commented Feb 13, 2026

Purpose

There is an inconsistency in how we store versions for resources. In some cases, they will have a "v" prefix (eg. "v18.0.0"), and in other cases not (such as for bot instances). The v prefix is added by this function, however there are paths that never invoke it and thus may result in storing a resource with no version prefix in its version field.

This inconsistency means that the Instance Inventory UI version filtering may not work properly, if you have some instances with prefixes and others without, you'd have to run something like version == "18.0.0" || version == "v18.0.0" in order to get all of them in a single query.

This PR normalizes all instance versions in the inventory cache to have no prefix in order to prevent this and make filtering consistent.

@rudream rudream added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v18 labels Feb 13, 2026
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from Joerger February 13, 2026 09:29
@rudream rudream enabled auto-merge February 13, 2026 09:29
@rudream rudream added this pull request to the merge queue Feb 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 13, 2026
@rudream rudream added this pull request to the merge queue Feb 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 13, 2026
@rudream rudream added this pull request to the merge queue Feb 13, 2026
Merged via the queue into master with commit 38fd3fc Feb 13, 2026
48 of 50 checks passed
@rudream rudream deleted the yassine/normalize-instance-version-prefix branch February 13, 2026 14:32
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@rudream See the table below for backport results.

Branch Result
branch/v18 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v18 no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants