Skip to content

[Bug]: Target types filter does not work on the Events page in UI #4211

Description

@jvstme

Steps to reproduce

  1. Open the Events page.
  2. Set the Target types filter to any allowed value.

Actual behaviour

The event list is always empty.

The API returns error 429:

{"detail":[{"type":"enum","loc":["body","include_target_types",0],"msg":"Input should be 'project', 'user', 'fleet', 'instance', 'run', 'job', 'volume', 'gateway' or 'secret'","input":"Instance","ctx":{"expected":"'project', 'user', 'fleet', 'instance', 'run', 'job', 'volume', 'gateway' or 'secret'"}}]}

Expected behaviour

The event list shows all events that have at least one target of the specified type.

dstack version

0.21.2

Server logs

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingui

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions