You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Target types filter does not work on the Events page in UI #4211
I traced the Events filter issue from the UI down to the backend route.
The Events page passes capitalized target type values (such as 'Instance') in include_target_types, while the backend Pydantic model expects lowercase enum literals ('project', 'instance', 'fleet', etc.), causing a validation failure on the query.
Normalizing the target types to lowercase before dispatching the API request and adding a schema test will fix the filtering. Happy to put together a PR for this if you'd like.
Activity
nightcityblade commentedon Aug 26, 2026
Hi, I'd like to work on this. I'll submit a PR shortly.
hhhhzzzj commentedon Aug 31, 2026
I traced the Events filter issue from the UI down to the backend route.
The Events page passes capitalized target type values (such as 'Instance') in include_target_types, while the backend Pydantic model expects lowercase enum literals ('project', 'instance', 'fleet', etc.), causing a validation failure on the query.
Normalizing the target types to lowercase before dispatching the API request and adding a schema test will fix the filtering. Happy to put together a PR for this if you'd like.
jvstme commentedon Aug 31, 2026
@hhhhzzzj, please do, thanks