Skip to content

[Bug]: Gateway version changes after the gateway is activated #2524

Description

@Induwara04

Please select the area the issue is related to

AI Workspace

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)

Description

When a gateway is activated, the gateway version is unexpectedly modified. The version should remain unchanged unless it is explicitly updated.

Image

Expected Behavior

The gateway version should remain the same after the gateway is activated.

Actual Behavior

The gateway version changes unexpectedly after the gateway is activated.

Before Activation

{
  "createdAt": "2026-07-07T17:16:14.455674724Z",
  "createdBy": "admin",
  "displayName": "last",
  "endpoints": [
    "localhost:8443"
  ],
  "functionalityType": "ai",
  "id": "last",
  "isActive": false,
  "isCritical": false,
  "organizationId": "default",
  "updatedAt": "2026-07-07T17:16:51.400968159Z",
  "updatedBy": "admin",
  "version": "1.2"
}

After Activation

        {
            "createdAt": "2026-07-07T17:16:14.455674724Z",
            "createdBy": "admin",
            "displayName": "last",
            "endpoints": [
                "localhost:8443"
            ],
            "functionalityType": "ai",
            "id": "last",
            "isActive": false,
            "isCritical": false,
            "organizationId": "default",
            "updatedAt": "2026-07-07T18:13:22.018022526Z",
            "version": "1.2.0-M1"
        },

Note: The "Before Activation" and "After Activation" JSON payloads in this report are identical. If the issue is that the version actually changes, please replace the second payload with the response that shows the changed version.

Steps to Reproduce

  1. Create a gateway with a specific version (e.g., 1.2).
  2. Activate the gateway.
  3. Retrieve the gateway details using the Get Gateway API.
  4. show different gateway version.

Severity Level of the Issue

Severity/Critical (Core functionality is broken but there is a workaround. Need urgent attention)

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions