[PR #3991] [CLOSED] [GUI] show a timed-out request as a badge #4866

Closed
opened 2026-11-07 16:30:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 4152cdf web: 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, the QueueWaitExpired branch, stored in the request history). The Recent requests table has no badge for that value, so the Status cell shows the raw word timeout. After this change it shows the same calm warning badge as Stopped and Closed.

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.js on a branch built from upstream main 7dd5cf18: exit 0.
  • python3 -m unittest serve.test_monitor on 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.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3991 **Author:** [@thisisspartan](https://github.com/thisisspartan) **Created:** 10/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `gui/timeout-badge` --- ### 📝 Commits (1) - [`4152cdf`](https://github.com/Niko1221/Strata/commit/4152cdf9890178ae7cec5a2ed0aec5fa9c6dd285) web: show a timed-out request as a badge ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `serve/web/app.js` (+2 -1) </details> ### 📄 Description ## Problem and result A request that waits in the queue past the limit ends with `finish = "timeout"` (serve/server.py, the `QueueWaitExpired` branch, stored in the request history). The Recent requests table has no badge for that value, so the Status cell shows the raw word `timeout`. 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.js` on a branch built from upstream main `7dd5cf18`: exit 0. - `python3 -m unittest serve.test_monitor` on 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:30:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4866
No description provided.