Skip to content

Deployment Status card shows "unknown" version for all deployments in Demo Mode — demo data missing image field #12707

@RajdeepKushwaha5

Description

@RajdeepKushwaha5

User Request

Type: bug
Target: Console Application
Submitted by: @RajdeepKushwaha5
Console Request ID: 26ed1f79-c451-42eb-b779-b5d8badf8440

Description

Bug Description

In Demo Mode, every deployment row in the Deployment Status card displays "unknown" as the version label (top-right of each row). This should show meaningful image tags like nginx:1.25, v2.5.1, etc.

Steps to Reproduce

  1. Enable Demo Mode (Settings → Demo Mode ON)
  2. Navigate to /deploy (or any dashboard with a Deployment Status card)
  3. Look at any deployment row — the version label on the right side shows "unknown"

Expected: Each deployment row shows its container image tag (e.g., nginx:1.25, v2.5.1, latest)

Actual: All rows show "unknown" as the version

Screenshot

[Attach screenshot of Deployment Status card showing "unknown" on every row]

Root Cause

The demo deployment fixtures in web/src/hooks/useCachedData/demoData.ts define deployments without an image field:

{ name: 'api-gateway', namespace: 'production', cluster: 'eks-prod-us-east-1', status: 'deploying', replicas: 3, readyReplicas: 1, progress: 33 },
// ↑ no `image` field

The DeploymentStatus card calls extractImageTag(deployment.image), and extractImageTag(undefined) is documented to return 'unknown'.

Impact
Every deployment in Demo Mode shows "unknown" version  making the demo data look broken and preventing users from understanding what the card displays with real data.

Environment
Demo Mode enabled
Observed at: /deploy  Deployment Status card

SHA: [`7da765f`](https://github.com/kubestellar/console/commit/7da765fc59fd46b5218a55bbbf4c7d541abb7212)

<details>
<summary>Browser Console Errors (3 captured)</summary>

- `[2026-05-08T19:06:53.136Z]` **warn** (console.warn): [Cache] SQLite Worker unavailable, using IndexedDB fallback: Error: OPFS initialization failed  falling back to IndexedDB
- `[2026-05-08T19:06:53.136Z]` **warn** (console.warn): [Cache] SQLite worker init: using IndexedDB fallback: Error: OPFS initialization failed  falling back to IndexedDB
- `[2026-05-08T19:08:11.266Z]` **warn** (console.warn): [UpdateProgress] Max reconnect attempts exceeded, giving up

</details>

<details>
<summary>Diagnostics</summary>

| Field | Value |
|-------|-------|
| Agent Version | demo |
| Clusters | 3 |
| Agent Connection | disconnected |
| Browser UA | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 |
| Browser Platform | Win32 |
| Browser Language | en-US |
| Screen Resolution | 1680x1050 |
| Window Size | 1536x782 |
| Page URL | http://localhost:8080/ |

</details>

---
*This issue was automatically created from the KubeStellar Console.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-fix-requestedhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.triage/neededNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions