mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3991] [CLOSED] [GUI] show a timed-out request as a badge #4866
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3991
Author: @thisisspartan
Created: 10/24/2026
Status: ❌ Closed
Base:
main← Head:gui/timeout-badge📝 Commits (1)
4152cdfweb: show a timed-out request as a badge📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
serve/web/app.js(+2 -1)📄 Description
Problem and result
A request that waits in the queue past the limit ends with
finish = "timeout"(serve/server.py, theQueueWaitExpiredbranch, stored in the request history). The Recent requests table has no badge for that value, so the Status cell shows the raw wordtimeout. After this change it shows the same calm warning badge as Stopped and Closed.Related discussion
none (focused fix; no scope agreement needed)
Approach
One entry in the badge map in
serve/web/app.js, using the class the other warning finishes use. No server change, no new field, no default changed.Validation
Passed:
node --check serve/web/app.json a branch built from upstream main7dd5cf18: exit 0.python3 -m unittest serve.test_monitoron that branch: OK.Failed: none observed.
Not run: rendering of the badge in a browser (no browser in the environment); a test that drives a real queue timeout.
Limits
Display only. The timeout behaviour itself is unchanged.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.