feat(controlplane): add queue monitoring to admin dashboard#2623
Open
feat(controlplane): add queue monitoring to admin dashboard#2623
Conversation
Add an admin queue monitoring experience with embedded Asynqmon session routing, plus auth/session lifecycle fixes to keep refresh, restart, and logout behavior consistent.
Comment on lines
+121
to
+129
| http.SetCookie(w, &http.Cookie{ | ||
| Name: queueMonitoringCookieName, | ||
| Value: value, | ||
| Path: queueMonitoringCookiePath, | ||
| Expires: expiry, | ||
| MaxAge: int(queueMonitoringCookieTTL.Seconds()), | ||
| HttpOnly: true, | ||
| SameSite: http.SameSiteLaxMode, | ||
| }) |
Comment on lines
+145
to
+152
| http.SetCookie(w, &http.Cookie{ | ||
| Name: queueMonitoringCookieName, | ||
| Value: "", | ||
| Path: queueMonitoringCookiePath, | ||
| MaxAge: -1, | ||
| HttpOnly: true, | ||
| SameSite: http.SameSiteLaxMode, | ||
| }) |
Set queue monitoring session cookies as Secure for HTTPS requests (including TLS-terminating proxy headers) while keeping local HTTP development functional.
Avoid recovering admin route access from cached roles on membership fetch errors and set queue session Secure cookies based on TLS/deployment environment without trusting forwarded proto headers directly.
Use the authenticated dashboard access token for /queue/monitoring/session instead of portal-link fallbacks, and normalize tokens to avoid malformed Authorization headers causing 401s.
jirevwe
approved these changes
Apr 17, 2026
…link Rename the queue monitoring fullscreen action labels for clarity and remove the legacy direct Asynqmon button so the footer keeps only refresh and fullscreen controls.
Add the rebuilt UI artifact so the queue monitoring dashboard source changes are reflected in the embedded control plane assets.
This reverts commit 9edc5ec.
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.
Summary
Test plan
go build ./...golangci-lint run ./...cd web/ui/dashboard && npx ng build --configuration=developmentAdmin -> Queue monitoringauto-loads iframe andRefreshforces reload/queue/monitoring/requires API auth and/queue/monitoring/embed/*uses session cookie flow