[PR #3158] [CLOSED] [GUI] web: the Monitor headlines the PCIe link's current generation (#2137) #4483

Closed
opened 2026-11-07 15:36:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3158
Author: @ctr-137
Created: 10/19/2026
Status: ❌ Closed

Base: main ← Head: web-pcie-current-generation-2137


📝 Commits (1)

  • 2ba3dd8 web: the Monitor headlines the PCIe link's current generation (#2137)

📊 Changes

1 file changed (+5 additions, -3 deletions)

View changed files

📝 serve/web/app.js (+5 -3)

📄 Description

What it changes

serve/web/app.js, the PCIe metric on the Monitor:

  • the headline is now gpu_pcie_gen — the link's current generation — falling back to gpu_pcie_gen_max when the current value is absent;
  • when the current generation is below the capability, the note says · below its GenN capability instead of · idle GenN.

The old code headlined the capability and called a below-capability link "idle", which on a link whose Gen3 training never ran reads "Gen3 · idle Gen1" — exactly the opposite of the diagnostic that matters. One sample cannot tell idle power saving from a permanent downgrade, so the new note stays neutral.

What it leaves alone

Only the rendering of the PCIe card; the telemetry fields and every other card are unchanged.

Validation

Environment: main @ 477ac13c, jsdom on Windows 11.

jsdom, loading the real serve/web/index.html + app.js with /metrics stubbed:

gpu_pcie_gen gpu_pcie_gen_max headline note
1 3 Gen1x16 to GPU 3191 MB/s · below its Gen3 capability
3 3 Gen3x16 to GPU 0,0 MB/s
1 – Gen1x16 to GPU 10 MB/s
– 3 Gen3x16 to GPU 10 MB/s
– – –

Reported by @MrKop-git in #2137, whose root-cause analysis and suggested rendering this follows.

🤖 Generated with Claude Code


🔄 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/3158 **Author:** [@ctr-137](https://github.com/ctr-137) **Created:** 10/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `web-pcie-current-generation-2137` --- ### 📝 Commits (1) - [`2ba3dd8`](https://github.com/Niko1221/Strata/commit/2ba3dd8d119a232de1157fc14d7aa528171afacd) web: the Monitor headlines the PCIe link's current generation (#2137) ### 📊 Changes **1 file changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `serve/web/app.js` (+5 -3) </details> ### 📄 Description ## What it changes `serve/web/app.js`, the PCIe metric on the Monitor: - the headline is now `gpu_pcie_gen` — the link's **current** generation — falling back to `gpu_pcie_gen_max` when the current value is absent; - when the current generation is below the capability, the note says `· below its GenN capability` instead of `· idle GenN`. The old code headlined the capability and called a below-capability link "idle", which on a link whose Gen3 training never ran reads "Gen3 · idle Gen1" — exactly the opposite of the diagnostic that matters. One sample cannot tell idle power saving from a permanent downgrade, so the new note stays neutral. ## What it leaves alone Only the rendering of the PCIe card; the telemetry fields and every other card are unchanged. ## Validation Environment: `main` @ `477ac13c`, jsdom on Windows 11. jsdom, loading the real `serve/web/index.html` + `app.js` with `/metrics` stubbed: | `gpu_pcie_gen` | `gpu_pcie_gen_max` | headline | note | |---|---|---|---| | 1 | 3 | `Gen1x16` | `to GPU 3191 MB/s · below its Gen3 capability` | | 3 | 3 | `Gen3x16` | `to GPU 0,0 MB/s` | | 1 | – | `Gen1x16` | `to GPU 10 MB/s` | | – | 3 | `Gen3x16` | `to GPU 10 MB/s` | | – | – | `–` | | Reported by @MrKop-git in #2137, whose root-cause analysis and suggested rendering this follows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:36:21 +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#4483
No description provided.