Skip to content

agent simulation: filter the run list and counts by mode - #1762

Open
u9g wants to merge 3 commits into
mainfrom
jason/sim-list-mode-filter
Open

agent simulation: filter the run list and counts by mode#1762
u9g wants to merge 3 commits into
mainfrom
jason/sim-list-mode-filter

Conversation

@u9g

@u9g u9g commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Adds optional SimulationMode mode to SimulationRun.List.Request (field 7) and SimulationRun.Counts.Request (field 6).

SimulationRun already carries mode, but the list and counts requests could only narrow by status, time window and agent name, so the cloud dashboard's runs list can show a Mode column (livekit/web#5954) but cannot filter on it. Both requests take the filter so the histogram above the list keeps counting exactly the rows the list shows, the same way status and agent_name already do.

Semantics for the server: unset means every mode. SimulationRun.mode documents unspecified as TEXT, so a SIMULATION_MODE_TEXT filter must match runs stored with either UNSPECIFIED or TEXT.

No wrapper change is needed in backend-common: cloud_agent_simulation_run.proto passes these through as inner_request. Follow-ups after this lands are the backend query and the dashboard filter control.

u9g and others added 2 commits September 1, 2026 16:13
`SimulationRun` carries `mode`, but `List.Request` and `Counts.Request` could
only narrow by status, window and agent name, so the dashboard's runs list
had no way to show only text or only voice runs. Both requests take the same
optional `mode`, applied the same way, so the histogram above the list keeps
counting the rows the list shows.
@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c9c311e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

2 participants