Skip to content

Normalise Events type filters#10

Closed
d180 wants to merge 1 commit into
secureagentics:mainfrom
d180:events-type-filter-fix
Closed

Normalise Events type filters#10
d180 wants to merge 1 commit into
secureagentics:mainfrom
d180:events-type-filter-fix

Conversation

@d180
Copy link
Copy Markdown

@d180 d180 commented May 15, 2026

Summary

Normalise the Events type filter before applying the store query so llm and tool map to the stored EVENT_TYPE_LLM and EVENT_TYPE_TOOL values.

This fixes the dashboard behaviour where selecting LLM or Tool could hide matching events because the frontend filter values did not match the exact values stored in
events.event_type.

Closes #9

Test plan

  • docker run --rm -v "$PWD":/src -w /src/backend golang:1.25-bookworm go test ./internal/store

Checklist

  • CLA signed (see CLA.md)
  • Tests pass locally
  • Docs updated where needed
  • British English; no em-dashes; no marketing fluff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Events type filter values do not match stored event_type values

2 participants