Skip to content

[v18] feat: Bot instance upgrade status dashboard#60584

Closed
nicholasmarais1158 wants to merge 3 commits intonicholasmarais1158/backport-60316-branch/v18from
nicholasmarais1158/backport-60019-branch/v18
Closed

[v18] feat: Bot instance upgrade status dashboard#60584
nicholasmarais1158 wants to merge 3 commits intonicholasmarais1158/backport-60316-branch/v18from
nicholasmarais1158/backport-60019-branch/v18

Conversation

@nicholasmarais1158
Copy link
Copy Markdown
Contributor

Backport #60019 and #59896 to branch/v18

Updates: #55926
Changelog: Added a dashboard to visualize bot instances by their upgrade status

nicholasmarais1158 and others added 3 commits October 24, 2025 16:00
* Add plumbing for new metrics endpoint

* Align version compatibility logic

* Fix mocked responses in stories

* Add new dashboard component

* Wire-in dashboard component

* Fix lint

* Explain dynamic `refetchInterval`

* docs: `onFilterSelected`

* Use typography components from design package

* Fix `onFilterSelected` naming inconsistencies

* A better nbsp

* Remove "control plane" terminology

* Refactor `GetBotInstanceMetricsResponse` type

* Handle out-of-date proxy

* Make instance list messaging filter aware

* Update chart title to "version compatibility"

* Keep "Last updated x minutes ago" label current

* Oops, forgot to update the test

* Remove unused `TitleText`

* Change dashboard title to "insights"

* Version compatibility design changes

* Fix tests after copy change, oops
* Add `autoupdate_bot_instance_report` to the editor role preset

* Add `/webapi/.../machine-id/bot-instance/metrics` endpoint

* Add missing error check in test

* Better error message when metrics aren't ready

* Allow users with `bot_instance:list` to read the `autoupdate_bot_instance_report`

* Move update timestamp onto upgrade statuses object

* Fix predicate language function names

* Remove erroneous comment

* Fix tests

* Add `refresh_after_seconds` to metrics response

* Return an empty `upgrade_statuses` if there is no report

* Replace `exact_version` helper with simple `==` operator

* Use `trace.Aggregate` to return both auth errors
@nicholasmarais1158
Copy link
Copy Markdown
Contributor Author

Superseded by #60761.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants