Merged
Conversation
Co-authored-by: cschleiden <2201819+cschleiden@users.noreply.github.com>
Co-authored-by: cschleiden <2201819+cschleiden@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add display for workflow and activity queues in diag UI
Add queue display to diagnostic UI
Oct 24, 2025
Owner
|
@copilot - On the home page, add a new heading for the queues. Move the Instances heading down
|
…ng down Co-authored-by: cschleiden <2201819+cschleiden@users.noreply.github.com>
Contributor
Author
Updated in commit 29b4fa1:
|
Owner
|
@copilot add a better screenshot of the instance detail |
Contributor
Author
Updated screenshot of the instance detail page showing:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Overview
This PR adds comprehensive queue information display to the diagnostic UI, making it easier to monitor and debug workflow and activity queues.
Changes
Backend API
Added a new
/api/statsendpoint indiag/diag.gothat exposes backend queue statistics:PendingWorkflowTasks- map of workflow queue names to pending task countsPendingActivityTasks- map of activity queue names to pending task countsGetStats()method already implemented in all backends (Redis, MySQL, SQLite)Frontend UI Enhancements
Home Page
Instance Detail Page
ActivityScheduledandSubWorkflowScheduledeventsScreenshots
Home page with Queues heading and queue statistics:
Instance detail page with queue information:
Implementation Notes
Statsinterface inclient.ts)Fixes #322
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.