Skip to content

[UI]: Inspect and Events tabs missing for runs with 0 or 2+ jobs #3549

@jvstme

Description

@jvstme

Steps to reproduce

Create runs with 0 and 2+ jobs, open their pages in the UI.

type: dev-environment
ide: vscode
schedule:
  cron: "0 0 29 feb *"
type: service
port: 80
image: nginx
replicas: 2

Actual behaviour

0 jobs

No Inspect tab, no Events tab.

Image

2+ jobs

No Inspect tab, events are shown in the Events section at the bottom of the page instead of a tab.

Image

Expected behaviour

For a complete and unified UX, these three tabs should be present regardless of the number of jobs:

  • Details (including run details and possibly other sections, such as Connect for dev environments and Jobs for multi-job runs)
  • Events
  • Inspect

Single-job additionally have the Logs and Metrics tabs (as is now).

dstack version

0.20.8

Server logs

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions